-
-
Save Danielfenghk/f37b1a766567a3947f3be9cc9b357143 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