nc-photos/.gitlab-ci.yml
2021-09-02 11:01:52 +00:00

31 lines
661 B
YAML

image: ruby:2
stages:
- triage
- run
dry-run:triage:
stage: triage
script:
- gem install gitlab-triage
- gitlab-triage --help
- gitlab-triage --dry-run --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH
when: manual
except:
- schedules
policy:run:
stage: run
script:
- gem install gitlab-triage
- gitlab-triage --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH
when: manual
except:
- schedules
schedule:policyrun:
stage: run
script:
- gem install gitlab-triage
- gitlab-triage --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH
only:
- schedules