Skip to content

✨ End to end tests #13

✨ End to end tests

✨ End to end tests #13

Workflow file for this run

name: End-to-end tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
e2e:
runs-on: ubuntu-latest
environment: e2e
env:
IONOS_TOKEN: ${{ secrets.IONOS_TOKEN }}
IONOSCLOUD_MACHINE_IMAGE_ID: ${{ vars.IONOSCLOUD_MACHINE_IMAGE_ID }}
CONTROL_PLANE_ENDPOINT_LOCATION: ${{ vars.CONTROL_PLANE_ENDPOINT_LOCATION }}
steps:
- uses: actions/checkout@v4
- name: Setup Go environment
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Install kubectl and kustomize
run: |
sudo snap install kubectl --classic
sudo snap install kustomize
- name: Build image
run: make docker-build
- name: Run e2e tests
run: make GINKGO_LABEL="!Conformance" test-e2e
- name : Upload artifacts
uses: actions/upload-artifact@v4
if: success() || failure()
with:
name: logs
path: _artifacts
retention-days: 7