-
Notifications
You must be signed in to change notification settings - Fork 258
43 lines (37 loc) · 1.27 KB
/
Copy pathtest-version-delta.yml
File metadata and controls
43 lines (37 loc) · 1.27 KB
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
name: Test Version Delta
on:
pull_request:
paths-ignore:
- "**.md"
- "**.jpg"
- "**.png"
- "**.gif"
- "**.svg"
- "adr/**"
- "docs/**"
- "CODEOWNERS"
merge_group:
# Abort prior jobs in the same workflow / PR
concurrency:
group: e2e-version-delta-${{ github.ref }}
cancel-in-progress: true
jobs:
version-delta:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- name: Setup golang
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version-file: go.mod
- name: Build PR binary and zarf init package
uses: ./.github/actions/packages
- name: Install release version of Zarf
uses: zarf-dev/setup-zarf@10e539efed02f75ec39eb8823e22a5c795f492ae #v1.0.1
with:
download-init-package: true
- name: Initialize the cluster with the release version
# Test will initialize the cluster with the latest released version package, with the current built binary
run: |
sudo env CI=true ./build/zarf init --components k3s,git-server --nodeport 31337 --confirm ${HOME}/.zarf-cache/zarf-init-amd64-$(zarf version).tar.zst