Skip to content

Commit 8facd1a

Browse files
pkhartskphracek
authored andcommitted
Tests use reusable workflows from ci-actions
1 parent acd7622 commit 8facd1a

File tree

4 files changed

+9
-136
lines changed

4 files changed

+9
-136
lines changed

.github/workflows/container-pytest.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.github/workflows/container-tests.yml

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,13 @@ on:
44
- created
55

66
jobs:
7+
check-readme:
8+
uses: "sclorg/ci-actions/.github/workflows/check-readme.yml@main"
79
container-tests:
8-
name: "Container-tests: ${{ matrix.version }} - ${{ matrix.os_test }}"
9-
runs-on: ubuntu-latest
10-
concurrency:
11-
group: container-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
12-
cancel-in-progress: true
13-
strategy:
14-
fail-fast: false
15-
matrix:
16-
version: [ "1.20", "1.22", "1.22-micro", "1.24", "1.26" ]
17-
os_test: [ "fedora", "rhel8", "rhel9", "rhel10", "c9s", "c10s", "rhel9-unsubscribed" ]
18-
test_case: [ "container" ]
19-
20-
if: |
21-
github.event.issue.pull_request
22-
&& (contains(github.event.comment.body, '[test]') || contains(github.event.comment.body, '[test-all]'))
23-
&& contains(fromJson('["OWNER", "MEMBER"]'), github.event.comment.author_association)
24-
steps:
25-
- uses: sclorg/tfaga-wrapper@main
26-
with:
27-
os_test: ${{ matrix.os_test }}
28-
version: ${{ matrix.version }}
29-
test_case: ${{ matrix.test_case }}
30-
public_api_key: ${{ secrets.TF_PUBLIC_API_KEY }}
31-
private_api_key: ${{ secrets.TF_INTERNAL_API_KEY }}
10+
needs: check-readme
11+
uses: "sclorg/ci-actions/.github/workflows/container-tests.yml@main"
12+
with:
13+
enabled-tests: '["container","container-pytest","openshift-4","openshift-pytest"]'
14+
versions: '[ "1.20", "1.22", "1.22-micro", "1.24", "1.26" ]'
15+
openshift-versions: '[ "1.20", "1.22", "1.22-micro", "1.24", "1.26" ]'
16+
secrets: inherit

.github/workflows/openshift-pytests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/openshift-tests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)