Skip to content

Commit

Permalink
Merge pull request #721 from serokell/krendelhoff/chore-add-step-depe…
Browse files Browse the repository at this point in the history
…ndencies

[Chore] Set correct `only_changes` field for steps
  • Loading branch information
krendelhoff2 authored Sep 27, 2023
2 parents f163973 + c70a8d8 commit 4f6f1b6
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions .buildkite/pipeline-raw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ steps:
agents:
queue: "docker"
only_changes: &static_binaries_changes_regexes
- docker/build/.*
- docker/build/.*.sh
- docker/build/Dockerfile
- docker/docker-static-build.sh
- meta.json
- protocols.json
Expand Down Expand Up @@ -106,12 +107,14 @@ steps:
timeout_in_minutes: 60
agents:
queue: "docker"
only_changes: &native_packaging_changes_regexes
only_changes: &ubuntu_native_packaging_changes_regexes
- docker/package/.*
- docker/build/ubuntu/build.py
- docker/build/util/build.py
- docker/baking/.*
- meta.json
- protocols.json

- label: test deb binary packages via docker
commands:
- eval "$SET_VERSION"
Expand All @@ -124,7 +127,8 @@ steps:
timeout_in_minutes: 240
agents:
queue: "docker"
only_changes: *native_packaging_changes_regexes
only_changes: *ubuntu_native_packaging_changes_regexes

- label: test rpm source packages via docker
commands:
- eval "$SET_VERSION"
Expand All @@ -135,7 +139,14 @@ steps:
timeout_in_minutes: 60
agents:
queue: "docker"
only_changes: *native_packaging_changes_regexes
only_changes: &fedora_native_packaging_changes_regexes
- docker/package/.*
- docker/build/fedora/build.py
- docker/build/util/build.py
- docker/baking/.*
- meta.json
- protocols.json

- label: test rpm binary packages via docker
commands:
- eval "$SET_VERSION"
Expand All @@ -148,7 +159,7 @@ steps:
timeout_in_minutes: 180
agents:
queue: "docker"
only_changes: *native_packaging_changes_regexes
only_changes: *fedora_native_packaging_changes_regexes

- label: build deb packages with static binaries
key: build-static-deb
Expand All @@ -159,10 +170,10 @@ steps:
commands:
- eval "$SET_VERSION"
- buildkite-agent artifact download "docker/octez-*" . --step build-via-docker
- nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --os ubuntu --type binary --binaries-dir docker --distributions focal
- nix develop .#docker-tezos-packages -c ./docker/build/ubuntu/build.py --type binary --binaries-dir docker --distributions focal
artifact_paths:
- ./out/*
only_changes: *native_packaging_changes_regexes
only_changes: *ubuntu_native_packaging_changes_regexes

- label: test gen_systemd_service_file.py script
commands:
Expand All @@ -180,7 +191,9 @@ steps:
key: test-systemd-services
depends_on:
- "build-static-deb"
only_changes: *native_packaging_changes_regexes
only_changes:
- :<< *ubuntu_native_packaging_changes_regexes
- tests/systemd/.*
agents:
queue: "default"
commands:
Expand Down

0 comments on commit 4f6f1b6

Please sign in to comment.