diff options
author | Loïc Hoguin <[email protected]> | 2018-04-26 11:44:06 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-26 11:44:06 +0200 |
commit | dc121ca13e085f0df3f5b3c264a692b4dc0be0d5 (patch) | |
tree | e8c0d9a7bd54ff809b435e8519b35d872a751bbe | |
parent | 3944fe6157481aa3bf70e9f8a90eea701d3ecc0d (diff) | |
download | ci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.tar.gz ci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.tar.bz2 ci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.zip |
Install go/glide on all environments
-rwxr-xr-x | alpine.sh | 3 | ||||
-rwxr-xr-x | archlinux.sh | 3 | ||||
-rwxr-xr-x | centos.sh | 4 | ||||
-rw-r--r-- | ci.d/yum | 16 | ||||
-rwxr-xr-x | debian.sh | 3 | ||||
-rwxr-xr-x | ubuntu.sh | 3 |
6 files changed, 22 insertions, 10 deletions
@@ -8,7 +8,8 @@ DIST=alpine RELEASE=edge ARCH=amd64 PACKAGES="pcre ca-certificates openssl-dev ncurses-dev zlib-dev \ - openssh bash curl zsh vim sudo erlang git build-base autoconf gawk" + openssh bash curl zsh vim sudo erlang git build-base autoconf gawk \ + go glide" for f in ci.d/*; do source "$f"; done diff --git a/archlinux.sh b/archlinux.sh index 4db1a8b..1aa8a59 100755 --- a/archlinux.sh +++ b/archlinux.sh @@ -7,7 +7,8 @@ NAME=$1 DIST=archlinux RELEASE=current ARCH=amd64 -PACKAGES="cronie openssh openssl-1.0 zsh vim sudo erlang-nox git make autoconf automake gcc" +PACKAGES="cronie openssh openssl-1.0 zsh vim sudo erlang-nox git make \ + autoconf automake gcc go glide" for f in ci.d/*; do source "$f"; done @@ -9,7 +9,8 @@ RELEASE=7 ARCH=amd64 # We don't install Erlang because it's complicated on CentOS. # We will instead use the Erlang versions built with kerl. -PACKAGES="curl ncurses-devel openssl-devel zsh vim sudo git make autoconf automake gcc" +PACKAGES="curl ncurses-devel openssl-devel zsh vim sudo git make \ + autoconf automake gcc golang glide" for f in ci.d/*; do source "$f"; done @@ -18,6 +19,7 @@ lxc_destroy lxc_create $DIST $RELEASE $ARCH lxc_wait_for_ip yum_upgrade +yum_install_epel yum_install $PACKAGES buildkite_install $DIST $BUILDKITE_TOKEN ssh_copy_host_key @@ -1,11 +1,17 @@ #!/usr/bin/env sh -# yum_upgrade -yum_upgrade() { - lxc_do yum update -} - # yum_install $PACKAGES yum_install() { lxc_do yum install -y "$@" } + +# yum_install_epel +yum_install_epel() { + lxc_do curl -O http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm + lxc_do rpm -ivh epel-release-latest-7.noarch.rpm +} + +# yum_upgrade +yum_upgrade() { + lxc_do yum update +} @@ -8,7 +8,8 @@ DIST=debian RELEASE=stretch ARCH=amd64 PACKAGES="gnupg apt-transport-https curl libssl1.0-dev libncurses5-dev \ - zsh vim sudo erlang-nox git make autoconf automake gcc" + zsh vim sudo erlang-nox git make autoconf automake gcc \ + golang golang-glide" for f in ci.d/*; do source "$f"; done @@ -7,7 +7,8 @@ NAME=$1 DIST=ubuntu RELEASE=artful ARCH=amd64 -PACKAGES="curl libssl-dev libncurses5-dev zsh vim sudo erlang-nox git make autoconf automake gcc" +PACKAGES="curl libssl-dev libncurses5-dev zsh vim sudo erlang-nox git \ + make autoconf automake gcc golang golang-glide" for f in ci.d/*; do source "$f"; done |