Skip to content

Commit

Permalink
Use devnet packages in connectivity tests. Do not connect to berkeley…
Browse files Browse the repository at this point in the history
… network
  • Loading branch information
dkijania committed Nov 10, 2024
1 parent 862035d commit 7550f26
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
set -eo pipefail

case "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" in
rampup|berkeley|release/2.0.0|develop)
compatible|release/*|develop|master)
;;
*)
echo "Not pulling against rampup, not running the connect test"
echo "Not pulling against mainline branch, not running the connect test"
exit 0 ;;
esac

Expand All @@ -16,7 +16,7 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y git apt-transport-https ca-certificates tzdata curl

TESTNET_VERSION_NAME="berkeley"
TESTNET_VERSION_NAME="devnet"
TESTNET_NAME="testworld-2-0"

git config --global --add safe.directory /workdir
Expand Down
6 changes: 3 additions & 3 deletions buildkite/scripts/connect-to-testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ if [[ $# -ne 3 ]]; then
exit 1
fi

TESTNET_VERSION_NAME="berkeley"
TESTNET_VERSION_NAME="devnet"
TESTNET_NAME=$1
WAIT_BETWEEN_POLLING_GRAPHQL=$2
WAIT_AFTER_FINAL_CHECK=$3

case "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" in
rampup|berkeley|release/2.0.0|develop)
compatible|release/*|develop|master)
;;
*)
echo "Not pulling against rampup, not running the connect test"
echo "Not pulling against mainline branch, not running the connect test"
exit 0 ;;
esac

Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Constants/DebianVersions.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ let bullseyeDirtyWhen =
[ S.strictlyStart (S.contains "src")
, S.strictlyStart (S.contains "automation")
, S.strictly (S.contains "Makefile")
, S.exactly "buildkite/scripts/connect-to-berkeley" "sh"
, S.exactly "buildkite/scripts/connect-to-devnet" "sh"
, S.exactly "buildkite/scripts/connect-to-mainnet-on-compatible" "sh"
, S.exactly "buildkite/scripts/rosetta-integration-tests" "sh"
, S.exactly "buildkite/scripts/rosetta-integration-tests-full" "sh"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ let Dockers = ../../Constants/DockerVersions.dhall
let dependsOn =
Dockers.dependsOn
Dockers.Type.Bullseye
(Some Network.Type.Berkeley)
(Some Network.Type.Devnet)
Profiles.Type.Standard
Artifacts.Type.Daemon

Expand All @@ -33,17 +33,17 @@ in Pipeline.build
, dirtyWhen =
[ S.strictlyStart (S.contains "src")
, S.exactly "buildkite/scripts/connect-to-testnet" "sh"
, S.exactly "buildkite/src/Jobs/Test/ConnectToBerkeley" "dhall"
, S.exactly "buildkite/src/Jobs/Test/ConnectToDevnet" "dhall"
, S.exactly "buildkite/src/Command/ConnectToTestnet" "dhall"
]
, path = "Test"
, name = "ConnectToBerkeley"
, name = "ConnectToDevnet"
, tags = [ PipelineTag.Type.Long, PipelineTag.Type.Test ]
}
, steps =
[ ConnectToTestnet.step
dependsOn
"berkeley"
"devnet"
"40s"
"2m"
(B/SoftFail.Boolean True)
Expand Down

0 comments on commit 7550f26

Please sign in to comment.