-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFC iiab-upgrade #134
base: master
Are you sure you want to change the base?
RFC iiab-upgrade #134
Conversation
Elements of this routine have been heavily ripped off from rpi-update for the self updater and raspi-config for the whiptail boxes. |
cc91a9d
to
931a68a
Compare
2b59d2a
to
8c3ec41
Compare
cd /opt/iiab/iiab-factory |
|
719f8e8
to
94a004f
Compare
0072a78
to
183bb2a
Compare
* each major role change can be recorded in upgrade_roles with a bump in iiab_revision to denote the addition * test source for iiab/iiab-factory#134 * keep iiab_revision with role name * gitea * introduce $INSTALLED_RELEASE $INSTALLED_REVISION into ansible * set informational 'do_facts' * 7.1.5-premap tag as starting point for iiab_revision 0 * no notes at all - use underscore for role name to match what is in iiab_state.yml * use installed_revision trigger do_upgrade do_reinstall will denote a major upgrade path in the future
65e6568
to
4b6c457
Compare
Avoids a confict over /etc/ansible/ansible.cfg Unpacking ansible-base (2.10.1-1ppa~bionic) ... dpkg: error processing archive /var/cache/apt/archives/ansible-base_2.10.1-1ppa~bionic_all.deb (--unpack): trying to overwrite '/etc/ansible/ansible.cfg', which is also in package ansible 2.9.13-1ppa~bionic dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ansible-base_2.10.1-1ppa~bionic_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
For testing in isolation from the more evasive jv-pi-gen branch