Skip to content

Commit 74665bf

Browse files
committed
add new CI job to test testnet deployment
1 parent 3d1bcbd commit 74665bf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

.gitlab-ci.yml

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ include:
1717
- local: /gitlab-ci/config/20--test--python.yml
1818
- local: /gitlab-ci/config/20--test--container-image-autobuild.yml
1919
- local: /gitlab-ci/config/20--test--dependencies.yml
20+
- local: /gitlab-ci/config/20--test--testnet-deployment.yml
2021
- local: /gitlab-ci/config/21--test--bins.yml
2122
- local: /gitlab-ci/config/40--cargo-test--benchmarks.yml
2223
- local: /gitlab-ci/config/46--guest-os-build--guest-base-image.yml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Remove this test as soon as testnets have been removed from release pipeline
2+
test-testnet-deployment:
3+
extends:
4+
- .ubuntu-k8s
5+
- .rules-protected-branch
6+
stage: test
7+
resource_group: $TESTNET
8+
variables:
9+
TESTNET : "small14"
10+
timeout: 30 minutes
11+
script:
12+
- |
13+
set -eExou pipefail
14+
GIT_REVISION=$("$CI_PROJECT_DIR"/gitlab-ci/src/artifacts/newest_sha_with_disk_image.sh "${CI_COMMIT_SHA}")
15+
"$CI_PROJECT_DIR/testnet/tools/icos_deploy.sh" $TESTNET --git-revision "$GIT_REVISION" --no-boundary-nodes

0 commit comments

Comments
 (0)