aboutsummaryrefslogtreecommitdiffstats
path: root/ci.d
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-26 11:44:06 +0200
committerLoïc Hoguin <[email protected]>2018-04-26 11:44:06 +0200
commitdc121ca13e085f0df3f5b3c264a692b4dc0be0d5 (patch)
treee8c0d9a7bd54ff809b435e8519b35d872a751bbe /ci.d
parent3944fe6157481aa3bf70e9f8a90eea701d3ecc0d (diff)
downloadci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.tar.gz
ci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.tar.bz2
ci-dc121ca13e085f0df3f5b3c264a692b4dc0be0d5.zip
Install go/glide on all environments
Diffstat (limited to 'ci.d')
-rw-r--r--ci.d/yum16
1 files changed, 11 insertions, 5 deletions
diff --git a/ci.d/yum b/ci.d/yum
index 961ecf9..d5a63ba 100644
--- a/ci.d/yum
+++ b/ci.d/yum
@@ -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
+}