-
Notifications
You must be signed in to change notification settings - Fork 63
54 lines (52 loc) · 1.66 KB
/
e2e-feature-baremetal.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: E2E Baremetal Feature
on:
workflow_dispatch:
env:
IMAGE_NAME: caph-staging
REGISTRY: ghcr.io/syself
metadata_flavor: latest=false
metadata_tags: type=sha
registry_password: ${{ secrets.GITHUB_TOKEN }}
jobs:
manager-image:
name: Build and push manager image
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Build and push manager image
id: manager-image
uses: ./.github/actions/manager-image
test-release:
name: Test Release
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Test Release
id: manager-image
uses: ./.github/actions/test-release
e2e-hetzner-baremetal-feature:
name: Test Hetzner Baremetal Features
concurrency: ci-${{ github.ref }}-e2e-baremetal-hetzner
runs-on: ubuntu-latest
permissions:
# Required for hcloud TPS
id-token: write
needs:
- manager-image
- test-release
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Run e2e Test
id: e2e
uses: ./.github/actions/e2e
with:
e2e_name: hetzner-baremetal-feature
e2e_make_target: test-e2e-baremetal-feature
e2e_hcloud_token: ${{ secrets.HCLOUD_TOKEN }}
e2e_robot_user: ${{ secrets.HETZNER_ROBOT_USER }}
e2e_robot_password: ${{ secrets.HETZNER_ROBOT_PASSWORD }}
e2e_ssh_pub: ${{ secrets.HETZNER_SSH_PUB }}
e2e_ssh_priv: ${{ secrets.HETZNER_SSH_PRIV }}