Skip to content
This repository was archived by the owner on Oct 14, 2020. It is now read-only.

Commit fce7d09

Browse files
committed
Change read-write-hook-test to general test-scan
We decided to create a test-scan that we can use in different tests like testing the existence of the operator or hooks
1 parent 4943533 commit fce7d09

File tree

20 files changed

+46
-180
lines changed

20 files changed

+46
-180
lines changed

.github/workflows/ci.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,15 @@ jobs:
157157
path: ./integrations/sslyze/parser/
158158
tag_with_ref: true
159159
tag_with_sha: true
160+
- uses: docker/build-push-action@v1
161+
name: "Build & Push test-scan Parser Image"
162+
with:
163+
username: ${{ secrets.DOCKER_USERNAME }}
164+
password: ${{ secrets.DOCKER_PASSWORD }}
165+
repository: scbexperimental/parser-test-scan
166+
path: ./integrations/nmap/parser/
167+
tag_with_ref: true
168+
tag_with_sha: true
160169
- uses: docker/build-push-action@v1
161170
name: "Build & Push Trivy Parser Image"
162171
with:
@@ -246,6 +255,15 @@ jobs:
246255
path: ./integrations/kube-hunter/scanner/
247256
# Note: not prefixed with a "v" as this matches the aquasec/kube-hunter tags
248257
tags: "0.3.0,latest"
258+
- uses: docker/build-push-action@v1
259+
name: "Build & Push test-scan Scanner Image"
260+
with:
261+
username: ${{ secrets.DOCKER_USERNAME }}
262+
password: ${{ secrets.DOCKER_PASSWORD }}
263+
repository: scbexperimental/test-scan
264+
path: ./integrations/test-scan/scanner/
265+
# Note: not prefixed with a "v" as this seems to match nmap versioning standards
266+
tags: "latest"
249267
integrationTests:
250268
name: "Test / Integration / k8s ${{ matrix.k8sVersion }}"
251269
needs:

integrations/read-write-hook-test/parser/parser.test.js

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

integrations/read-write-hook-test/scanner/Dockerfile

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

integrations/read-write-hook-test/values.yaml

Lines changed: 0 additions & 4 deletions
This file was deleted.
File renamed without changes.

integrations/read-write-hook-test/Chart.yaml renamed to integrations/test-scan/Chart.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
apiVersion: v2
2-
name: read-write-hook-test
3-
description: A Helm chart to test the integration of read and write hooks.
2+
name: test-scan
3+
description: A Helm chart to test the secureCodeBox operator
44

55
type: application
66
version: 0.1.0
77
appVersion: 0.1.0
88

99
keywords:
1010
- security
11-
- readWriteHook
1211
- scanner
1312
- secureCodeBox
1413
- integrationTest
1514
- test
16-
home: https://www.securecodebox.io/scanner/Nmap
17-
icon: https://www.securecodebox.io/integrationIcons/Nmap.svg
1815
sources:
1916
- https://github.com/secureCodeBox/secureCodeBox
2017
maintainers:
File renamed without changes.
File renamed without changes.
File renamed without changes.

integrations/read-write-hook-test/parser/package-lock.json renamed to integrations/test-scan/parser/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)