Created
August 12, 2019 07:37
-
-
Save aviadlevy/3577ba0804df5293632a28f531b6f22c to your computer and use it in GitHub Desktop.
.gitlab-ci-new.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
image: docker:latest | |
services: | |
- docker:dind | |
stages: | |
- build | |
- integration-test | |
- pre-dev-deploy | |
- dev-deploy | |
- continue-to-prod | |
- pre-prod-deploy | |
- prod-deploy | |
- post-deploy | |
# Cache downloaded dependencies and plugins between builds. | |
cache: | |
paths: | |
- .m2/repository | |
key: "$CI_JOB_NAME" | |
variables: | |
IMAGE_NAME: "image-name" | |
DOCKER_FILE_DIR: docker/ | |
K8S_DEV_CONFIGMAP: "" | |
K8S_PROD_CONFIGMAP: "" | |
K8S_DEV_DEPLOYMENT: "k8s/dev/deployment.yaml" | |
K8S_PROD_DEPLOYMENT: "k8s/prod/deployment.yaml" | |
include: | |
- project: "ThreatCloud/centralize-reputation-pipeline" | |
file: .gitlab-ci-build-mvn.yml | |
- project: "ThreatCloud/centralize-reputation-pipeline" | |
file: .gitlab-ci-integration.yml | |
- project: "ThreatCloud/centralize-reputation-pipeline" | |
file: .gitlab-ci-deploy.yml | |
- project: "ThreatCloud/centralize-reputation-pipeline" | |
file: .gitlab-ci-post.yml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment