-
Notifications
You must be signed in to change notification settings - Fork 594
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: pin actions to digests (#6984)
- Loading branch information
Showing
23 changed files
with
124 additions
and
124 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
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 |
---|---|---|
|
@@ -27,19 +27,19 @@ jobs: | |
tags: ${{ steps.merge-tags.outputs.tags }} | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Parse semver string | ||
if: ${{ inputs.tag != '' }} | ||
id: parse-semver-tag | ||
uses: booxmedialtd/[email protected] | ||
uses: booxmedialtd/ws-action-parse-semver@7784200024d6b3fc01253e617ec0168daf603de3 # v1.4.7 | ||
with: | ||
input_string: ${{ inputs.tag }} | ||
version_extractor_regex: 'v(.*)$' | ||
|
||
- uses: benjlevesque/[email protected] | ||
- uses: benjlevesque/short-sha@36eb8c530990ceac5ddf3c0bc32d02c677ae9706 # v2.2 | ||
id: short-sha | ||
|
||
- name: Add standard tag | ||
|
@@ -78,18 +78,18 @@ jobs: | |
image: kong/kubernetes-ingress-controller:${{ steps.meta.outputs.version }} | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
uses: docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
uses: docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2 | ||
|
||
- name: Cache Docker layers | ||
uses: actions/cache@v3 | ||
uses: actions/cache@f4b3439a656ba812b8cb417d2d49f9c810103092 # v3 | ||
with: | ||
path: /tmp/.buildx-cache | ||
key: ${{ runner.os }}-buildx-${{ github.sha }} | ||
|
@@ -98,7 +98,7 @@ jobs: | |
- name: Docker meta | ||
id: meta | ||
uses: docker/[email protected] | ||
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175 # v4.6.0 | ||
with: | ||
images: kong/kubernetes-ingress-controller | ||
flavor: | | ||
|
@@ -107,7 +107,7 @@ jobs: | |
|
||
- name: Build | ||
id: docker-build-dockerhub | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4 | ||
with: | ||
push: false | ||
file: Dockerfile | ||
|
@@ -124,7 +124,7 @@ jobs: | |
# Build locally with outputs set to `type=docker,dest=/tmp/image.tar` to save the image as a `kic-image` artifact. | ||
- name: Build locally | ||
id: docker-build-local | ||
uses: docker/build-push-action@v4 | ||
uses: docker/build-push-action@0a97817b6ade9f46837855d676c4cca3a2471fc9 # v4 | ||
with: | ||
load: true | ||
file: Dockerfile | ||
|
@@ -139,7 +139,7 @@ jobs: | |
REPO_INFO=https://github.com/${{ github.repository }}.git | ||
- name: Upload image artifact | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@ff15f0306b3f739f7b6fd43fb5d26cd321bd4de5 # v3 | ||
with: | ||
name: kic-image | ||
path: /tmp/image.tar |
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 |
---|---|---|
|
@@ -22,19 +22,19 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: collect test coverage artifacts | ||
id: download-coverage | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 | ||
with: | ||
name: coverage | ||
path: coverage | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 | ||
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457 # v3 | ||
with: | ||
name: combined-coverage | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
@@ -47,20 +47,20 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: download tests report | ||
id: download-coverage | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3 | ||
with: | ||
name: tests-report | ||
path: report | ||
|
||
- name: Upload test results to BuildPulse for flaky test detection | ||
if: ${{ !cancelled() }} | ||
uses: buildpulse/[email protected] | ||
uses: buildpulse/buildpulse-action@d0d30f53585cf16b2e01811a5a753fd47968654a # v0.11.0 | ||
with: | ||
account: 962416 | ||
repository: 127765544 | ||
|
Oops, something went wrong.
aae23d4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark 'Go Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
1.50
.BenchmarkDefaultContentToDBLessConfigConverter_Convert
148.1
ns/op 0 B/op 0 allocs/op79.33
ns/op 0 B/op 0 allocs/op1.87
BenchmarkDefaultContentToDBLessConfigConverter_Convert - ns/op
148.1
ns/op79.33
ns/op1.87
This comment was automatically generated by workflow using github-action-benchmark.
CC: @Kong/k8s-maintainers