Skip to content
Snippets Groups Projects
Commit dcbf99cb authored by marcoemi.poleggi's avatar marcoemi.poleggi
Browse files

Update README.md

parent d6b82bee
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,8 @@ Configure the CI/CD system as it follows (menu `Settings > CI/CD`): ...@@ -69,7 +69,8 @@ Configure the CI/CD system as it follows (menu `Settings > CI/CD`):
- In `Runners`: - In `Runners`:
* [x] `Enable shared runners...` * [x] `Enable shared runners...`
- In `Variables`: add the following variables: `SSH_PRIVATE_KEY`, `SSH_KNOWN_HOSTS` and `PRODUCTION_IP`. - In `Variables`: add the following variables: `SSH_PRIVATE_KEY`, `SSH_KNOWN_HOSTS` and `PRODUCTION_IP`.
:bulb: All secrets should be **protected** and possibly **masked** (SSH public keys cannot by masked). :bulb: All secrets should be **protected** and possibly **masked** (SSH public keys cannot by masked).
Other optional variables to tweak depending on how you installed your server instance: `SSH_USER`, `WEB_ROOT`.
### Task #2: CI/CD pipeline ### ### Task #2: CI/CD pipeline ###
...@@ -88,7 +89,7 @@ stages: ...@@ -88,7 +89,7 @@ stages:
default: default:
# Do here anything common to all jobs' scripts # Do here anything common to all jobs' scripts
before_script: before_script:
- # install needed packages in this runner (Web servr, etc.) - # install needed packages in this runner (Web server, etc.)
- # configure the git client on this runner - # configure the git client on this runner
- # set up SSH keys via ssh-agent - # set up SSH keys via ssh-agent
- # launch the ssh-agent and feed it our key from var $SSH_PRIVATE_KEY - # launch the ssh-agent and feed it our key from var $SSH_PRIVATE_KEY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment