This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch kie-issues_755
in repository 
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git

commit f8a6ce0ba9e2df7645e5119d0d2bce4114e0e448
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Wed Jan 10 10:29:49 2024 -0300

    Add ansible to the kogito-ci-image
---
 .ci/jenkins/config/branch.yaml          | 61 +++++++++++++--------------------
 .ci/jenkins/config/main.yaml            |  4 +--
 apache-nodes/Dockerfile.kogito-ci-build | 11 ++++++
 3 files changed, 37 insertions(+), 39 deletions(-)

diff --git a/.ci/jenkins/config/branch.yaml b/.ci/jenkins/config/branch.yaml
index 2330dd57..0a10c138 100644
--- a/.ci/jenkins/config/branch.yaml
+++ b/.ci/jenkins/config/branch.yaml
@@ -1,51 +1,38 @@
 generation_config:
   missing_environment: ignore
-environments:
-  native:
-    env_vars:
-      NATIVE: true
-      BUILD_MVN_OPTS_CURRENT: -Dnative -Dquarkus.native.container-build=true
-      ADDITIONAL_TIMEOUT: 720
-    ids:
-    - native
-  sonarcloud:
-    auto_generation: false
-    env_vars:
-      ENABLE_SONARCLOUD: true
-    ids:
-    - sonarcloud
-    - coverage
-  ecosystem:
-    auto_generation: false
-    ids:
-    - ecosystem
+
+job_types:
+  setup-branch:
+    disabled: true
+  nightly:
+    disabled: false
+  other:
+    disabled: true
+  pullrequest:
+    disabled: true
+  release:
+    disabled: true
+  tools:
+    disabled: true
+
+disable:
+  triggers: true
+  deploy: true
+  pr_check: true
 repositories:
 - name: incubator-kie-kogito-pipelines
   job_display_name: kogito-pipelines
-- name: incubator-kie-kogito-runtimes
-  job_display_name: kogito-runtimes
-- name: incubator-kie-kogito-apps
-  job_display_name: kogito-apps
-- name: incubator-kie-kogito-examples
-  job_display_name: kogito-examples
-- name: incubator-kie-kogito-images
-  job_display_name: kogito-images
 - name: incubator-kie-kogito-operator
   job_display_name: kogito-operator
 - name: incubator-kie-kogito-serverless-operator
   job_display_name: kogito-serverless-operator
-- name: incubator-kie-kogito-docs
-  job_display_name: kogito-docs
-- name: incubator-kie-docs
-  job_display_name: kie-docs
-  branch: main-kogito
 git:
   author:
     name: apache
     # Taken from https://ci-builds.apache.org/credentials/
     # Need to be verified
     credentials_id: 399061d0-5ab5-4142-a186-a52081fef742
-    token_credentials_id: kie-ci3-token
+    token_credentials_id: ci-builds
     push:
       credentials_id: 84811880-2025-45b6-a44c-2f33bef30ad2 # CI Push Access 
for KIE
       token_credentials_id: 41128c14-bb63-4708-9074-d20a318ee630 # GitHub 
Personal Access Token for KIE
@@ -94,10 +81,10 @@ 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:main-latest
+        image: quay.io/kiegroup/kogito-ci-build:kie-issues_755-latest
         args: --privileged --group-add docker
   default_tools:
-    jdk: jdk_17_latest
-    maven: maven_3.9.3
+    jdk: jdk_11_latest
+    maven: maven_3.8.6
     sonar_jdk: jdk_17_latest
-  jobs_definition_file: .ci/jenkins/dsl/jobs.groovy
+  jobs_definition_file: .ci/jenkins/dsl/jobs.groovy
\ No newline at end of file
diff --git a/.ci/jenkins/config/main.yaml b/.ci/jenkins/config/main.yaml
index c4e240ec..71f428d0 100644
--- a/.ci/jenkins/config/main.yaml
+++ b/.ci/jenkins/config/main.yaml
@@ -15,7 +15,7 @@ ecosystem:
     - incubator-kie-docs.*
 git:
   branches:
-  - name: main
+  - name: kie-issues_755
     main_branch: true
 seed:
   config_file:
@@ -26,7 +26,7 @@ seed:
         credentials_id: ASF_Cloudbees_Jenkins_ci-builds
         push:
           credentials_id: 84811880-2025-45b6-a44c-2f33bef30ad2
-      branch: main
+      branch: kie-issues_755
     path: .ci/jenkins/config/branch.yaml
   jenkinsfile: dsl/seed/jenkinsfiles/Jenkinsfile.seed.branch
 jenkins:
diff --git a/apache-nodes/Dockerfile.kogito-ci-build 
b/apache-nodes/Dockerfile.kogito-ci-build
index ce45316d..6c4f59c6 100644
--- a/apache-nodes/Dockerfile.kogito-ci-build
+++ b/apache-nodes/Dockerfile.kogito-ci-build
@@ -10,6 +10,9 @@ ARG PYTHON_MAJOR_MINOR_VERSION="3.11"
 # set locale to C.UTF-8
 ENV LANG='C.UTF-8'
 
+# set TZ to America/New_York
+ENV TZ='America/New_York'
+
 RUN apt update && apt upgrade -y && apt install -y \
 # skdman deps (BEGIN)
 git \
@@ -31,6 +34,7 @@ netcat \
 libvshadow-utils \
 sudo \
 wget \
+software-properties-common \
 # system (END)
 # drools (BEGIN)
 fontconfig \
@@ -141,6 +145,13 @@ RUN wget 
https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest-4.13/o
   sudo mv ${tmp_dir}/oc /usr/local/bin && \
   rm -rf ${tmp_dir} /tmp/openshift-client*
 
+# Install ansible
+RUN sudo ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && \
+    echo $TZ | sudo tee /etc/timezone && \
+    sudo add-apt-repository --yes --update ppa:ansible/ansible && \
+    sudo apt update && \
+    sudo apt install -y ansible
+
 # Convenience script to account for using 'alternatives' in some places
 RUN sudo bash -c 'echo -e "#!/bin/bash\nupdate-alternatives \"\$@\"" > 
/usr/local/bin/alternatives' \
   && sudo chmod +x /usr/local/bin/alternatives


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to