diff options
author | Loïc Hoguin <[email protected]> | 2018-04-18 00:27:06 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-04-18 11:06:34 +0200 |
commit | e5311de35216cc541978c10a8f2cf8204acc7b94 (patch) | |
tree | 2346f74a488585a77fd1680cc1c827ee549bb9e0 /ci.d/yum | |
download | ci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.gz ci-e5311de35216cc541978c10a8f2cf8204acc7b94.tar.bz2 ci-e5311de35216cc541978c10a8f2cf8204acc7b94.zip |
Initial commit
Sets up LXC containers for CI for Alpine, Arch Linux,
CentOS, Debian and Ubuntu. Currently only tested against
Cowlib, it's likely that more packages need to be installed
for the other projects.
Diffstat (limited to 'ci.d/yum')
-rw-r--r-- | ci.d/yum | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ci.d/yum b/ci.d/yum new file mode 100644 index 0000000..27607c7 --- /dev/null +++ b/ci.d/yum @@ -0,0 +1,12 @@ +#!/usr/bin/env sh + +# yum_upgrade +yum_upgrade() { + lxc_do yum update +} + +# yum_install $PACKAGES +yum_install() { + lxc_do yum install -y "$@" +} + |