-
Sub-task
-
Resolution: Done
-
Critical
-
2.8.0.GA
-
None
-
False
-
False
-
Undefined
-
Every version of ./get-sources-jenkins.sh needs to support the nobuild (-n) and force-pull (-p) flags, in order to be able to fetch sources but NOT trigger a build, so we can have that happen in a downstream job process:
./get-sources-jenkins.sh -n -p ''' + JOB_BRANCH + '''
vs.
job: 'get-sources-rhpkg-container-build_' + JOB_BRANCH,
Flags are:
'-n'|'--nobuild') doRhpkgContainerBuild=0; shift 0;; '-p'|'--force-pull') forcePull=1; shift 0;;
For example, in https://main-jenkins-csb-crwqe.apps.ocp4.prod.psi.redhat.com/job/CRW_CI/job/crw-sync-to-downstream_2.x/258/ (jwtproxy build)
we see that there's a brew build that occurs during the sync to downstream which fails before it can be run as part of the get-sources-rhpkg-container-build_* job.
Scripts with nobuild flag:
codeready-workspaces-configbump/get-sources-jenkins.sh
codeready-workspaces-devfileregistry/get-sources-jenkins.sh
codeready-workspaces-imagepuller/get-sources-jenkins.sh
codeready-workspaces-operator/get-sources-jenkins.sh
codeready-workspaces-plugin-intellij/get-sources-jenkins.sh
codeready-workspaces-plugin-java11/get-sources-jenkins.sh
codeready-workspaces-plugin-java11-openj9/get-sources-jenkins.sh
codeready-workspaces-plugin-java8/get-sources-jenkins.sh
codeready-workspaces-plugin-java8-openj9/get-sources-jenkins.sh
codeready-workspaces-plugin-kubernetes/get-sources-jenkins.sh
codeready-workspaces-plugin-openshift/get-sources-jenkins.sh
codeready-workspaces-pluginregistry/get-sources-jenkins.sh
codeready-workspaces-stacks-cpp/get-sources-jenkins.sh
codeready-workspaces-stacks-dotnet/get-sources-jenkins.sh
codeready-workspaces-stacks-golang/get-sources-jenkins.sh
codeready-workspaces-stacks-php/get-sources-jenkins.sh
Missing the nobuild flag:
codeready-workspaces-jwtproxy
codeready-workspaces-operator-metadata
Missing the force-pull flag:
codeready-workspaces-jwtproxy
codeready-workspaces-operator-metadata
codeready-workspaces-stacks-cpp
codeready-workspaces-stacks-dotnet