-
Notifications
You must be signed in to change notification settings - Fork 547
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix fix path change base docker debug one more fix rename bin fix paths compilation fix add minima run in CI
- Loading branch information
Showing
3 changed files
with
66 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/bash | ||
set -o pipefail -x | ||
|
||
TEST_NAME="$1" | ||
$MINA_DOCKER_TAG="2.0.0rampup4-14047c5-bullseye" | ||
MINA_IMAGE="gcr.io/o1labs-192920/mina-daemon:$MINA_DOCKER_TAG-berkeley" | ||
ARCHIVE_IMAGE="gcr.io/o1labs-192920/mina-archive:$MINA_DOCKER_TAG" | ||
|
||
if [[ "${TEST_NAME:0:15}" == "block-prod-prio" ]] && [[ "$RUN_OPT_TESTS" == "" ]]; then | ||
echo "Skipping $TEST_NAME" | ||
exit 0 | ||
fi | ||
|
||
# Don't prompt for answers during apt-get install | ||
export DEBIAN_FRONTEND=noninteractive | ||
|
||
apt-get update | ||
apt-get install -y git apt-transport-https ca-certificates tzdata curl | ||
|
||
TESTNET_NAME="berkeley" | ||
|
||
git config --global --add safe.directory /workdir | ||
|
||
source buildkite/scripts/export-git-env-vars.sh | ||
|
||
echo "Installing mina daemon package: mina-test-executive" | ||
echo "deb [trusted=yes] http://packages.o1test.net ubuntu stable" | tee /etc/apt/sources.list.d/mina.list | ||
apt-get update | ||
apt-get install --allow-downgrades -y "minimina" | ||
|
||
echo "Installing mina daemon package: mina-test-executive=${MINA_DEB_VERSION}" | ||
echo "deb [trusted=yes] http://packages.o1test.net $MINA_DEB_CODENAME $MINA_DEB_RELEASE" | tee /etc/apt/sources.list.d/mina.list | ||
apt-get update | ||
apt-get install --allow-downgrades -y "mina-test-executive=2.0.0rampup3-abstract-engine-5bbaf69" | ||
|
||
|
||
mina-test-executive_2.0.0rampup3-abstract-engine-5bbaf69.deb | ||
|
||
git clone https://github.com/MinaFoundation/lucy-keypairs.git | ||
|
||
mina-test-executive abstract "$TEST_NAME" \ | ||
--network-runner /usr/bin/minimina \ | ||
--config /var/lib/mina/minimina.json \ | ||
--keypairs-path lucy-keypairs | ||
--mina-image "$MINA_IMAGE" \ | ||
--archive-image "$ARCHIVE_IMAGE" \ | ||
--mina-automation-location ./automation \ | ||
| tee "$TEST_NAME.test.log" \ | ||
| logproc -i inline -f '!(.level in ["Debug", "Spam"])' |
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