This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/main by this push:
new c0bd0f02 kie-issues#710: configure dind image (#1127)
c0bd0f02 is described below
commit c0bd0f02a284dbe03fac8ad07b5cb9ef3d9a5957
Author: Jan Stastny <[email protected]>
AuthorDate: Tue Nov 28 09:53:14 2023 +0100
kie-issues#710: configure dind image (#1127)
Co-authored-by: jstastny-cz <[email protected]>
---
.ci/jenkins/config/branch.yaml | 4 ++--
dsl/scripts/pr_check.groovy | 7 ++-----
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index 260c2c27..6ed168c9 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -109,8 +109,8 @@ jenkins:
# At some point, this image will need to be changed when a release
branch is created
# but we need to make sure the image exists first ... simple tag
before setting up the branch ?
# See https://github.com/kiegroup/kie-issues/issues/551
- image:
quay.io/kiegroup/kogito-ci-build:19a0b303bc64f473a01f5fa5bacde822f10b4946 #
last main-latest based on ubi
- args: -v /var/run/docker.sock:/var/run/docker.sock --network host
--group-add docker --group-add input --group-add render
+ image: quay.io/kiegroup/kogito-ci-build:main-latest
+ args: --privileged --group-add docker
default_tools:
jdk: jdk_11_latest
maven: maven_3.8.6
diff --git a/dsl/scripts/pr_check.groovy b/dsl/scripts/pr_check.groovy
index aecd20a2..59b5ec6b 100644
--- a/dsl/scripts/pr_check.groovy
+++ b/dsl/scripts/pr_check.groovy
@@ -22,16 +22,13 @@ import org.kie.jenkins.MavenCommand
// TODO Docker image and args could be passed as env or anything ?
dockerGroups = [
'docker',
- 'input',
- 'render',
]
dockerArgs = [
- '-v /var/run/docker.sock:/var/run/docker.sock',
- '--network host',
+ '--privileged',
] + dockerGroups.collect { group -> "--group-add ${group}" }
void launch() {
- String builderImage =
'quay.io/kiegroup/kogito-ci-build:19a0b303bc64f473a01f5fa5bacde822f10b4946' //
last main-latest based on ubi
+ String builderImage = 'quay.io/kiegroup/kogito-ci-build:main-latest'
sh "docker rmi -f ${builderImage} || true" // Remove before launching
try {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]