forked from kedacore/keda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kedacore#14 from joelsmith/rebase
Upstream rebase to 2.11.2
- Loading branch information
Showing
3,053 changed files
with
267,371 additions
and
87,225 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build_root_image: | ||
name: release | ||
namespace: openshift | ||
tag: rhel-8-release-golang-1.19-openshift-4.13 | ||
tag: rhel-8-release-golang-1.20-openshift-4.14 |
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
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
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 |
---|---|---|
@@ -1,19 +1,33 @@ | ||
name: FOSSA | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
env: | ||
fossa-key: 9e722f2c8904586d61f97f0bf05a99e4 # This is a public key only for pushing, it's safe here | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-go@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version: "1.20" | ||
- run: go version | ||
- name: Get branch name | ||
id: branch-name | ||
uses: tj-actions/branch-names@v7 | ||
- uses: fossas/fossa-action@main | ||
name: Scanning with FOSSA | ||
with: | ||
api-key: 9e722f2c8904586d61f97f0bf05a99e4 # This is a public key only for pushing, it's safe here | ||
branch: main | ||
api-key: ${{ env.fossa-key }} | ||
branch: ${{ steps.branch-name.outputs.current_branch }} | ||
- uses: fossas/fossa-action@main | ||
name: Executing tests with FOSSA | ||
with: | ||
api-key: ${{ env.fossa-key }} | ||
run-tests: true |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
id-token: write # needed for signing the images with GitHub OIDC Token **not production ready** | ||
|
||
# build-tools is built from ../../tools/build-tools.Dockerfile | ||
container: ghcr.io/kedacore/build-tools:1.19.7 | ||
container: ghcr.io/kedacore/build-tools:1.20.5 | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v3 | ||
|
@@ -29,19 +29,19 @@ jobs: | |
echo ::set-output name=build_cache::$(go env GOCACHE) | ||
- name: Go modules cache | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
path: ${{ steps.go-paths.outputs.mod_cache }} | ||
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | ||
|
||
- name: Go build cache | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
path: ${{ steps.go-paths.outputs.build_cache }} | ||
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }} | ||
|
||
- name: Go modules sync | ||
run: go mod tidy -compat=1.19 | ||
run: go mod tidy -compat=1.20 | ||
|
||
- name: Test | ||
run: make test | ||
|
@@ -64,7 +64,7 @@ jobs: | |
|
||
# https://github.com/sigstore/cosign-installer | ||
- name: Install Cosign | ||
uses: sigstore/cosign-installer@v2 | ||
uses: sigstore/cosign-installer@v3 | ||
|
||
- name: Check Cosign install! | ||
run: cosign version | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: e2e-tests | ||
name: E2E Test Checker | ||
on: | ||
pull_request_target: | ||
types: | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: e2e-tests | ||
name: E2E Test Creator | ||
on: | ||
pull_request_target: | ||
types: | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
validate: | ||
name: validate - ${{ matrix.name }} | ||
runs-on: ${{ matrix.runner }} | ||
container: ghcr.io/kedacore/build-tools:1.19.7 | ||
container: ghcr.io/kedacore/build-tools:1.20.5 | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -33,23 +33,26 @@ jobs: | |
echo ::set-output name=build_cache::$(go env GOCACHE) | ||
- name: Go modules cache | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
path: ${{ steps.go-paths.outputs.mod_cache }} | ||
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | ||
|
||
- name: Go build cache | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
with: | ||
path: ${{ steps.go-paths.outputs.build_cache }} | ||
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('**/go.sum') }} | ||
|
||
- name: Go modules sync | ||
run: go mod tidy -compat=1.19 | ||
run: go mod tidy -compat=1.20 | ||
|
||
- name: Verify Generated clientset is up to date | ||
- name: Verify generated Clientset is up to date | ||
run: make clientset-verify | ||
|
||
- name: Verify generated Manifests are up to date | ||
run: make verify-manifests | ||
|
||
- name: Build | ||
run: make build | ||
|
||
|
@@ -65,7 +68,7 @@ jobs: | |
validate-dockerfiles: | ||
name: validate-dockerfiles - ${{ matrix.name }} | ||
runs-on: ${{ matrix.runner }} | ||
container: ghcr.io/kedacore/build-tools:1.19.7 | ||
container: ghcr.io/kedacore/build-tools:1.20.5 | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -96,7 +99,7 @@ jobs: | |
validate-build-tools: | ||
name: Validate build-tools - ${{ matrix.name }} | ||
runs-on: ${{ matrix.runner }} | ||
container: ghcr.io/kedacore/build-tools:1.19.7 | ||
container: ghcr.io/kedacore/build-tools:1.20.5 | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -133,7 +136,7 @@ jobs: | |
validate-dev-container: | ||
name: Validate dev-container - ${{ matrix.name }} | ||
runs-on: ${{ matrix.runner }} | ||
container: ghcr.io/kedacore/build-tools:1.19.7 | ||
container: ghcr.io/kedacore/build-tools:1.20.5 | ||
strategy: | ||
matrix: | ||
include: | ||
|
@@ -163,14 +166,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4.5.0 | ||
- uses: actions/setup-python@v4.6.1 | ||
with: | ||
python-version: 3.x | ||
- uses: actions/setup-go@v3 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: 1.19 | ||
go-version: "1.20" | ||
- name: Get golangci | ||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.49.0 | ||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.52.2 | ||
- uses: pre-commit/[email protected] | ||
|
||
trivy-scan: | ||
|
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,28 @@ | ||
name: PR Welcome Bot | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened] | ||
branches: | ||
- 'main' | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
pr_bot: | ||
name: PR Bot | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Comment on PR' | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
await github.rest.issues.createComment({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
issue_number: ${{ github.event.number }}, | ||
body: 'Thank you for your contribution! 🙏 We will review your PR as soon as possible.\n\n\nWhile you are waiting, make sure to:\n\n\n- Add an entry in [our changelog](https://github.com/kedacore/keda/blob/main/CHANGELOG.md) in alphabetical order and link related issue\n- Update the [documentation](https://github.com/kedacore/keda-docs), if needed\n- Add unit & [e2e](https://github.com/kedacore/keda/blob/main/tests/README.md) tests for your changes\n- GitHub checks are passing\n- Is the DCO check failing? Here is [how you can fix DCO issues](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md#i-didnt-sign-my-commit-now-what)\n\n\nLearn more about:\n- Our [contribution guide](https://github.com/kedacore/keda/blob/main/CONTRIBUTING.md)' | ||
}); |
Oops, something went wrong.