From ecf1ae511c97f92e1e7a49a9978932a5830368fa Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Mon, 26 Aug 2024 19:29:28 +0500 Subject: [PATCH 1/2] ci: input tag for a3p --- .github/workflows/e2e_tests.yml | 5 +++++ tests/e2e/docker-compose.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index cab4c31..df473e8 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -24,6 +24,10 @@ on: phrase: description: 'The mnemonic phrase for the account to use in testing' required: false + type: string + a3p_image_tag: + description: 'Docker image tag for the a3p chain to use in testing' + required: false type: string concurrency: @@ -53,6 +57,7 @@ jobs: SYNPRESS_PROFILE: ${{ env.NETWORK != 'local' && 'daily-tests' || 'synpress' }} CYPRESS_AGORIC_NET: ${{ env.NETWORK }} # for docker-compose.yml + A3P_IMAGE_TAG: ${{ inputs.a3p_image_tag || 'latest'}} COMPOSE_DOCKER_CLI_BUILD: 1 DOCKER_BUILDKIT: 1 DOCKER_DEFAULT_PLATFORM: linux/amd64 diff --git a/tests/e2e/docker-compose.yml b/tests/e2e/docker-compose.yml index a819f43..96b5811 100644 --- a/tests/e2e/docker-compose.yml +++ b/tests/e2e/docker-compose.yml @@ -104,7 +104,7 @@ services: profiles: - synpress container_name: agoric_chain - image: ghcr.io/agoric/agoric-3-proposals:latest + image: ghcr.io/agoric/agoric-3-proposals:${A3P_IMAGE_TAG} logging: driver: none platform: linux/amd64 From a71db290234abbb6a0847d47afd18fa8bb84d7df Mon Sep 17 00:00:00 2001 From: rabi-siddique Date: Mon, 26 Aug 2024 19:32:51 +0500 Subject: [PATCH 2/2] docs: update README.md heading --- .github/workflows/e2e_tests.yml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e_tests.yml b/.github/workflows/e2e_tests.yml index df473e8..7247ec8 100644 --- a/.github/workflows/e2e_tests.yml +++ b/.github/workflows/e2e_tests.yml @@ -24,7 +24,7 @@ on: phrase: description: 'The mnemonic phrase for the account to use in testing' required: false - type: string + type: string a3p_image_tag: description: 'Docker image tag for the a3p chain to use in testing' required: false diff --git a/README.md b/README.md index 3f0273b..a23d249 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ To deploy, push to that branch. e.g. if you've qualified main, git push origin main:beta ``` -## Testing +## E2E Testing E2E tests have been written in order to test the dapp as well as to perform automated testing on emerynet/devnet when upgrading the chain