Switch to tested golang module, remove ruby 40/2240/1
authorEric Ball <eball@linuxfoundation.org>
Thu, 16 Jan 2020 02:51:10 +0000 (18:51 -0800)
committerEric Ball <eball@linuxfoundation.org>
Thu, 16 Jan 2020 02:51:10 +0000 (18:51 -0800)
The previous golang module was not installing correctly on CentOS 7.
The gantsign module has been tested as working.
Ruby was only required for package_cloud, which is now installed in
the base image. Since it was causing build problems, the explicit
installation has been removed.

Issue: LF-Jira IT-15893
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: Ia60c965b0ddf0f04f634ff8cd9d8ff16ec190938

packer/provision/local-docker.yaml
packer/requirements.yaml [new file with mode: 0644]

index fd24d8d..9a33960 100644 (file)
 
   tasks:
     - include_role:
-        name: fubarhouse.ruby
+        name: gantsign.golang
       vars:
-        ruby_version: 2.4.0
-        ruby_packages:
-          - rake
-          - package_cloud
-
-    - include_role:
-        name: fubarhouse.golang
-      vars:
-        go_version: 1.12
+        golang_version: 1.12
+        ansible_become: true
diff --git a/packer/requirements.yaml b/packer/requirements.yaml
new file mode 100644 (file)
index 0000000..a182919
--- /dev/null
@@ -0,0 +1,2 @@
+---
+- src: gantsign.golang