Skip to content

Commit

Permalink
Update docker images for e2e tests to gaia v4 (informalsystems#603)
Browse files Browse the repository at this point in the history
* Update to gaia v4. Removed older/useless log files

* Added chain files for gaia v4

* Updating files for gaia v4 (informalsystems#603)

* changelog

Co-authored-by: Andy Nogueira <[email protected]>
  • Loading branch information
adizere and andynog authored Feb 3, 2021
1 parent 03cb9ca commit 74dcad5
Show file tree
Hide file tree
Showing 30 changed files with 1,731 additions and 199 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

### FEATURES

- Continous Integration (CI) end-to-end (e2e) testing ([#32])
- Continous Integration (CI) end-to-end (e2e) testing with gaia v4 ([#32],[#602])
- Add support for streamlining releases ([#507])

- [relayer-cli]
Expand Down Expand Up @@ -85,6 +85,7 @@
[#583]: https://github.com/informalsystems/ibc-rs/issues/583
[#590]: https://github.com/informalsystems/ibc-rs/issues/590
[#593]: https://github.com/informalsystems/ibc-rs/issues/593
[#602]: https://github.com/informalsystems/ibc-rs/issues/602

## v0.0.6
*December 23, 2020*
Expand Down
3 changes: 2 additions & 1 deletion ci/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/gaia/**/*
data/**/*
data/**/*
*.log
10 changes: 7 additions & 3 deletions ci/build-ibc-chains.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#!/usr/bin/env bash

## Programmatic list for creating Gaia Hub chains for testing IBC.
## Instead of blindly running this code, read it line by line and understand the dependecies and tasks.
## Instead of blindly running this code, read it line by line and understand the dependencies and tasks.
## Prerequisites: Log into Docker Hub
set -eou pipefail
GAIA_BRANCH="v3.0.0" # Requires a version with the `--keyring-backend` option. v2.1 and above.

## After updating the gaia version below, double-check the following (see readme.md also):
## - the new version made it to docker hub, and is available for download, e.g. `docker pull informaldev/ibc-1:v4.0.0`
## - the image versions and the relayer release in `docker-compose.yml` are consistent with the new version
GAIA_BRANCH="v4.0.0" # Requires a version with the `--keyring-backend` option. v2.1 and above.

BASE_DIR="$(dirname $0)"
ONE_CHAIN="$BASE_DIR/../scripts/one-chain"
Expand Down Expand Up @@ -50,6 +54,6 @@ echo "*** Create Docker image and upload to Docker Hub"
docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-0 -f --no-cache -t informaldev/ibc-0:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" .
docker build --build-arg CHAIN=gaia --build-arg RELEASE=$GAIA_BRANCH --build-arg NAME=ibc-1 -f --no-cache -t informaldev/ibc-1:$GAIA_BRANCH -f "$BASE_DIR/gaia.Dockerfile" .

read -p "Press ENTER to push image to Docker Hub or CTRL-C to cancel. " dontcare
read -p "Press ANY KEY to push image to Docker Hub, or CTRL-C to cancel. " dontcare
docker push informaldev/ibc-0:$GAIA_BRANCH
docker push informaldev/ibc-1:$GAIA_BRANCH
93 changes: 0 additions & 93 deletions ci/chains/gaia/v3.0.0/ibc-0.log

This file was deleted.

Loading

0 comments on commit 74dcad5

Please sign in to comment.