Skip to content

Test deployment locally with tmt (from packit branch) #9

Test deployment locally with tmt (from packit branch)

Test deployment locally with tmt (from packit branch) #9

Workflow file for this run

name: Schedule test on Testing Farm
on:
pull_request:
# on:
# issue_comment:
# types:
# - created
# The concurrency key is used to prevent multiple workflows from running at the same time
concurrency:
group: my-concurrency-group
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
# if: |
# github.event.issue.pull_request
# && contains(github.event.comment.body, '[test]')
# && contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
steps:
- name: Schedule test on Testing Farm
uses: sclorg/testing-farm-as-github-action@v2
with:
api_key: ${{ secrets.TF_API_KEY }}
git_url: "https://github.com/packit/deployment"
git_ref: "tf-openshift-tests"
tmt_plan_regex: "deployment"
tmt_hardware: "memory='>12GB'"
pull_request_status_name: "Deployment"
create_issue_comment: true
timeout: 3600
secrets: CRC_PULL_SECRET=${{ secrets.CRC_PULL_SECRET }}