Skip to content

Commit

Permalink
Kogito Images release job fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigonull committed Aug 30, 2024
1 parent 4ab513e commit 9b8be37
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 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 @@ -305,6 +305,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
3 changes: 2 additions & 1 deletion apache-nodes/Dockerfile.kogito-ci-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cruizba/ubuntu-dind:jammy-26.1.4
FROM cruizba/ubuntu-dind:jammy-26.1.4:q

SHELL ["/bin/bash", "-c"]

Expand Down Expand Up @@ -55,6 +55,7 @@ libasound2 \
# kogito-images (BEGIN)
jq \
skopeo \
subversion \
# kogito-images (END)
&& apt clean

Expand Down

0 comments on commit 9b8be37

Please sign in to comment.