Commit 55bbff3d authored by Guillaume Melquiond's avatar Guillaume Melquiond

Update installation information for gitlab runners.

parent d741c262
# runner:
# apt-get install curl opam automake libgmp-dev zlib1g-dev
# Runner installation
# -------------------
# apt-get install curl
# curl -L | bash
# apt-get install gitlab-runner
# curl -fsSL | apt-key add -
# apt-key fingerprint 0EBFCD88
# echo "deb stretch stable" >> /etc/apt/sources.list
# apt-get update
# apt-get install gitlab-runner docker-ce
# gitlab-runner register
# shell
# su gitlab-runner
  • Is that not still needed?

  • Which part? The installation of opam, menhir, and alt-ergo for the gitlab-runner user is needed for the branches that are still using the old approach, but not for master (since the packages get installed via docker).

  • I meant only the su gitlab-runner line. With these instructions, we are adding the user to the docker group, but not logging in as gitlab-runner, unless I am missing something?

    Edited by Raphaël Rieu-Helft
  • Logging as gitlab-runner was only needed to install opam and friends. Unless I forgot an item, we no longer have any action for which we need to impersonate gitlab-runner.

  • Correct, I misunderstood.

Please register or sign in to reply
# cd
# opam init
# opam install menhir alt-ergo
# usermod -aG docker gitlab-runner
set -e
eval `opam config env`
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