mirror of
https://gitlab.com/jarylc/docker-duoauthproxy.git
synced 2026-02-07 20:19:17 +00:00
Initial commit
This commit is contained in:
35
.gitlab-ci.yml
Normal file
35
.gitlab-ci.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
workflow:
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
|
||||
|
||||
image: docker
|
||||
|
||||
stages:
|
||||
- check
|
||||
- decide
|
||||
|
||||
cache:
|
||||
key: dap_${CI_COMMIT_REF_NAME}
|
||||
paths:
|
||||
- EXISTING
|
||||
|
||||
check:
|
||||
stage: check
|
||||
image: alpine
|
||||
artifacts:
|
||||
paths:
|
||||
- build.yml
|
||||
expire_in: 3 hours
|
||||
before_script:
|
||||
- apk add bash
|
||||
- mv noop.template.yml build.yml
|
||||
script:
|
||||
- ./check.sh
|
||||
|
||||
decide:
|
||||
stage: decide
|
||||
trigger:
|
||||
include:
|
||||
- artifact: build.yml
|
||||
job: check
|
||||
strategy: depend
|
||||
Reference in New Issue
Block a user