fix: Pin version of rebar3 01/122301/1
authorJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 29 Jun 2021 01:08:06 +0000 (18:08 -0700)
committerJessica Wagantall <jwagantall@linuxfoundation.org>
Tue, 29 Jun 2021 01:08:06 +0000 (18:08 -0700)
Pin version of rebar3 to v3.13

Issue-ID: CIMAN-33
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: I975c72a86a120ddc677f7045ef1dc2a015a13464

packer/provision/local-docker.yaml

index 7711998..6914ffa 100644 (file)
       git:
         repo: 'https://github.com/erlang/rebar3.git'
         dest: /tmp/rebar3
+        version: v3.13
+      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