Skip to content

Commit

Permalink
Add reservation test
Browse files Browse the repository at this point in the history
Signed-off-by: Miroslav Vadkerti <[email protected]>
  • Loading branch information
thrix committed Jul 24, 2024
1 parent 4385509 commit eec2a05
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/sanity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,15 @@ jobs:
sanity:
runs-on: testing-farm
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install dependencies
run: |
pip3 install --user tft-cli
- name: Run testing-farm sanity test
env:
TESTING_FARM_API_TOKEN: ${{ secrets.TESTING_FARM_API_TOKEN }}
run: |
testing-farm request --compose Fedora-40 --plan /testing-farm/sanity --git-url https://gitlab.com/testing-farm/tests
- name: Run testing-farm reservation test
env:
TESTING_FARM_API_TOKEN: ${{ secrets.TESTING_FARM_API_TOKEN }}
run: |
testing-farm reserve --compose Fedora-40 --duration 1 |& tee output <<< "exit"
ssh -oUserKnownHostsFile=/dev/null $(grep -Eo root@[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+ output) return2testingfarm

0 comments on commit eec2a05

Please sign in to comment.