Skip to content

Commit

Permalink
chore: Update GitLab deployment script to use /usr/bin/gitlab-runner …
Browse files Browse the repository at this point in the history
…and copy the configuration file to /etc/gitlab-runner
  • Loading branch information
tosin2013 committed Aug 21, 2024
1 parent 3f589a6 commit a31018b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dependancies/gitlab/deployment-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,9 @@ then
sudo chmod +x /usr/bin/gitlab-runner
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash
sudo /usr/bin/gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner
# cat /home/lab-user/.gitlab-runner/config.toml
# sudo cp /home/lab-user/.gitlab-runner/config.toml /etc/gitlab-runner/config.toml
# sudo systemctl start gitlab-runner.service
# sudo systemctl enable gitlab-runner.service
# sudo systemctl status gitlab-runner.service
fi

0 comments on commit a31018b

Please sign in to comment.