crc-org / snc

Single Node Cluster creation scripts for OpenShift 4.x as used by CodeReady Containers
https://crc.dev
Apache License 2.0
103 stars 50 forks source link

[4.18] Missing internal repos for patched images #979

Closed adrianriobo closed 1 month ago

adrianriobo commented 1 month ago

Trying to build the patched images for 4.18.0-ec.1 we are hitting an issue due to missing repos intenally:

....
+ version=v4.18.0
++ ./openshift-clients/linux/oc image info -a updated_pullsecret.json quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:648dee2f998d01a91a471c4bf41d29ecdc3cb15b72415d4eb8f08c399510f63f -ojson
++ jq -r .config.config.Labels.release
+ release=202409121712.p0.g49d13e8.assembly.stream.el9
+ brew buildinfo crc-cluster-kube-apiserver-operator-container-v4.18.0-202409121712.p0.g49d13e8.assembly.stream.el9
No such build: crc-cluster-kube-apiserver-operator-container-v4.18.0-202409121712.p0.g49d13e8.assembly.stream.el9

+ rhpkg clone containers/crc-cluster-kube-apiserver-operator
Cloning into 'crc-cluster-kube-apiserver-operator'...
Warning: The remote address 'https://gitlab.com/redhat/rhel/containers/crc-cluster-kube-apiserver-operator' it not available. Skipping.
Warning: The remote address 'https://gitlab.com/redhat/centos-stream/containers/crc-cluster-kube-apiserver-operator' it not available. Skipping.
+ pushd crc-cluster-kube-apiserver-operator
/var/lib/jenkins/workspace/eng-crc-brew-image/crc-cluster-kube-apiserver-operator /var/lib/jenkins/workspace/eng-crc-brew-image
+ git remote add upstream https://pkgs.devel.redhat.com/git/containers/ose-cluster-kube-apiserver-operator
+ git fetch upstream rhaos-4.18-rhel-9 --no-tags
From https://pkgs.devel.redhat.com/git/containers/ose-cluster-kube-apiserver-operator
 * branch              rhaos-4.18-rhel-9 -> FETCH_HEAD
 * [new branch]        rhaos-4.18-rhel-9 -> upstream/rhaos-4.18-rhel-9
+ git checkout --track origin/rhaos-4.18-rhel-9
fatal: 'origin/rhaos-4.18-rhel-9' is not a commit and a branch 'rhaos-4.18-rhel-9' cannot be created from it
Build step 'Execute shell' marked build as failure
Finished: FAILURE
adrianriobo commented 1 month ago

This has been tested with 4.18.0-ec.2 and now repos are internally available.

https://crcqe-jenkins-csb-crc.apps.ocp-c1.prod.psi.redhat.com/job/eng-crc-brew-image/209/console