coreos/cincinnati guide update
Since https://pagure.io/fedora-infra/ansible/c/3ba43f2bd4461b56419fdc89f2e082a7933c5636 the two different commits pins (build and deploy) are not necessary. Update the documentation to reflect that.
This commit is contained in:
parent
a59617d7bf
commit
a833c0f052
1 changed files with 5 additions and 18 deletions
|
@ -43,21 +43,21 @@ Policy-engine::
|
|||
|
||||
== Upgrades
|
||||
|
||||
=== Building a new version
|
||||
=== Build and deploy a new version
|
||||
|
||||
FCOS Cincinnati is built as container image directly from source,
|
||||
referencing a pinned git commit.
|
||||
|
||||
In order to build a new version, you will first have to find the
|
||||
In order to build and deploy a new version, you will first have to find the
|
||||
relevant commit (i.e. the latest on the `main` branch) at
|
||||
https://github.com/coreos/fedora-coreos-cincinnati .
|
||||
|
||||
Once you have identified the target commit, these are the steps to build
|
||||
a new container image:
|
||||
|
||||
* update the `fcos_cincinnati_build_git_sha` playbook variable in
|
||||
* update the `fcos_cincinnati_git_sha` playbook variable in
|
||||
`roles/openshift-apps/coreos-cincinnati/vars/staging.yml`
|
||||
* update the `fcos_cincinnati_build_git_sha` playbook variable in
|
||||
* update the `fcos_cincinnati_git_sha` playbook variable in
|
||||
`roles/openshift-apps/coreos-cincinnati/vars/production.yml`
|
||||
* commit and push the update to the `fedora-infra/ansible` repository
|
||||
* SSH to `batcave01.iad2.fedoraproject.org`
|
||||
|
@ -65,20 +65,7 @@ a new container image:
|
|||
your FAS password and your second-factor OTP
|
||||
* schedule a new build by running
|
||||
`sudo rbac-playbook -t build openshift-apps/coreos-cincinnati.yml`
|
||||
|
||||
=== Deploying a new version
|
||||
|
||||
Once the target commit has been built into a container image, these are
|
||||
the steps to deploy the new image:
|
||||
|
||||
* update the `fcos_cincinnati_deploy_git_sha` playbook variable in
|
||||
`roles/openshift-apps/coreos-cincinnati/vars/staging.yml`
|
||||
* update the `fcos_cincinnati_deploy_git_sha` playbook variable in
|
||||
`roles/openshift-apps/coreos-cincinnati/vars/production.yml`
|
||||
* commit and push the update to the `fedora-infra/ansible` repository
|
||||
* SSH to `batcave01.iad2.fedoraproject.org`
|
||||
* run `sudo rbac-playbook openshift-apps/coreos-cincinnati.yml` using
|
||||
your FAS password and your second-factor OTP
|
||||
* Wait for the coreos-cincinnati-img:latest tag to be updated
|
||||
|
||||
== Things that could go wrong
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue