From 2c76d37ed1f30255ec5af5b4eb71be234a5f1962 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Tue, 24 Mar 2015 18:37:20 +0100 Subject: Move runner setup instructions to cookbook --- ...ure_a_runner_to_run_the_gitlab_ce_test_suite.md | 95 +--------------------- 1 file changed, 4 insertions(+), 91 deletions(-) diff --git a/doc/examples/configure_a_runner_to_run_the_gitlab_ce_test_suite.md b/doc/examples/configure_a_runner_to_run_the_gitlab_ce_test_suite.md index e122139..0ddab52 100644 --- a/doc/examples/configure_a_runner_to_run_the_gitlab_ce_test_suite.md +++ b/doc/examples/configure_a_runner_to_run_the_gitlab_ce_test_suite.md @@ -1,93 +1,6 @@ ## Configure a runner to run the GitLab CE test suite -This prepares a runner to test GitLab CE. The actual [build script](build_script_gitlab_ce.md) is separate. - -### 1. Set up the CI runner - -``` -# Ubuntu 14.04 -wget https://s3-eu-west-1.amazonaws.com/downloads-packages/ubuntu-14.04/gitlab-runner_5.1.0~pre.omnibus.1-1_amd64.deb -# Ubuntu 12.04: -# wget https://s3-eu-west-1.amazonaws.com/downloads-packages/ubuntu-12.04/gitlab-runner_5.1.0~pre.omnibus.1-1_amd64.deb - -sudo dpkg -i gitlab-runner_5.1.0~pre.omnibus.1-1_amd64.deb -sudo useradd -r -m gitlab-runner -s /bin/false - -# This step is interactive; you need to enter the Coordinator URL and runner token -sudo /opt/gitlab-runner/bin/setup -C /home/gitlab-runner - -sudo cp /opt/gitlab-runner/doc/install/upstart/gitlab-runner.conf /etc/init/ -sudo service gitlab-runner start -``` - - -### 2. Install ruby-build and Ruby 2.1.5 - -```bash -sudo apt-get install -y g++ gcc make libc6-dev libreadline6-dev zlib1g-dev \ - libssl-dev libyaml-dev libsqlite3-dev sqlite3 autoconf libgdbm-dev \ - libncurses5-dev automake libtool bison pkg-config libffi-dev git-core - -sudo -Hu gitlab-runner sh <