Skip to content

Commit 364d8e7

Browse files
committed
Add GitHub Action for FIPS enabled mode
Signed-off-by: Petr "Stone" Hracek <[email protected]>
1 parent 5c26c8a commit 364d8e7

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
on:
2+
issue_comment:
3+
types:
4+
- created
5+
jobs:
6+
container-tests:
7+
# This job only runs for '[test]' pull request comments by owner, member
8+
name: "Container tests with FIPS enabled: ${{ matrix.version }} - ${{ matrix.os_test }}"
9+
runs-on: ubuntu-latest
10+
concurrency:
11+
group: container-fips-${{ github.event.issue.number }}-${{ matrix.version }}-${{ matrix.os_test }}
12+
cancel-in-progress: true
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
version: [ "30", "33" ]
17+
os_test: [ "rhel9", "rhel10" ]
18+
test_case: [ "container-fips" ]
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 }}

0 commit comments

Comments
 (0)