Skip to content

Commit

Permalink
[10.0.x] NO-ISSUE: Kogito Images release job fixes (apache#1244)
Browse files Browse the repository at this point in the history
* Kogito Images release job fixes

* Kogito Images release job fixes
  • Loading branch information
rodrigonull committed Aug 30, 2024
1 parent 68549db commit 357c7e6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/jenkins/Jenkinsfile.release.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ void addImageBuildParams(List buildParams, String tag, boolean isFinalImage = fa
addBooleanParam(buildParams, constructKey(paramsPrefix, 'USE_OPENSHIFT_REGISTRY'), false)
addStringParam(buildParams, constructKey(paramsPrefix, 'REGISTRY_USER_CREDENTIALS_ID'), '')
addStringParam(buildParams, constructKey(paramsPrefix, 'REGISTRY_TOKEN_CREDENTIALS_ID'), '')
addStringParam(buildParams, constructKey(paramsPrefix, 'REGISTRY'), '')
addStringParam(buildParams, constructKey(paramsPrefix, 'NAMESPACE'), '')
addStringParam(buildParams, constructKey(paramsPrefix, 'REGISTRY'), env.IMAGE_REGISTRY)
addStringParam(buildParams, constructKey(paramsPrefix, 'NAMESPACE'), env.IMAGE_NAMESPACE)
addStringParam(buildParams, constructKey(paramsPrefix, 'TAG'), tag)
}

Expand Down
3 changes: 3 additions & 0 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,9 @@ void setupReleaseCloudJob() {
jobParams.env.putAll([
JENKINS_EMAIL_CREDS_ID: "${JENKINS_EMAIL_CREDS_ID}",

IMAGE_REGISTRY: "${CLOUD_IMAGE_REGISTRY}",
IMAGE_NAMESPACE: "${CLOUD_IMAGE_NAMESPACE}",

GIT_BRANCH_NAME: "${GIT_BRANCH}",
GIT_AUTHOR: "${GIT_AUTHOR_NAME}",
])
Expand Down
1 change: 1 addition & 0 deletions apache-nodes/Dockerfile.kogito-ci-build
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ libasound2 \
# kogito-images (BEGIN)
jq \
skopeo \
subversion \
# kogito-images (END)
&& apt clean

Expand Down

0 comments on commit 357c7e6

Please sign in to comment.