Skip to content

Commit

Permalink
Remove redundant nix build .#cardano-wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
paolino committed Aug 8, 2024
1 parent eee6de8 commit 973f108
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
agents:
queue: "cardano-wallet"
queue: "linux-nix"

env:
LC_ALL: "C.UTF-8"
Expand Down Expand Up @@ -144,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 @@ -170,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 @@ -191,12 +184,12 @@ 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-nix
- linux-sanchonet-full-sync-block
timeout_in_minutes: 120
command: |
Expand All @@ -221,7 +214,7 @@ steps:

- label: Preprod Full Sync
depends_on:
- cardano-wallet
- linux-nix
- linux-preprod-full-sync-block
timeout_in_minutes: 240
command: |
Expand Down Expand Up @@ -443,7 +436,7 @@ steps:
command: nix build -L .#packages.aarch64-darwin.integration-exe
agents:
system: ${macos}
queue: "cardano-wallet"
queue: "linux-nix"

- label: Build Package (macOS, x86_64)
key: macos-intel-package
Expand Down Expand Up @@ -498,7 +491,7 @@ steps:
command: nix shell 'nixpkgs#just' -c just babbage-integration-tests
agents:
system: ${macos}
queue: "cardano-wallet"
queue: "linux-nix"
concurrency: 3
concurrency_group: 'macos-integration-tests'

Expand Down Expand Up @@ -584,7 +577,7 @@ steps:
- docker-build
key: build-docker
command:
- "mkdir -p config && echo '{ outputs = _: { dockerHubRepoName = \"cardanofoundation/cardano-wallet\"; }; }' > config/flake.nix"
- "mkdir -p config && echo '{ outputs = _: { dockerHubRepoName = \"cardanofoundation/linux-nix\"; }; }' > config/flake.nix"
- "nix build .#pushDockerImage --override-input hostNixpkgs \"path:$(nix eval --impure -I $NIX_PATH --expr '(import <nixpkgs> {}).path')\" --override-input customConfig path:./config -o docker-build-push"
- "./docker-build-push"
agents:
Expand Down

0 comments on commit 973f108

Please sign in to comment.