Commit 008ba4ce authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm play: add gitlab-runner install

parent 2b17c91b
#!/bin/sh
PKGNAME=gitlab-runner
SUPPORTEDARCHES="armhf aarch64 x86 x86_64 ppc64le"
DESCRIPTION='Gitlab runner'
. $(dirname $0)/common.sh
arch="$($DISTRVENDOR -a)"
pkg="$($DISTRVENDOR -p)"
case "$arch" in
x86_64)
arch=amd64
;;
aarch64)
arch=arm64
;;
armhf)
arch=armhf
;;
x86)
arch=i686
[ "$pkg" = "deb" ] && arch=i386
;;
esac
# https://docs.gitlab.com/runner/install/linux-manually.html
# https://gitlab-runner-downloads.s3.amazonaws.com/latest/index.html
epm install "https://gitlab-runner-downloads.s3.amazonaws.com/latest/rpm/gitlab-runner_${arch}.$pkg"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment