Run validator via pipeline
Bug: T283563 Change-Id: I456cb839383ad80a8310ba6fa8c23ef6d3675766
This commit is contained in:
parent
4ae59c931f
commit
a496a4179b
2 changed files with 31 additions and 0 deletions
24
.pipeline/blubber.yaml
Normal file
24
.pipeline/blubber.yaml
Normal file
|
@ -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"
|
7
.pipeline/config.yaml
Normal file
7
.pipeline/config.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
pipelines:
|
||||
test:
|
||||
blubberfile: blubber.yaml
|
||||
stages:
|
||||
- name: validate
|
||||
build: validate
|
||||
run: true
|
Loading…
Reference in a new issue