Skip to content

Commit f9060e5

Browse files
committed
Merge remote-tracking branch 'upstream/dev' into pr/eranturgeman/241
2 parents a20fa43 + fc3c156 commit f9060e5

File tree

5 files changed

+81
-35
lines changed

5 files changed

+81
-35
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
# Environment variables shared across all jobs.
1919
env:
2020
GOPROXY: direct
21-
GO_COMMON_TEST_ARGS: "-v github.com/jfrog/jfrog-cli-security --race --timeout 30m --jfrog.url=${{ secrets.PLATFORM_URL }} --jfrog.adminToken=${{ secrets.PLATFORM_ADMIN_TOKEN }}"
21+
GO_COMMON_TEST_ARGS: "-v github.com/jfrog/jfrog-cli-security --race --timeout 30m --jfrog.url=${{ secrets.PLATFORM_URL }} --jfrog.adminToken=${{ secrets.PLATFORM_ADMIN_TOKEN }} --test.containerRegistry=${{ secrets.CONTAINER_REGISTRY }}"
2222
GRADLE_OPTS: -Dorg.gradle.daemon=false
2323
CI: true
2424
JFROG_CLI_LOG_LEVEL: DEBUG
@@ -180,6 +180,10 @@ jobs:
180180
# Test
181181
- name: Run tests
182182
run: go test ${{ env.GO_COMMON_TEST_ARGS }} --test.xsc
183+
if: ${{ matrix.os != 'ubuntu' }}
184+
- name: Run security tests (with Docker Scan)
185+
run: go test ${{ env.GO_COMMON_TEST_ARGS }} --test.xsc --test.dockerScan --ci.runId=${{ runner.os }}-sec-test
186+
if: ${{ matrix.os == 'ubuntu' }}
183187

184188
Other_Scan_Commands_Integration_Tests:
185189
name: "[${{ matrix.os }}] Other Scan Commands Integration Tests"
@@ -204,7 +208,7 @@ jobs:
204208
run: go test ${{ env.GO_COMMON_TEST_ARGS }} --test.scan
205209
if: ${{ matrix.os != 'ubuntu' }}
206210
- name: Run security tests (with Docker Scan)
207-
run: go test ${{ env.GO_COMMON_TEST_ARGS }} --test.scan --test.dockerScan --test.containerRegistry=${{ secrets.CONTAINER_REGISTRY }} --ci.runId=${{ runner.os }}-sec-test
211+
run: go test ${{ env.GO_COMMON_TEST_ARGS }} --test.scan --test.dockerScan --ci.runId=${{ runner.os }}-sec-test
208212
if: ${{ matrix.os == 'ubuntu' }}
209213

210214
Other_Commands_Integration_Tests:

0 commit comments

Comments
 (0)