1
0
Fork 0
gitlab-wmf-ircservserv-config/.gitlab-ci.yml
Bryan Davis 01763d6e7e ci: Port pipelinelib to gitlab-ci
Bug: T344744
2024-07-19 15:51:16 -06:00

19 lines
483 B
YAML

stages:
- test
variables:
CARGO_BUILD_JOBS: "1"
IRCSERVSERV_REPO: "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv"
IRCSERVSERV_REV: "f5f4d95"
test-validate:
stage: test
tags:
- wmcs
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
image: rust:latest
script:
- cargo install --locked --git $IRCSERVSERV_REPO --rev $IRCSERVSERV_REV
- /usr/local/cargo/bin/validate-config channels