Install GitLab Runner
curl -LJO "https://s3.dualstack.us-east-1.amazonaws.com/gitlab-runner-downloads/latest/deb/gitlab-runner_amd64.deb"
sudo dpkg -i gitlab-runner_amd64.deb
sudo chmod +x /usr/bin/gitlab-runner
Create Install
Register Runner
gitlab-runner register --url $IP --token $TOKEN
CICD Testing
<name-of-job>:
stage: <name-of-stage>
tags:
- <name-of-tags>
script:
- <custom script>
only:
- <branch>