@@ -38,12 +38,21 @@ jobs:
3838 tags : quay.io/redhat-best-practices-for-k8s/certsuite:localtest
3939 outputs : type=docker,dest=/tmp/testimage.tar
4040
41+ - name : Build the binary
42+ run : make build-certsuite-tool
43+
4144 - name : Store image as artifact
4245 uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
4346 with :
4447 name : testimage
4548 path : /tmp/testimage.tar
4649
50+ - name : Store binary as artifact
51+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
52+ with :
53+ name : certsuite-binary
54+ path : ./certsuite
55+
4756 qe-ocp-418-intrusive-testing :
4857 name : QE OCP 4.18 Tests (${{ matrix.suite }} - ${{ matrix.run-type }})
4958 runs-on : ubuntu-24.04
@@ -110,6 +119,17 @@ jobs:
110119 name : testimage
111120 path : /tmp
112121
122+ - name : Download binary from artifact
123+ if : matrix.run-type == 'binary'
124+ uses : actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
125+ with :
126+ name : certsuite-binary
127+ path : .
128+
129+ - name : Make binary executable
130+ if : matrix.run-type == 'binary'
131+ run : chmod +x ./certsuite
132+
113133 - name : Load image into docker
114134 if : matrix.run-type == 'image'
115135 run : docker load --input /tmp/testimage.tar
@@ -122,10 +142,6 @@ jobs:
122142 max_attempts : 3
123143 command : cd ${GITHUB_WORKSPACE}/certsuite-qe; FEATURES=${{matrix.suite}} CERTSUITE_REPO_PATH=${GITHUB_WORKSPACE} CERTSUITE_IMAGE=${{env.TEST_CERTSUITE_IMAGE_NAME}} CERTSUITE_IMAGE_TAG=${{env.TEST_CERTSUITE_IMAGE_TAG}} JOB_ID=${{github.run_id}} DISABLE_INTRUSIVE_TESTS=false ENABLE_PARALLEL=false ENABLE_FLAKY_RETRY=true make test-features
124144
125- - name : Build the binary
126- if : matrix.run-type == 'binary'
127- run : make build-certsuite-tool
128-
129145 - name : Run the tests (against binary)
130146 if : matrix.run-type == 'binary'
131147 uses : nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
0 commit comments