Skip to content

Instantly share code, notes, and snippets.

@shiywang
Last active July 15, 2020 13:31
Show Gist options
  • Save shiywang/a51dcb3191b5f84e459c1a0b7fc949fd to your computer and use it in GitHub Desktop.
Save shiywang/a51dcb3191b5f84e459c1a0b7fc949fd to your computer and use it in GitHub Desktop.
0. remove pre attached builds:
elliott --group openshift-4.1 find-builds --kind image --use-default-advisory image --clean
elliott --group openshift-4.1 find-builds --kind image --use-default-advisory rpm --clean
1. Adding CVE RHSA:
bugzilla login
look for CVE
elliott --group openshift-4.3 find-cve-trackers --status MODIFIED
elliott -g openshift-4.3 create -k image -t RHSA --impetus cve --date 2020-Mar-23 --assigned-to [email protected] --manager [email protected] --package-owner [email protected] --bug 1793370 -y
=================================================================================================
2. run https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fsigned-compose/
3. RPMdiff waiver, once RPM advisory is moved to QE going to the next step
elliott change-state --state QE --advisory 123456
4. https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fcustom/build?delay=0sec
Once custom build job done, it generates new nightly, then we should prompt user to pick up an nightly.
5. attach images/extras/olm
open https://quay.io/repository/openshift-release-dev/ocp-v4.0-art-dev
docker login copy from ^^^^
open https://api.ci.openshift.org/console/project/ocp/browse/images/4.0-art-latest
oc login copy from ^^^^
oc registry login
elliott -g openshift-4.3 find-builds --kind image --between quay.io/openshift-release-dev/ocp-release:4.3.5
-x86_64 registry.svc.ci.openshift.org/ocp/release:4.3.0-0.nightly-2020-03-16-193416 --use-default-advisory image
elliott --group openshift-4.1 find-builds --kind image --use-default-advisory extras
elliott change-state --state QE --advisory 123456
=================================================================================================
6. app registery job to generate OLM images
https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fappregistry/3935/console
=================================================================================================
7. elliott verify-payload registry.svc.ci.openshift.org/ocp/release:4.2.0-0.nightly-2020-03-16-141929 52538
=================================================================================================
8. https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fpre-release/2089/console
as long as https://quay.io/repository/openshift-release-dev/ocp-release-nightly?tab=tags latest IMAGE exist
=================================================================================================
Q&A
=================================================================================================
1. a few images are missing
check on https://brewweb.engineering.redhat.com/brew/ first to see the build exist or not.
then use this command to check last shipped version's build to see if it's the same.
brew buildinfo $(brew -q latest-build rhaos-4.5-rhel-8-candidate ironic-hardware-inventory-recorder-image-container | awk '{print $1}') | grep -e BUILD: -e Tags:
if we need to rebuild, trigger https://saml.buildvm.openshift.eng.bos.redhat.com:8888/job/aos-cd-builds/job/build%252Fcustom/ to rebuild.
=================================================================================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment