Skip to content

Commit cc5b422

Browse files
authored
Merge branch 'kedacore:main' into deprecations
2 parents fef45d5 + 720ae0e commit cc5b422

File tree

2,236 files changed

+104394
-105375
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,236 files changed

+104394
-105375
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
44
#-------------------------------------------------------------------------------------------------------------
55

6-
FROM golang:1.23.6
6+
FROM golang:1.23.8
77

88
# Avoid warnings by switching to noninteractive
99
ENV DEBIAN_FRONTEND=noninteractive

.github/ISSUE_TEMPLATE/3_bug_report.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,12 @@ body:
5757
label: KEDA Version
5858
description: What version of KEDA that are you running?
5959
options:
60+
- "2.17.0"
6061
- "2.16.1"
6162
- "2.16.0"
6263
- "2.15.1"
6364
- "2.15.0"
64-
- "2.14.1"
65-
- "2.14.0"
66-
- "2.13.1"
67-
- "2.13.0"
68-
- "2.12.1"
69-
- "2.12.0"
70-
- "< 2.12.0"
65+
- "< 2.15.0"
7166
- "Other"
7267
validations:
7368
required: false

.github/workflows/fossa.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
24+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
2525
with:
2626
go-version: "1.23"
2727
- run: go version
2828
- name: Get branch name
2929
id: branch-name
30-
uses: tj-actions/branch-names@6871f53176ad61624f978536bbf089c574dc19a2 # v8.0.1
31-
- uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0
30+
uses: tj-actions/branch-names@f44339b51f74753b57583fbbd124e18a81170ab1 # v8.1.0
31+
- uses: fossas/fossa-action@c0a7d013f84c8ee5e910593186598625513cc1e4 # v1.6.0
3232
name: Scanning with FOSSA
3333
with:
3434
api-key: ${{ env.fossa-key }}
3535
branch: ${{ steps.branch-name.outputs.current_branch }}
36-
- uses: fossas/fossa-action@09bcf127dc0ccb4b5a023f6f906728878e8610ba # v1.4.0
36+
- uses: fossas/fossa-action@c0a7d013f84c8ee5e910593186598625513cc1e4 # v1.6.0
3737
name: Executing tests with FOSSA
3838
with:
3939
api-key: ${{ env.fossa-key }}

.github/workflows/main-build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**
1717

1818
# keda-tools is built from github.com/test-tools/tools/Dockerfile
19-
container: ghcr.io/kedacore/keda-tools:1.23.6
19+
container: ghcr.io/kedacore/keda-tools:1.23.8
2020
steps:
2121
- name: Check out code
2222
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -32,13 +32,13 @@ jobs:
3232
echo "build_cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
3333
3434
- name: Go modules cache
35-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
35+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3636
with:
3737
path: ${{ steps.go-paths.outputs.mod_cache }}
3838
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
3939

4040
- name: Go build cache
41-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
41+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4242
with:
4343
path: ${{ steps.go-paths.outputs.build_cache }}
4444
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
@@ -50,7 +50,7 @@ jobs:
5050
run: make test
5151

5252
- name: Login to GitHub Container Registry
53-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
53+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
5454
with:
5555
# Username used to log in to a Docker registry. If not set then no login will occur
5656
username: ${{ github.repository_owner }}

.github/workflows/pr-e2e.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
triage:
1111
runs-on: ubuntu-latest
1212
name: Comment evaluate
13-
container: ghcr.io/kedacore/keda-tools:1.23.6
13+
container: ghcr.io/kedacore/keda-tools:1.23.8
1414
outputs:
1515
run-e2e: ${{ startsWith(github.event.comment.body,'/run-e2e') && steps.checkUserMember.outputs.isTeamMember == 'true' }}
1616
pr_num: ${{ steps.parser.outputs.pr_num }}
@@ -69,7 +69,7 @@ jobs:
6969
needs: triage
7070
runs-on: ubuntu-latest
7171
name: Build images
72-
container: ghcr.io/kedacore/keda-tools:1.23.6
72+
container: ghcr.io/kedacore/keda-tools:1.23.8
7373
if: needs.triage.outputs.run-e2e == 'true'
7474
steps:
7575
- name: Set status in-progress
@@ -131,7 +131,7 @@ jobs:
131131
run: exit 1
132132

133133
- name: Login to GitHub Container Registry
134-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
134+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
135135
with:
136136
# Username used to log in to a Docker registry. If not set then no login will occur
137137
username: ${{ github.repository_owner }}
@@ -149,7 +149,7 @@ jobs:
149149
needs: [triage, build-test-images]
150150
runs-on: e2e
151151
name: Execute e2e tests
152-
container: ghcr.io/kedacore/keda-tools:1.23.6
152+
container: ghcr.io/kedacore/keda-tools:1.23.8
153153
if: needs.triage.outputs.run-e2e == 'true'
154154
steps:
155155
- name: Set status in-progress
@@ -255,7 +255,7 @@ jobs:
255255
details_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
256256

257257
- name: Upload test logs
258-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
258+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
259259
with:
260260
name: e2e-test-logs
261261
path: "${{ github.workspace }}/**/*.log"

.github/workflows/pr-validation.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
validate:
1111
name: validate - ${{ matrix.name }}
1212
runs-on: ${{ matrix.runner }}
13-
container: ghcr.io/kedacore/keda-tools:1.23.6
13+
container: ghcr.io/kedacore/keda-tools:1.23.8
1414
strategy:
1515
matrix:
1616
include:
@@ -42,13 +42,13 @@ jobs:
4242
echo "build_cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
4343
4444
- name: Go modules cache
45-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
45+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4646
with:
4747
path: ${{ steps.go-paths.outputs.mod_cache }}
4848
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
4949

5050
- name: Go build cache
51-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
51+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
5252
with:
5353
path: ${{ steps.go-paths.outputs.build_cache }}
5454
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
@@ -80,7 +80,7 @@ jobs:
8080
pull-requests: read # for dorny/paths-filter to read pull requests
8181
name: validate-dockerfiles - ${{ matrix.name }}
8282
runs-on: ${{ matrix.runner }}
83-
container: ghcr.io/kedacore/keda-tools:1.23.6
83+
container: ghcr.io/kedacore/keda-tools:1.23.8
8484
strategy:
8585
matrix:
8686
include:
@@ -114,7 +114,7 @@ jobs:
114114
pull-requests: read # for dorny/paths-filter to read pull requests
115115
name: Validate dev-container - ${{ matrix.name }}
116116
runs-on: ${{ matrix.runner }}
117-
container: ghcr.io/kedacore/keda-tools:1.23.6
117+
container: ghcr.io/kedacore/keda-tools:1.23.8
118118
strategy:
119119
matrix:
120120
include:
@@ -144,10 +144,10 @@ jobs:
144144
runs-on: ubuntu-latest
145145
steps:
146146
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
147-
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
147+
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
148148
with:
149149
python-version: 3.x
150-
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
150+
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
151151
with:
152152
go-version: "1.23"
153153
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

.github/workflows/release-build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready**
1818

1919
# keda-tools is built from github.com/test-tools/tools/Dockerfile
20-
container: ghcr.io/kedacore/keda-tools:1.23.6
20+
container: ghcr.io/kedacore/keda-tools:1.23.8
2121
steps:
2222
- name: Check out code
2323
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
@@ -33,13 +33,13 @@ jobs:
3333
echo "build_cache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
3434
3535
- name: Go modules cache
36-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
36+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
3737
with:
3838
path: ${{ steps.go-paths.outputs.mod_cache }}
3939
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }}
4040

4141
- name: Go build cache
42-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
42+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
4343
with:
4444
path: ${{ steps.go-paths.outputs.build_cache }}
4545
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }}
@@ -48,7 +48,7 @@ jobs:
4848
run: go mod tidy -compat=1.23
4949

5050
- name: Login to GitHub Container Registry
51-
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
51+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
5252
with:
5353
# Username used to log in to a Docker registry. If not set then no login will occur
5454
username: ${{ github.repository_owner }}

.github/workflows/scorecards.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
5656
# format to the repository Actions tab.
5757
- name: "Upload artifact"
58-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.pre.node20
58+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.pre.node20
5959
with:
6060
name: SARIF file
6161
path: results.sarif
@@ -64,6 +64,6 @@ jobs:
6464
# Upload the results to GitHub's code scanning dashboard (optional).
6565
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
6666
- name: "Upload to code-scanning"
67-
uses: github/codeql-action/upload-sarif@1b1aada464948af03b950897e5eb522f92603cc2 # v3.24.9
67+
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
6868
with:
6969
sarif_file: results.sarif

.github/workflows/static-analysis-codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
codeQl:
1818
name: Analyze CodeQL Go
1919
runs-on: ubuntu-latest
20-
container: ghcr.io/kedacore/keda-tools:1.23.6
20+
container: ghcr.io/kedacore/keda-tools:1.23.8
2121
if: (github.actor != 'dependabot[bot]')
2222
steps:
2323
- name: Checkout repository
@@ -26,16 +26,16 @@ jobs:
2626
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
2727

2828
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
29+
uses: github/codeql-action/init@@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
3030
with:
3131
languages: go
3232
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
3333
queries: +security-and-quality
3434

3535
- name: Autobuild
36-
uses: github/codeql-action/autobuild@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
36+
uses: github/codeql-action/autobuild@@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
3737

3838
- name: Perform CodeQL Analysis
39-
uses: github/codeql-action/analyze@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
39+
uses: github/codeql-action/analyze@@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
4040
with:
4141
category: "/language:go"

.github/workflows/static-analysis-semgrep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
4040

4141
- name: Upload SARIF file for GitHub Advanced Security Dashboard
42-
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
42+
uses: github/codeql-action/upload-sarif@@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
4343
with:
4444
sarif_file: semgrep.sarif
4545
if: ${{ github.event.number == '' && !cancelled() }}

.github/workflows/template-main-e2e-test.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: Run e2e test
99
runs-on: ARM64
1010
# keda-tools is built from github.com/test-tools/tools/Dockerfile
11-
container: ghcr.io/kedacore/keda-tools:1.23.6
11+
container: ghcr.io/kedacore/keda-tools:1.23.8
1212
concurrency: e2e-tests
1313
steps:
1414
- name: Check out code
@@ -47,7 +47,7 @@ jobs:
4747
NODE_POOL_SIZE: 1
4848

4949
- name: Upload test logs
50-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
50+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
5151
if: ${{ always() }}
5252
with:
5353
name: e2e-test-logs

.github/workflows/template-smoke-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ${{ inputs.runs-on }}
2020
steps:
2121
- name: Setup Go
22-
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5
22+
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
2323
with:
2424
go-version: "1.23"
2525

@@ -45,7 +45,7 @@ jobs:
4545
run: make smoke-test
4646

4747
- name: Upload test logs
48-
uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
48+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
4949
if: ${{ always() }}
5050
with:
5151
name: smoke-test-logs ${{ inputs.runs-on }}-${{ inputs.kubernetesVersion }}

.github/workflows/template-trivy-scan.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4040

4141
- name: Run Trivy
42-
uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0
42+
uses: aquasecurity/trivy-action@6c175e9c4083a92bbca2f9724c8a5e33bc2d97a5 # v0.30.0
4343
env:
4444
TRIVY_DB_REPOSITORY: ghcr.io/kedacore/trivy-db
4545
with:
@@ -53,7 +53,7 @@ jobs:
5353
trivy-config: trivy.yml
5454

5555
- name: Upload Trivy scan results to GitHub Security tab
56-
uses: github/codeql-action/upload-sarif@df409f7d9260372bd5f19e5b04e83cb3c43714ae # v3.27.9
56+
uses: github/codeql-action/upload-sarif@@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
5757
if: ${{ inputs.publish }}
5858
with:
5959
sarif_file: ${{ inputs.output }}

.github/workflows/v1-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 1
2020

2121
- name: Go modules cache
22-
uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1
22+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
2323
with:
2424
path: /go/pkg
2525
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}

0 commit comments

Comments
 (0)