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
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,4 +52,9 @@ deploy:
52
52
## Improvement ideas
53
53
- Think about the best way to use a SSH key through a Dockerfile
54
54
- Add snippets and templates for other tools
55
-
- 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'`
55
+
- 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'` :
56
+
- I tried but it's more complicated that it sounds in Bash (any help or insight will be really appreciated)
57
+
-_But_ there are two workarounds in Gitlab CI that you can use :
58
+
- add a `- sleep 5` just before the `- /main.sh` line
0 commit comments