Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the V1 migration test to integration runs #921

Merged
merged 2 commits into from
Aug 4, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Update manifest to latest commit for every service
run: ./manifestgen.sh head

- name: Pull latests FireFly build
- name: Pull latest FireFly build
run: |
docker pull ghcr.io/hyperledger/firefly:head
docker tag ghcr.io/hyperledger/firefly:head hyperledger/firefly
Expand All @@ -56,3 +56,39 @@ jobs:
with:
name: container-logs-${{ matrix.test-suite }}-${{ matrix.blockchain-provider }}-${{ matrix.database-type }}
path: containerlogs/logs.txt

migration-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17

- name: Update manifest to latest commit for every service
run: ./manifestgen.sh head

- name: Pull latest FireFly build
run: |
docker pull ghcr.io/hyperledger/firefly:head
docker tag ghcr.io/hyperledger/firefly:head hyperledger/firefly

- name: Run E2E tests
env:
TEST_SUITE: TestEthereumV1MigrationE2ESuite
BLOCKCHAIN_PROVIDER: geth
DATABASE_TYPE: postgres
BUILD_FIREFLY: false
RESTART: false
run: ./test/e2e/run.sh

- name: Archive container logs
uses: actions/upload-artifact@v2
if: always()
with:
name: container-logs-TestEthereumV1MigrationE2ESuite-geth-postgres
path: containerlogs/logs.txt