Skip to content

tests: end-to-end with Oras CP (#3) #13

tests: end-to-end with Oras CP (#3)

tests: end-to-end with Oras CP (#3) #13

Workflow file for this run

name: E2E
on:
push:
branches:
- main
pull_request:
jobs:
e2e-skopeo:
name: E2E using Skopeo
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Skopeo
run: |
sudo apt-get update && sudo apt-get install skopeo
skopeo --version
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- 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-skopeo
e2e-oras:
name: E2E using Oras CP
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install oras
uses: oras-project/setup-oras@v1
- run: oras version
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9'
- 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-oras