install gitlab-runner to use cache

This commit is contained in:
Kay0u 2019-12-23 14:05:23 +08:00
parent 62be849b44
commit c43194e7ba
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -60,6 +60,7 @@ rebuild_base_container()
lxc exec "yunohost-$DEBIAN_VERSION-tmp" -- /bin/bash -c "apt-get install git-lfs -y"
# Install gitlab-runner binary since we need for cache/artifacts.
lxc exec "yunohost-$DEBIAN_VERSION-tmp" -- /bin/bash -c "curl -s https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh | bash"
lxc exec "yunohost-$DEBIAN_VERSION-tmp" -- /bin/bash -c "apt-get install gitlab-runner -y"
lxc stop "yunohost-$DEBIAN_VERSION-tmp"
# Create image before install