-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: odubajDT <[email protected]>
- Loading branch information
Showing
17 changed files
with
406 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
24 changes: 24 additions & 0 deletions
24
.github/actions/deploy-keptn-on-cluster/values/values-integration-allowed-namespaces.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
|
||
certManager: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
metricsOperator: | ||
enabled: false | ||
|
||
lifecycleOperator: | ||
lifecycleOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
env: | ||
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG | ||
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG | ||
scheduler: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
allowedNamespaces: [allowed-ns-test] |
13 changes: 13 additions & 0 deletions
13
.github/actions/deploy-keptn-on-cluster/values/values-integration-cert-manager.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
|
||
certManager: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
metricsOperator: | ||
enabled: false | ||
|
||
lifecycleOperator: | ||
enabled: false |
27 changes: 27 additions & 0 deletions
27
...ions/deploy-keptn-on-cluster/values/values-integration-gates_off-cert_manager_io_off.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
|
||
certManager: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
metricsOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
lifecycleOperator: | ||
promotionTasksEnabled: true | ||
lifecycleOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
env: | ||
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG | ||
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG | ||
scheduler: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
schedulingGatesEnabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,3 +22,4 @@ lifecycleOperator: | |
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
schedulingGatesEnabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.github/actions/deploy-keptn-on-cluster/values/values-integration-lifecycle.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
|
||
certManager: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
metricsOperator: | ||
enabled: false | ||
|
||
lifecycleOperator: | ||
lifecycleOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
env: | ||
functionRunnerImage: localhost:5000/keptn/deno-runtime:$TAG | ||
pythonRunnerImage: localhost:5000/keptn/python-runtime:$TAG | ||
scheduler: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
schedulingGatesEnabled: true |
15 changes: 15 additions & 0 deletions
15
...ctions/deploy-keptn-on-cluster/values/values-integration-metrics-cert_manager_io_off.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
|
||
certManager: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
metricsOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
lifecycleOperator: | ||
enabled: false |
13 changes: 13 additions & 0 deletions
13
...actions/deploy-keptn-on-cluster/values/values-integration-metrics-cert_manager_io_on.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
global: | ||
imageRegistry: "localhost:5000" | ||
certManagerEnabled: false | ||
caInjectionAnnotations: | ||
cert-manager.io/inject-ca-from: keptn-system/keptn-certs | ||
|
||
metricsOperator: | ||
imagePullPolicy: Never | ||
image: | ||
tag: $TAG | ||
|
||
lifecycleOperator: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Integration-Test-Allowed-Namespaces | ||
on: | ||
workflow_call: | ||
inputs: | ||
runtime_tag: | ||
description: "Tag for the deno and python runner images" | ||
type: "string" | ||
required: true | ||
|
||
# Declare default permissions as read only. | ||
permissions: read-all | ||
|
||
env: | ||
GO_VERSION: "~1.21" | ||
defaults: | ||
run: | ||
shell: bash | ||
|
||
jobs: | ||
run-integration-test-allowed-namespaces: | ||
name: Run Chainsaw Tests | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | ||
|
||
- name: Setup cluster | ||
uses: ./.github/actions/deploy-keptn-on-cluster | ||
with: | ||
runtime_tag: ${{ inputs.runtime_tag }} | ||
values_file: values-integration-allowed-namespaces.yaml | ||
|
||
- name: Install Chainsaw | ||
uses: kyverno/action-install-chainsaw@995cddaee7702e849270b84fa44cdcebe7462da8 # v0.1.9 | ||
|
||
- name: Run Integration Tests Allowed Namespaces | ||
working-directory: . | ||
run: make integration-test-allowed-namespaces | ||
|
||
- name: Create reports | ||
if: failure() | ||
working-directory: ./.github/scripts | ||
run: ./create-reports-full.sh | ||
|
||
- name: Upload cluster logs | ||
if: failure() | ||
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4 | ||
with: | ||
name: logs-integration-tests-allowed-namespaces | ||
path: .github/scripts/logs |
Oops, something went wrong.