Skip to content

Commit

Permalink
Add nix build to the check nix step (#4723)
Browse files Browse the repository at this point in the history
This PR tries to avoid some deadlock conditions that randomly happens
during nix operation by centralizing `nix build`

- [x] Add `nix build` to `check nix`
  • Loading branch information
paolino authored Aug 8, 2024
2 parents 5970083 + 24cbec7 commit 8dc8e75
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
agents:
queue: "cardano-wallet"
queue: cardano-wallet

env:
LC_ALL: "C.UTF-8"
Expand All @@ -20,6 +20,7 @@ steps:
key: linux-nix
commands:
- './nix/regenerate.sh'
- nix build
agents:
system: ${linux}

Expand Down Expand Up @@ -143,15 +144,8 @@ steps:
concurrency: 1
concurrency_group: 'linux-e2e-tests'

- label: Build .#cardano-wallet (linux)
key: cardano-wallet
depends_on: linux-nix
command: 'nix build .#cardano-wallet'
agents:
system: ${linux}

- label: Private Network Full Sync
depends_on: cardano-wallet
depends_on: linux-nix
timeout: 10
command: |
rm -rf run/private/nix/logs
Expand All @@ -169,7 +163,7 @@ steps:
NETWORK: testnet

- label: Mainnet Boot Sync
depends_on: cardano-wallet
depends_on: linux-nix
timeout: 2
command: |
cd run/mainnet/nix
Expand All @@ -190,12 +184,11 @@ steps:

- block: Sanchonet Full Sync
if: build.env("RELEASE_CANDIDATE") == null
depends_on: cardano-wallet
depends_on: linux-nix
key: linux-sanchonet-full-sync-block

- label: Sanchonet Full Sync
depends_on:
- cardano-wallet
- linux-sanchonet-full-sync-block
timeout_in_minutes: 120
command: |
Expand All @@ -220,7 +213,6 @@ steps:

- label: Preprod Full Sync
depends_on:
- cardano-wallet
- linux-preprod-full-sync-block
timeout_in_minutes: 240
command: |
Expand Down

0 comments on commit 8dc8e75

Please sign in to comment.