Skip to content

Instantly share code, notes, and snippets.

@jcmcneal
Created September 28, 2020 17:42
Show Gist options
  • Save jcmcneal/7a57b32bcbf78caee796c1fe1c69062d to your computer and use it in GitHub Desktop.
Save jcmcneal/7a57b32bcbf78caee796c1fe1c69062d to your computer and use it in GitHub Desktop.
image: alpine:latest
variables:
REVIEW_DISABLED: "true"
SAST_DISABLED: "true"
DAST_DISABLED: "true"
CONTAINER_SCANNING_DISABLED: "true"
CODE_QUALITY_DISABLED: "true"
PERFORMANCE_DISABLED: "true"
POSTGRES_ENABLED: "false"
HELM_INTERNAL_PORT: 5000
HELM_EXTERNAL_PORT: 5000
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
build:
stage: build
image: docker:19.03.13
services:
- docker:19.03.13-dind
script:
- |
apk add bash ruby wget
wget https://github.com/buildpacks/pack/releases/download/v0.12.0/pack-v0.12.0-linux.tgz && \
tar xvf pack-v0.12.0-linux.tgz && \
rm pack-v0.12.0-linux.tgz && \
mv pack /usr/local/bin/pack
- /builds/${CI_PROJECT_PATH}/.gitlab-ci/build.sh
tags:
- arm64
test:
stage: test
tags:
- docker
- linux
secret_detection_default_branch:
stage: test
tags:
- docker
- linux
secret_detection:
stage: test
tags:
- docker
- linux
review:
stage: review
tags:
- docker
- linux
staging:
stage: staging
tags:
- docker
- linux
canary:
stage: canary
tags:
- docker
- linux
production:
extends: .production
environment:
name: production
url: https://$KUBE_INGRESS_BASE_DOMAIN
tags:
- docker
- linux
include:
- template: Auto-DevOps.gitlab-ci.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment