Skip to content

Commit

Permalink
Merge branch 'main' into temp1
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangShandilya authored Sep 9, 2023
2 parents b1777f8 + 328dfc2 commit cbcdef0
Show file tree
Hide file tree
Showing 264 changed files with 10,000 additions and 4,133 deletions.
5 changes: 3 additions & 2 deletions .github/actions/deploy-klt-on-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ runs:
run: |
echo "Installing KLT using manifests"
sed -i 's/imagePullPolicy: Always/imagePullPolicy: Never/g' ~/download/artifacts/lifecycle-operator-manifest-test/release.yaml
sed -i 's/ghcr.io\/keptn\/functions-runtime:.*/localhost:5000\/keptn\/functions-runtime:${{ inputs.runtime_tag }}/g' \
sed -i 's/ghcr.io\/keptn\/deno-runtime:.*/localhost:5000\/keptn\/deno-runtime:${{ inputs.runtime_tag }}/g' \
~/download/artifacts/lifecycle-operator-manifest-test/release.yaml
sed -i 's/ghcr.io\/keptn\/python-runtime:.*/localhost:5000\/keptn\/python-runtime:${{ inputs.runtime_tag }}/g' \
~/download/artifacts/lifecycle-operator-manifest-test/release.yaml
Expand Down Expand Up @@ -98,9 +98,10 @@ runs:
--set lifecycleOperator.manager.image.tag=${{ inputs.runtime_tag }} \
--set lifecycleOperator.manager.image.repository="localhost:5000/keptn/lifecycle-operator" \
--set metricsOperator.manager.imagePullPolicy=Never \
--set metricsOperator.manager.env.enableKeptnAnalysis="true" \
--set metricsOperator.manager.image.tag=${{ inputs.runtime_tag }} \
--set metricsOperator.manager.image.repository="localhost:5000/keptn/metrics-operator" \
--set lifecycleOperator.manager.env.functionRunnerImage=localhost:5000/keptn/functions-runtime:${{ inputs.runtime_tag }} \
--set lifecycleOperator.manager.env.functionRunnerImage=localhost:5000/keptn/deno-runtime:${{ inputs.runtime_tag }} \
--set lifecycleOperator.manager.env.pythonRunnerImage=localhost:5000/keptn/python-runtime:${{ inputs.runtime_tag }} \
--set certificateOperator.manager.imagePullPolicy=Never \
--set certificateOperator.manager.image.tag=${{ inputs.runtime_tag }} \
Expand Down
1,468 changes: 816 additions & 652 deletions .github/scripts/.helm-tests/default/result.yaml

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions .github/scripts/.helm-tests/default/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ certificateOperator:
labelSelectorValue: "true"
image:
repository: ghcr.io/keptn/certificate-operator
tag: v0.8.1
tag: v1.1.0
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -67,7 +67,7 @@ lifecycleOperator:
seccompProfile:
type: RuntimeDefault
env:
functionRunnerImage: ghcr.io/keptn/functions-runtime:v0.8.1
functionRunnerImage: ghcr.io/keptn/deno-runtime:v1.0.1
keptnAppControllerLogLevel: "0"
keptnAppCreationRequestControllerLogLevel: "0"
keptnAppVersionControllerLogLevel: "0"
Expand All @@ -78,10 +78,10 @@ lifecycleOperator:
keptnWorkloadInstanceControllerLogLevel: "0"
optionsControllerLogLevel: "0"
otelCollectorUrl: otel-collector:4317
pythonRunnerImage: ghcr.io/keptn/python-runtime:v0.8.1
pythonRunnerImage: ghcr.io/keptn/python-runtime:v1.0.0
image:
repository: ghcr.io/keptn/lifecycle-operator
tag: v0.8.1
tag: v0.8.2
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down Expand Up @@ -148,7 +148,7 @@ metricsOperator:
metricsControllerLogLevel: "0"
image:
repository: ghcr.io/keptn/metrics-operator
tag: v0.8.1
tag: v0.8.2
livenessProbe:
httpGet:
path: /healthz
Expand Down Expand Up @@ -211,7 +211,7 @@ scheduler:
otelCollectorUrl: otel-collector:4317
image:
repository: ghcr.io/keptn/scheduler
tag: v0.8.1
tag: v0.8.2
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
24 changes: 6 additions & 18 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
env:
GO_VERSION: "~1.20"
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION: "v0.12.1"
CONTROLLER_TOOLS_VERSION: "v0.13.0"
ENVTEST_K8S_VERSION: "1.24.2"
SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3"
defaults:
Expand All @@ -37,9 +37,6 @@ jobs:
NON_FORKED_AND_NON_ROBOT_RUN: ${{ steps.get_run_type.outputs.NON_FORKED_AND_NON_ROBOT_RUN }}

steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down Expand Up @@ -88,9 +85,6 @@ jobs:
- name: "certificate-operator"
folder: "klt-cert-manager/"
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down Expand Up @@ -130,16 +124,13 @@ jobs:
folder: "metrics-operator/"
- name: "scheduler"
folder: "scheduler/"
- name: "functions-runtime"
folder: "functions-runtime/"
- name: "deno-runtime"
folder: "runtimes/deno-runtime/"
- name: "python-runtime"
folder: "python-runtime/"
folder: "runtimes/python-runtime/"
- name: "certificate-operator"
folder: "klt-cert-manager/"
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down Expand Up @@ -186,14 +177,14 @@ jobs:
run: make controller-gen

- name: Generate release.yaml
if: matrix.config.name != 'functions-runtime' && matrix.config.name != 'python-runtime'
if: matrix.config.name != 'deno-runtime' && matrix.config.name != 'python-runtime'
working-directory: ./${{ matrix.config.folder }}
env:
CHART_APPVERSION: dev-${{ env.DATETIME }}
run: make release-manifests

- name: Upload release.yaml for tests
if: matrix.config.name != 'functions-runtime' && matrix.config.name != 'python-runtime'
if: matrix.config.name != 'deno-runtime' && matrix.config.name != 'python-runtime'
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.config.name }}-manifest-test
Expand Down Expand Up @@ -244,9 +235,6 @@ jobs:
needs: [prepare_ci_run, build_image]
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out klt repo
uses: actions/checkout@v3

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ jobs:
- name: "scheduler"
folder: "scheduler/"
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,13 @@ jobs:
- name: "certificate-operator"
folder: "klt-cert-manager/"
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
cache: true
cache-dependency-path: '${{ matrix.config.folder }}go.sum'

- name: golangci-lint
uses: golangci/golangci-lint-action@v3
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/htmltest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
inputs:
runtime_tag:
description: "Tag for the functions runner image"
description: "Tag for the deno and python runner images"
type: "string"
required: true
helm-install:
Expand All @@ -23,9 +23,6 @@ jobs:
name: Run Integration Tests
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ on:
workflow_call:
inputs:
runtime_tag:
description: "Tag for the functions runner image"
description: "Tag for the runner images"
type: "string"
required: true
env:
GO_VERSION: "~1.20"
# renovate: datasource=github-tags depName=cloud-bulldozer/kube-burner
KUBE_BURNER_VERSION: "v1.7.5"
KUBE_BURNER_VERSION: "v1.7.6"
defaults:
run:
shell: bash
Expand All @@ -19,9 +19,6 @@ jobs:
name: Run load Tests
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/markdown-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ jobs:
markdown-link-check:
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- uses: actions/checkout@v3
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
Expand All @@ -44,9 +41,6 @@ jobs:
markdown-lint:
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down Expand Up @@ -74,9 +68,6 @@ jobs:
name: Check CRD auto-generated docs
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/performance-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
workflow_call:
inputs:
runtime_tag:
description: "Tag for the functions runner image"
description: "Tag for the runner images"
type: "string"
required: true
env:
Expand All @@ -17,9 +17,6 @@ jobs:
name: Performance Tests
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Check out code
uses: actions/checkout@v3

Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/release-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
release-examples:
runs-on: ubuntu-22.04
steps:
- name: Install monitor action
uses: GitHubSecurityLab/actions-permissions/monitor@v1

- name: Checkout
uses: actions/checkout@v3

Expand Down
Loading

0 comments on commit cbcdef0

Please sign in to comment.