You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ It's really possible (I hope not ^^) that I "reinventend the wheel" here so if y
14
14
15
15
## Description of environment variables used by the current script
16
16
- CLUSTER_GIT_CLONE_URL : the cluster Git repo URL to git clone (through SSH)
17
+
- GIT_REPO_USER_RSA : the private SSH key linked to the user you are using to git clone your manifests repo
17
18
- YAML_FILE_PATH : the path to the .yaml file containing the Deployment to update
18
19
- NAMESPACE : the namespace belonging to your Deployment
19
20
- DOCKER_REPO : the name of the registry repo of your image to deploy (*repo*/deployment-name:tag)
@@ -54,9 +55,8 @@ deploy:
54
55
```
55
56
56
57
## Improvement ideas
57
-
- Think about the best way to use a SSH key through a Dockerfile
58
58
- Add snippets and templates for other tools
59
-
- Add a retry scheme in the script : if your CI pipeline is launching parrallel deployment jobs (using this image), then some ones can fail with message `cannot lock ref 'refs/heads/master'` :
59
+
- Add a retry scheme in the script : if your CI pipeline is launching parallel deployment jobs (using this image), then some ones can fail with message `cannot lock ref 'refs/heads/master'` :
60
60
- I tried but it's more complicated that it sounds in Bash (any help or insight will be really appreciated)
61
61
-_But_ there are two workarounds in Gitlab CI that you can use :
62
62
- add a `- sleep 5` just before the `- /main.sh` line
0 commit comments