Обновить README.md
This commit is contained in:
parent
2fa0942e7c
commit
767349763a
1 changed files with 19 additions and 0 deletions
19
README.md
19
README.md
|
|
@ -54,4 +54,23 @@ I'm gonna use IDE of JetBrains(Win10):
|
|||
- Token: token you've just got
|
||||
|
||||
## CI/CD Setups
|
||||
Since we using self-hosted GitLab instance, let's install GitLab Runner
|
||||
```bash
|
||||
sudo curl -L --output /usr/local/bin/gitlab-runner https://gitlab-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-runner-linux-amd64
|
||||
```
|
||||
|
||||
```bash
|
||||
# make it executable
|
||||
sudo chmod +x /usr/local/bin/gitlab-runner
|
||||
```
|
||||
|
||||
```bash
|
||||
#create user for runner
|
||||
sudo useradd --comment 'GitLab Runner' --create-home gitlab-runner --shell /bin/bash
|
||||
```
|
||||
|
||||
```bash
|
||||
# set it as service
|
||||
sudo gitlab-runner install --user=gitlab-runner --working-directory=/home/gitlab-runner
|
||||
sudo gitlab-runner start
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue