Skip to content

Commit

Permalink
[ADP-3368] Add linux packaging step to release pipeline (#4649)
Browse files Browse the repository at this point in the history
This PR makes sure a linux package will be ready for the E2E testing
phase package

https://buildkite.com/cardano-foundation/cardano-wallet-release/builds/115

- [x] Copy script and step from the main pipeline to package up the
linux version of the wallet
  • Loading branch information
paolino authored Jun 26, 2024
2 parents 0f66e99 + f45ce57 commit 010606b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .buildkite/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,13 @@ steps:
./scripts/buildkite/release/release-candidate.sh
agents:
system: x86_64-linux

- label: 'Build package (linux)'
key: linux-package
depends_on: add-release-commits
command:
- ./scripts/buildkite/release/linux-package.sh
artifact_paths: [ "./result/linux/**" ]
agents:
system: ${linux}

8 changes: 8 additions & 0 deletions scripts/buildkite/release/linux-package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /usr/bin/env -S nix shell --command bash
# shellcheck shell=bash

RELEASE_CANDIDATE_BRANCH=$(buildkite-agent meta-data get "release-candidate-branch")

git checkout "$RELEASE_CANDIDATE_BRANCH"

nix build -o result/linux .#ci.artifacts.linux64.release

0 comments on commit 010606b

Please sign in to comment.