diff options
-rw-r--r-- | jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg | 2 | ||||
-rw-r--r-- | packer/provision/local-docker.yaml | 19 |
2 files changed, 14 insertions, 7 deletions
diff --git a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg index efb578713..ff70b9de6 100644 --- a/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg +++ b/jenkins-config/clouds/openstack/cattle/ubuntu1804-docker-8c-8g.cfg @@ -1,4 +1,4 @@ -IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20210317-220033.605 +IMAGE_NAME=ZZCI - Ubuntu 18.04 - docker - x86_64 - 20210622-014943.553 LABELS=ubuntu1804-docker-8c-8g HARDWARE_ID=v3-standard-8 VOLUME_SIZE=20 diff --git a/packer/provision/local-docker.yaml b/packer/provision/local-docker.yaml index 5d9b7c35a..771199862 100644 --- a/packer/provision/local-docker.yaml +++ b/packer/provision/local-docker.yaml @@ -10,6 +10,7 @@ glide_checksum: sha256:c403933503ea40308ecfadcff581ff0dc3190c57958808bb9eed016f13f6f32c glide_version: v0.13.1 golang_version: 1.9.1 + npm_version: "6.14.13" tasks: - name: "Checking for x86_64" @@ -181,6 +182,18 @@ become: true when: ansible_distribution == 'Ubuntu' + - name: npm self-update + command: npm install npm@{{ npm_version }} -g + become: true + + - name: npm install n module + command: npm install n -g + become: true + + - name: Upgrade latest stable node version + command: n stable | PATH="$PATH" + become: true + - name: Add Google Chrome key apt_key: url: https://dl-ssl.google.com/linux/linux_signing_key.pub @@ -226,12 +239,6 @@ dest: /tmp/rebar3 when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu' - - name: Bootstrap rebar3 - command: ./bootstrap - args: - chdir: /tmp/rebar3 - when: ansible_architecture == 'x86_64' and ansible_distribution == 'Ubuntu' - - name: Install rebar3 to bin copy: src: /tmp/rebar3/rebar3 |