Add multihost workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Integration tests in multi-host mode | |
on: | |
push: | |
branches: [main, hirte-*] | |
pull_request: | |
branches: [main, hirte-*] | |
workflow_dispatch: | |
inputs: | |
image: | |
description: The mode used for running BlueChi's Integration Tests on testing farm | |
required: true | |
type: choice | |
options: | |
- container | |
- multi-host | |
jobs: | |
ghrelease: | |
name: Run Integration Tests on testing farm | |
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 request \ | |
--path tests \ | |
--git-ref add-multihost-workflow \ | |
--git-url https://github.com/eclipse-bluechi/bluechi.git \ | |
--compose Fedora-Rawhide \ | |
--plan container \ | |
--pipeline-type tmt-multihost |