forked from rancher/rancher
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (43 loc) · 1.39 KB
/
provisioning-tests.yml
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: Provisioning tests
on:
pull_request:
branches:
- release/v*
push:
branches:
- release/v*
tags:
- v*
jobs:
provisioning_tests:
strategy:
fail-fast: false
matrix:
include:
- V2PROV_TEST_DIST: "k3s"
V2PROV_TEST_RUN_REGEX: "^Test_(General|Provisioning)_.*$"
- V2PROV_TEST_DIST: "rke2"
V2PROV_TEST_RUN_REGEX: "^Test_(General|Provisioning)_.*$"
- V2PROV_TEST_DIST: "k3s"
V2PROV_TEST_RUN_REGEX: "^Test_Operation_.*$"
- V2PROV_TEST_DIST: "rke2"
V2PROV_TEST_RUN_REGEX: "^Test_Operation_SetA_.*$"
- V2PROV_TEST_DIST: "rke2"
V2PROV_TEST_RUN_REGEX: "^Test_Operation_SetB_.*$"
name: Provisioning tests
runs-on: runs-on,runner=8cpu-linux-x64,image=legacy-cgroups-for-x64,run-id=${{ github.run_id }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: testdata
run: mkdir -p build/testdata
- name: Install Dapper
run: |
curl -sL https://releases.rancher.com/dapper/latest/dapper-$(uname -s)-$(uname -m) > ./.dapper
chmod +x ./.dapper
- name: Run tests
run: ./.dapper provisioning-tests
env:
DRONE_BUILD_EVENT: "${{ github.event_name }}"
V2PROV_TEST_RUN_REGEX: "${{ matrix.V2PROV_TEST_RUN_REGEX }}"
V2PROV_TEST_DIST: "${{ matrix.V2PROV_TEST_DIST }}"