forked from ryanj/node-echo
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
30 lines (29 loc) · 1.28 KB
/
openshift-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
on:
issue_comment:
types:
- created
jobs:
openshift-tests:
# This job only runs for '[test] pull request comments by owner, member
name: "RHEL9 tests: imagestream ${{ matrix.version }}"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
version: [ "18-ubi8", "20-ubi8", "18-ubi9", "20-ubi9", "22-ubi9" ]
if: |
github.event.issue.pull_request
&& contains(github.event.comment.body, '[test]')
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
steps:
- uses: sclorg/testing-farm-as-github-action@main
with:
api_key: ${{ secrets.TF_INTERNAL_API_KEY }}
compose: "RHEL-9.4.0-Nightly"
git_url: "https://gitlab.cee.redhat.com/platform-eng-core-services/sclorg-tmt-plans"
git_ref: "master"
tf_scope: "private"
tmt_plan_regex: "rhel9-openshift-pytest"
update_pull_request_status: true
pull_request_status_name: "RHEL9-OpenShift-4 - imagestream test ${{ matrix.version }}"
variables: "REPO_URL=${{ github.server_url }}/${{ github.repository }};REPO_NAME=${{ github.repository }};PR_NUMBER=${{ github.event.issue.number }};OS=rhel9;SINGLE_VERSION=${{ matrix.version }};TEST_NAME=test-openshift-pytest"