fix(golang): ensure using on ubuntu

This commit is contained in:
Imran Iqbal 2020-01-15 20:33:17 +00:00
parent 0f992d9c17
commit bd909bd1b6
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 7 additions and 9 deletions

View file

@ -17,7 +17,4 @@ control 'Archive packages' do
it { should exist }
end
end
describe file('/usr/local/go/bin/go') do
it { should be_executable }
end
end

View file

@ -1,6 +1,13 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
# Dependency (golang)
golang:
pkg:
name: golang
use_upstream_repo: false
use_upstream_archive: false
packages:
pkgs:
# A dict of "package: version" pairs:
@ -89,12 +96,6 @@ packages:
# yamllint disable-line rule:line-length
source: https://raw.githubusercontent.com/openstack/cinder/master/contrib/block-box/docker-compose.yml
hashsum: 1751f8e4f6b4cddd8c4843a0f4473274
golang:
dest: /usr/local
dl:
format: tar
source: https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz
hashsum: 66d83bfb5a9ede000e33c6579a91a29e6b101829ad41fffb5c5bb6c900e109d9
unwanted:
- /usr/local/boring_archive_software