Skip to content

Commit

Permalink
fixup tekton
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl committed Nov 19, 2024
1 parent 7d22046 commit f85beb2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
14 changes: 4 additions & 10 deletions .tekton/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,8 @@ spec:
value: $(tasks.parse-metadata.results.source-git-revision)
- name: rapidast_image
value: $(tasks.parse-metadata.results.component-container-image)
- name: kubeconfig_value
valueFrom:
secretKeyRef:
name: $(tasks.provision-eaas-space.results.secretRef)
key: kubeconfig
- name: eaas_secret_name
value: $(tasks.provision-eaas-space.results.secretRef)
- name: test-filter
value: test_integration.py

Expand All @@ -144,11 +141,8 @@ spec:
value: $(tasks.parse-metadata.results.source-git-revision)
- name: rapidast_image
value: $(tasks.parse-metadata.results.component-container-image)
- name: kubeconfig_value
valueFrom:
secretKeyRef:
name: $(tasks.provision-eaas-space-nessus.results.secretRef)
key: kubeconfig
- name: eaas_secret_name
value: $(tasks.provision-eaas-space-nessus.results.secretRef)
- name: test-filter
value: test_nessus.py

Expand Down
7 changes: 5 additions & 2 deletions .tekton/run-e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
type: string
- name: rapidast_image
type: string
- name: kubeconfig_value
- name: eaas_secret_name
type: string
- name: test_filter
type: string
Expand Down Expand Up @@ -40,7 +40,10 @@ spec:
- name: KUBECONFIG
value: /tmp/kubeconfig
- name: KUBECONFIG_VALUE
value: $(params.kubeconfig_value)
valueFrom:
secretKeyRef:
name: $(params.eaas_secret_name)
key: kubeconfig
- name: RAPIDAST_CLEANUP
value: "false" # namespace will be cleaned up automatically
- name: RAPIDAST_IMAGE
Expand Down

0 comments on commit f85beb2

Please sign in to comment.