- Go to https://access.redhat.com/terms-based-registry/ and create an account to login to registry.redhat.io if you don't have one yet
- Login to registry.redhat.io with above token
python main.py -i quay.io/redhat-user-workloads/rh-mtv-1-tenant/forklift-fbc-prod-v418:on-pr-76657e65fa4e6ff445965976200aed1ad7adbb7d -v 2.9.0
The tooling then:
- parses IIB
- finds used bundle
- parses found bundle
- finds used components
- parses found components
- finds build commits in labels
revision
or as a backupvcs-ref
NOTE:
vcs-ref
label is not under our control so there is no guarantee of correct behavior across different build systems.For Konflux however, even these should be set to reflect git commit from which the components were built.
This script is intended to help and automate tasks related to branching of MTV operator. It's "modular" so you can choose what steps you want to execute and what to skip.
NOTE: Before running, please look at the script and change the needed values (your fork urls)
- creates release-X.Y branches for forklift, UI plugin and must gather
- modifies neccessary files with correct values
- pushes the changes into user's fork of the repository
- creates neccessary files for konflux with correct values
- pushes the changes to konflux releng repo
- forks of the repositories you want to branch
Run scripts/branching.sh
and follow the instructions...
- automatic_iib
- authenticate
- latest_stage_bundle
- verify_versions
- create_iib_pr
- vefify_versions
- wait_for_build
- extract_diff
- extract_info (for 1st iib)
- iib
- replace_for_quay
- bundle
- replace_for_quay
- component
- extract_info (for 2nd iib)
- commit_history
- extract_info (for 1st iib)
- iib_notify
- latest IIB grabber
- enable concurrency for different MTV versions and for multiple FBC catalogs
- dockerfile with secrets