From: Jessica Wagantall Date: Wed, 7 Sep 2022 03:30:54 +0000 (+0000) Subject: Merge "CI: Upgrade global-jjb to the latest v0.80.2" X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=da53782d866a6c34481fc6f30df146b6c155053d;hp=9402fc1e5a62eb9eb1609e757d4db4adec569ec7;p=ci-management.git Merge "CI: Upgrade global-jjb to the latest v0.80.2" --- diff --git a/jjb/ci-management/ci-management-packer-jobs.yaml b/jjb/ci-management/ci-management-packer-jobs.yaml index 1b41e92d1..74c9f96f3 100644 --- a/jjb/ci-management/ci-management-packer-jobs.yaml +++ b/jjb/ci-management/ci-management-packer-jobs.yaml @@ -15,7 +15,7 @@ platforms: - centos-7 - - centos-8 + - centos-cs-8 - ubuntu-18.04 - ubuntu-20.04 templates: builder @@ -37,7 +37,7 @@ platforms: - centos-7 - - centos-8 + - centos-cs-8 - ubuntu-18.04-arm64 - ubuntu-18.04 - ubuntu-20.04 @@ -80,7 +80,7 @@ platforms: - centos-7 - - centos-8 + - centos-cs-8 templates: redis update-cloud-image: true diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index c0c0233f2..6e3aad8c5 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -209,14 +209,17 @@ - name: npm self-update command: npm install npm@{{ npm_version }} -g become: true + when: ansible_distribution == 'Ubuntu' - name: npm install n module command: npm install n -g become: true + when: ansible_distribution == 'Ubuntu' - name: Upgrade latest stable node version command: n stable | PATH="$PATH" become: true + when: ansible_distribution == 'Ubuntu' - name: Add Google Chrome key apt_key: