diff --git a/.pipeline/blubber.yaml b/.pipeline/blubber.yaml new file mode 100644 index 0000000..e0bc0a0 --- /dev/null +++ b/.pipeline/blubber.yaml @@ -0,0 +1,24 @@ +version: v4 +base: docker-registry.wikimedia.org/wikimedia-buster:latest +variants: + build: + base: docker-registry.wikimedia.org/releng/rust:1.52.1-1 + prep: + includes: [build] + builder: + command: + - cargo + - install + - "--git" + - "https://gerrit.wikimedia.org/r/wikimedia/irc/ircservserv" + validate: + copies: + - from: prep + source: /usr/local/cargo/bin/validate-config + destination: /usr/local/bin/validate-config + - from: local + source: . + destination: . + entrypoint: + - "/usr/local/bin/validate-config" + - "channels" diff --git a/.pipeline/config.yaml b/.pipeline/config.yaml new file mode 100644 index 0000000..8ec7d5d --- /dev/null +++ b/.pipeline/config.yaml @@ -0,0 +1,7 @@ +pipelines: + test: + blubberfile: blubber.yaml + stages: + - name: validate + build: validate + run: true