Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save miabbott/d70cfe566862b2e53d03050aa1d4df3c to your computer and use it in GitHub Desktop.

Select an option

Save miabbott/d70cfe566862b2e53d03050aa1d4df3c to your computer and use it in GitHub Desktop.
Testing CAHC
Setting up:
1. ostree remote add --set=gpg-verify=false centos-atomic-continuous https://ci.centos.org/artifacts/sig-atomic/rdgo/centos-continuous/ostree/repo/
2. ostree pull centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
3. ostree commit -b my-test-branch --tree=ref=centos-atomic-continuous:centos-atomic-host/7/x86_64/devel/continuous
(if your ostree has `refs --create`, then this can be shortened to: ostree refs centos-atomic-host/7/x86_64/devel/continuous --create=my-test-branch)
4. ostree admin deploy my-test-branch
5. reboot
Synthesizing an update:
1. ostree commit -b my-test-branch --tree=ref=my-test-branch
2. rpm-ostree upgrade
Updating from: my-test-branch
Copying /etc changes: 34 modified, 8 removed, 95918 added
Transaction complete; bootconfig swap: yes deployment count change: 0
Freed objects: 118 bytes
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment