Update .gitlab-ci.yml
This commit is contained in:
parent
a77c8ea2e0
commit
98833ddedb
@ -13,17 +13,21 @@
|
|||||||
#
|
#
|
||||||
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
|
# For more information, see: https://docs.gitlab.com/ee/ci/yaml/index.html#stages
|
||||||
|
|
||||||
|
services:
|
||||||
|
- docker:dind
|
||||||
|
|
||||||
stages: # List of stages for jobs, and their order of execution
|
stages: # List of stages for jobs, and their order of execution
|
||||||
- lint
|
- lint
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
server-lint-docker-compose:
|
server-lint-docker-compose:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
image: docker/compose:latest
|
||||||
only:
|
only:
|
||||||
- "server/**/docker-compose.yml"
|
- "server/**/docker-compose.yml"
|
||||||
- "server/minecraft/*.yml"
|
- "server/minecraft/*.yml"
|
||||||
script:
|
script:
|
||||||
- echo "Linting the code"
|
- find /
|
||||||
|
|
||||||
server-deploy:
|
server-deploy:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user