Files
auth0mock/.gitlab-ci.yml
T
2021-10-26 12:49:58 +02:00

48 lines
973 B
YAML

include:
- template: 'Workflows/MergeRequest-Pipelines.gitlab-ci.yml'
- project: 'unboundsoftware/dependabot-staged-flow'
file: '.gitlab-ci.yml'
stages:
- build
- acctest
- dependabot
variables:
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: "/certs"
DOCKER_TLS_VERIFY: 1
DOCKER_CERT_PATH: "$DOCKER_TLS_CERTDIR/client"
DOCKER_DRIVER: overlay2
.exclude_from_schedule: &not_on_schedule
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
when: never
- when: always
image: buildtool/build-tools:${BUILDTOOLS_VERSION}
build:
<<: *not_on_schedule
stage: build
services:
- docker:dind
script:
- build
- push
artifacts:
paths:
- k8s
acceptance-test:
<<: *not_on_schedule
stage: acctest
variables:
AUTH0MOCK_COMMIT: ${CI_COMMIT_SHA}
AUTH0MOCK_PIPELINE: ${CI_PIPELINE_ID}
TRIGGERED_BY: registry.gitlab.com/unboundsoftware/shiny/auth0mock
trigger:
project: unboundsoftware/shiny/acctest
strategy: depend