Updated README.md #780
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
name: e2e tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
e2e: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
build: | |
- mode: env | |
protocol: https | |
- mode: file | |
protocol: http | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup jq | |
uses: dcarbone/install-jq-action@v2 | |
- name: Install kind with registry | |
uses: bakito/kind-with-registry-action@main | |
- name: Build image | |
run: ./testdata/e2e/bin/build-image.sh | |
- name: Install Helm Chart | |
run: ./testdata/e2e/bin/install-chart.sh ${{ matrix.build.mode }} | |
- name: Wait for pod to start | |
run: ./testdata/e2e/bin/wait-for-start.sh ${{ matrix.build.protocol }} | |
- name: Show origin pre Logs | |
run: ./testdata/e2e/bin/show-origin-logs.sh pre | |
- name: Wait for sync to finish | |
run: ./testdata/e2e/bin/wait-for-sync.sh ${{ matrix.build.protocol }} | |
- name: Show origin post Logs | |
run: ./testdata/e2e/bin/show-origin-logs.sh post | |
- name: Show Replica Logs | |
run: ./testdata/e2e/bin/show-replica-logs.sh | |
- name: Show Sync Logs | |
run: ./testdata/e2e/bin/show-sync-logs.sh | |
- name: Show Sync Metrics | |
run: ./testdata/e2e/bin/show-sync-metrics.sh ${{ matrix.build.protocol }} | |
- name: Read latest replica config | |
run: ./testdata/e2e/bin/read-latest-replica-config.sh |