-
Notifications
You must be signed in to change notification settings - Fork 674
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #253 from kurtosis-tech/master
Adding E2E Tests to CircleCI
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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,16 @@ | ||
SCRIPTS_PATH=$(cd $(dirname "${BASH_SOURCE[0]}"); pwd) | ||
SRC_PATH=$(dirname "${SCRIPTS_PATH}") | ||
# Build the runnable Gecko docker image | ||
bash "${SRC_PATH}"/scripts/build_image.sh | ||
GECKO_IMAGE=$(docker image ls --format="{{.Repository}}" | head -n 1) | ||
|
||
# Turn off GO111MODULE to pull e2e test source code in order to get run script. | ||
GO111MODULE=off go get -t -v github.com/kurtosis-tech/ava-e2e-tests/... | ||
cd "${GOPATH}"/src/github.com/kurtosis-tech/ava-e2e-tests/ || exit | ||
|
||
bash "./scripts/rebuild_initializer_binary.sh" | ||
bash "./scripts/rebuild_controller_image.sh" | ||
# TODO: Make the controller image label a parameter to rebuild_controller_image script | ||
# Standard controller image label used by above scripts. | ||
CONTROLLER_IMAGE="kurtosistech/ava-e2e-tests_controller:latest" | ||
./build/ava-e2e-tests --gecko-image-name="${GECKO_IMAGE}" --test-controller-image-name="${CONTROLLER_IMAGE}" --test-names="fiveStakingNodeGetValidatorsTest,fiveStakingNodeFullyConnectedTest" |
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