Created
January 9, 2020 16:35
-
-
Save olgac/a78858be0acf6ce58e19bc5f52c2f584 to your computer and use it in GitHub Desktop.
GitLab .gitlab-ci.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- Setup | |
- Deploy | |
Permissions: | |
stage: Setup | |
image: alpine:3.11.2 | |
tags: | |
- gitlab | |
script: | |
- apk --no-cache add -q curl jq | |
- cd setup && chmod +x setup.sh && ./setup.sh | |
GitLab: | |
stage: Deploy | |
image: docker:19.03.5 | |
when: manual | |
allow_failure: false | |
tags: | |
- gitlab | |
script: | |
- docker stack deploy -c gitlab/docker-compose.yml gitlab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment