Skip to content

Commit cd3a98e

Browse files
pkhartskphracek
authored andcommitted
Tests use reusable workflows from ci-actions
1 parent 6f5cb29 commit cd3a98e

File tree

5 files changed

+8
-169
lines changed

5 files changed

+8
-169
lines changed

.github/workflows/container-fips-tests.yml

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

.github/workflows/container-pytests.yml

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

.github/workflows/container-tests.yml

Lines changed: 8 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,12 @@ on:
33
types:
44
- created
55
jobs:
6+
check-readme:
7+
uses: "sclorg/ci-actions/.github/workflows/check-readme.yml@main"
68
container-tests:
7-
# This job only runs for '[test]' pull request comments by owner, member
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: [ "20", "20-minimal", "22", "22-minimal", "24", "24-minimal" ]
17-
os_test: [ "fedora", "rhel8", "rhel9", "rhel10", "c9s", "c10s" ]
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 }}
9+
uses: "sclorg/ci-actions/.github/workflows/container-tests.yml@main"
10+
with:
11+
enabled-tests: '["container","container-pytest","openshift-4","openshift-pytest","container-fips"]'
12+
versions: '[ "20", "20-minimal", "22", "22-minimal", "24", "24-minimal" ]'
13+
openshift-versions: '[ "20", "20-minimal", "22", "22-minimal", "24", "24-minimal" ]'
14+
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)