forked from eclipse-bluechi/bluechi
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (56 loc) · 1.68 KB
/
multihost-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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Integration tests in multi-host mode
on:
workflow_dispatch:
inputs:
composes:
description: Name of the OS image to use
required: true
type: choice
# based on:
# https://api.dev.testing-farm.io/v0.1/composes
options:
- Fedora-37
- Fedora-37-aarch64
- Fedora-38
- Fedora-38-aarch64
- Fedora-39
- Fedora-40
- Fedora-40-aarch64
- Fedora-latest
- Fedora-latest-aarch64
- Fedora-Rawhide
- Fedora-Rawhide-aarch64
- CentOS-7
- CentOS-7-aarch64
- CentOS-Stream-8
- CentOS-Stream-8-aarch64
- CentOS-Stream-9
- CentOS-Stream-9-aarch64
- CentOS-Stream-10
jobs:
ghrelease:
name: Run Integration Tests on testing farm in multihost mode
runs-on: ubuntu-latest
container:
image: quay.io/bluechi/build-base:latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'true'
- name: Install testing farm CLI
run: |
python3 -m ensurepip --default-pip
python3 -m pip install --upgrade pip
python3 -m pip install tft-cli
- name: Start Integration Tests on testing farm
run: |
testing-farm version
TESTING_FARM_API_TOKEN=${{ secrets.TESTING_FARM_API_TOKEN }} testing-farm request \
--path tests \
--git-ref ${{ github.ref_name }} \
--git-url https://github.com/eclipse-bluechi/bluechi.git \
--compose ${{ inputs.composes }} \
--plan multihost \
--pipeline-type tmt-multihost