diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 10:57:40 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-10-24 11:10:48 +0200 |
commit | 0c6e4fbff2523fd03cf693abaa7abfb84b4cfe20 (patch) | |
tree | c2e3b47c7c28f9403c44ec7d4e23dc44734487ce | |
parent | bd06a1567c604bb65fec9ca04f8d6dae387064e3 (diff) |
woodpecker: Split into two pipelines
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | .woodpecker/nix-ci.yml | 16 | ||||
-rw-r--r-- | .woodpecker/rust-ci.yml (renamed from .woodpecker/ci.yml) | 12 |
2 files changed, 17 insertions, 11 deletions
diff --git a/.woodpecker/nix-ci.yml b/.woodpecker/nix-ci.yml new file mode 100644 index 0000000..7332de1 --- /dev/null +++ b/.woodpecker/nix-ci.yml @@ -0,0 +1,16 @@ +pipeline: + nix-build: + image: nixos/nix + commands: + - nix-build ./default.nix -A ${SERVICE}Image + + nix-build-config: + image: nixos/nix + commands: + - nix-build ./default.nix -A config + +matrix: + SERVICE: + - hello + - world + - joiner diff --git a/.woodpecker/ci.yml b/.woodpecker/rust-ci.yml index 2e849e9..9484493 100644 --- a/.woodpecker/ci.yml +++ b/.woodpecker/rust-ci.yml @@ -9,17 +9,6 @@ pipeline: when: event: [ push, pull_request ] - nix-build: - image: nixos/nix - commands: - - nix-build ./default.nix -A ${SERVICE}Image - - nix-build-config: - image: nixos/nix - commands: - - nix-build ./default.nix -A config - - matrix: SERVICE: - hello @@ -28,3 +17,4 @@ matrix: RUST_VERSION: - latest - 1.54.0 + |