chore: amend GHA for docs build #16
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 testing | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
e2e-distribution-registry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Poetry | |
run: | | |
pipx install poetry | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Start Kind Cluster | |
uses: helm/kind-action@v1 | |
with: | |
cluster_name: kind | |
- name: Start distribution-registry | |
run: | | |
./e2e/deploy_distribution_registry.sh | |
- name: Run E2E tests | |
run: | | |
make test-e2e | |
e2e-zot: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install Poetry | |
run: | | |
pipx install poetry | |
- name: Install dependencies | |
run: | | |
make install | |
- name: Start Kind Cluster | |
uses: helm/kind-action@v1 | |
with: | |
cluster_name: kind | |
- name: Start Zot | |
run: | | |
./e2e/deploy_zot.sh | |
- name: Run E2E tests | |
run: | | |
make test-e2e |