-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Docker compose smoke test" step
- Loading branch information
Github Action
committed
Jun 24, 2024
1 parent
3cdba04
commit bdea3fb
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! /usr/bin/env -S nix shell 'nixpkgs#docker-compose' --command bash | ||
# shellcheck shell=bash | ||
|
||
set -euox pipefail | ||
|
||
mkdir -p state | ||
|
||
export NETWORK=testnet | ||
export WALLET_TAG=$(buildkite-agent meta-data get "release-cabal-version") | ||
export NODE_TAG="8.9.3" | ||
export NODE_DB="$(pwd)/state" | ||
export WALLET_DB="$(pwd)/state" | ||
export WALLET_PORT=8090 | ||
|
||
docker-compose up -d | ||
mkdir -p logs | ||
docker-compose logs > logs/docker-compose.log | ||
docker-compose down |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters