Skip to content

Commit 1323226

Browse files
authored
Merge branch 'main' into renovate/all-go-dependencies
2 parents 835aec3 + 70197b3 commit 1323226

Some content is hidden

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

43 files changed

+339
-246
lines changed

.github/actions/checkout/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ runs:
1414
# Checkout code from the PR merge commit
1515
- name: Checkout
1616
id: checkout
17-
uses: actions/checkout@v5
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1818
with:
1919
ref: "refs/pull/${{ github.event.number }}/merge"
2020
fetch-depth: ${{ inputs.fetch-depth }}
2121
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }}
2222

2323
# Checkout code from the merge group branch
2424
- name: Checkout
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626
with:
2727
fetch-depth: ${{ inputs.fetch-depth }}
2828
if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }}

.github/actions/expose-jwt-action/install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: 'Install Node.js 20 and @actions/core'
33
runs:
44
using: "composite"
55
steps:
6-
- uses: actions/setup-node@v5
6+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5
77
with:
88
node-version: 22
99
- run: |

.github/actions/image-builder/action.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ inputs:
4848
default: |
4949
linux/arm64
5050
linux/amd64
51+
target:
52+
description: Specify which build stage in the Dockerfile to use as the target
53+
required: false
54+
default: ""
5155

5256
outputs:
5357
adoResult:
@@ -98,8 +102,8 @@ runs:
98102
echo "platforms=$result" >> $GITHUB_OUTPUT
99103
id: prepare-platforms
100104
shell: bash
101-
102-
- uses: docker://europe-docker.pkg.dev/kyma-project/prod/image-builder:v20250924-935a21c6
105+
106+
- uses: docker://europe-docker.pkg.dev/kyma-project/prod/image-builder:v20251003-b9305fe9
103107
id: build
104108
with:
105-
args: --name=${{ inputs.image-name }} --context=${{ inputs.context }} --dockerfile=${{ inputs.dockerfile }} --azure-access-token=${{ inputs.ado-token }} --oidc-token=${{ inputs.oidc-token }} ${{ steps.prepare-build-args.outputs.build-args }} ${{ steps.prepare-tags.outputs.tags }} ${{ steps.prepare-platforms.outputs.platforms }} --export-tags=${{ inputs.export-tags }} --config=${{ inputs.config }} --use-go-internal-sap-modules=${{ inputs.use-go-internal-sap-modules }}
109+
args: --name=${{ inputs.image-name }} --context=${{ inputs.context }} --dockerfile=${{ inputs.dockerfile }} --target=${{ inputs.target }} --azure-access-token=${{ inputs.ado-token }} --oidc-token=${{ inputs.oidc-token }} ${{ steps.prepare-build-args.outputs.build-args }} ${{ steps.prepare-tags.outputs.tags }} ${{ steps.prepare-platforms.outputs.platforms }} --export-tags=${{ inputs.export-tags }} --config=${{ inputs.config }} --use-go-internal-sap-modules=${{ inputs.use-go-internal-sap-modules }}

.github/workflows/all-checks-passed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
checks: read
2121
contents: read
2222
steps:
23-
- uses: wechuli/allcheckspassed@e22f45a4f25f4cf821d1273705ac233355400db1
23+
- uses: wechuli/allcheckspassed@5b5009ffd707b7c6759574c984bb666034b441eb # v2.0.0
2424
with:
2525
delay: '3'
2626
retries: '30'

.github/workflows/auto-author-assign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
assign-author:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: toshimaru/auto-author-assign@v2.1.1
14+
- uses: toshimaru/auto-author-assign@16f0022cf3d7970c106d8d1105f75a1165edb516 # v2.1.1

.github/workflows/autobump-docs-index-md.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cancel-in-progress: false
2323

2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
2626

2727
- name: Setup git config
2828
run: |
@@ -35,14 +35,14 @@ jobs:
3535
3636
- name: Authenticate in GCP
3737
id: 'auth'
38-
uses: 'google-github-actions/auth@v3'
38+
uses: 'google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093' # v3
3939
with:
4040
project_id: ${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}
4141
workload_identity_provider: ${{ vars.GH_COM_KYMA_PROJECT_GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER }}
4242

4343
- name: Get kyma bot token from Secret Manager
4444
id: 'secrets'
45-
uses: 'google-github-actions/get-secretmanager-secrets@v3'
45+
uses: 'google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262' # v3
4646
with:
4747
secrets: |-
4848
kyma-autobump-token:${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}/${{ vars.KYMA_AUTOBUMP_BOT_GITHUB_SECRET_NAME }}
@@ -59,6 +59,6 @@ jobs:
5959
--workdir /github/test-infra \
6060
--privileged \
6161
--cap-drop ALL \
62-
europe-docker.pkg.dev/kyma-project/prod/markdown-index:v20250924-935a21c6 \
62+
europe-docker.pkg.dev/kyma-project/prod/markdown-index:v20250929-51244ae0 \
6363
--config=${{ env.AUTOBUMP_CONFIG_PATH }} \
6464
--labels-override=kind/chore,area/documentation

.github/workflows/autobump-security-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cancel-in-progress: false
3434

3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
3737
# Setup git config with commiter data from config
3838
# Prevent silent passing github token
3939
# see https://stackoverflow.com/a/69979203/23148781
@@ -47,14 +47,14 @@ jobs:
4747
git config --unset-all http.https://github.com/.extraheader
4848
- name: Authenticate in GCP
4949
id: 'auth'
50-
uses: 'google-github-actions/auth@v3'
50+
uses: 'google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093' # v3
5151
with:
5252
project_id: ${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}
5353
workload_identity_provider: ${{ vars.GH_COM_KYMA_PROJECT_GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER }}
5454

5555
- name: Get kyma bot token from Secret Manager
5656
id: 'secrets'
57-
uses: 'google-github-actions/get-secretmanager-secrets@v3'
57+
uses: 'google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262' # v3
5858
with:
5959
secrets: |-
6060
kyma-autobump-token:${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}/${{ vars.KYMA_AUTOBUMP_BOT_GITHUB_SECRET_NAME }}
@@ -72,7 +72,7 @@ jobs:
7272
--rm \
7373
--privileged \
7474
--cap-drop ALL \
75-
europe-docker.pkg.dev/kyma-project/prod/image-detector:v20250924-935a21c6 \
75+
europe-docker.pkg.dev/kyma-project/prod/image-detector:v20250929-51244ae0 \
7676
--terraform-dir=${{ env.TERRAFORM_CONFIGS_DIR }} \
7777
--sec-scanner-config=${{ env.SEC_SCANNERS_CONFIG_PATH }} \
7878
--autobump-config=${{ env.AUTOBUMP_CONFIG_PATH }}

.github/workflows/build-markdown-index.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
context: .
1717
platforms: |
1818
linux/amd64
19+
target: runtime

.github/workflows/code-checks-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
uses: kyma-project/test-infra/.github/actions/checkout@main
5858

5959
- name: Set up Python
60-
uses: actions/setup-python@v6
60+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
6161

6262
- name: Set up python venv
6363
run: |
@@ -94,7 +94,7 @@ jobs:
9494
uses: kyma-project/test-infra/.github/actions/checkout@main
9595

9696
- name: Set up Python
97-
uses: actions/setup-python@v6
97+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
9898

9999
- name: Set up venv
100100
run: |

.github/workflows/image-builder.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ on:
4747
default: |
4848
linux/arm64
4949
linux/amd64
50+
target:
51+
description: Specify which build stage in the Dockerfile to use as the target
52+
required: false
53+
type: string
54+
default: ""
55+
5056
outputs:
5157
images:
5258
description: JSON list of images built by image-builder
@@ -79,7 +85,7 @@ jobs:
7985
exit 1
8086
8187
- name: Checkout test-infra repository
82-
uses: actions/checkout@v5
88+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
8389
with:
8490
repository: kyma-project/test-infra
8591
ref: main
@@ -95,14 +101,14 @@ jobs:
95101

96102
- name: Authenticate in GCP
97103
id: "auth"
98-
uses: "google-github-actions/auth@v3"
104+
uses: "google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093" # v3
99105
with:
100106
project_id: ${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}
101107
workload_identity_provider: ${{ vars.GH_COM_KYMA_PROJECT_GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER }}
102108

103109
- name: Get ADO PAT from Secret Manager
104110
id: "secrets"
105-
uses: "google-github-actions/get-secretmanager-secrets@v3"
111+
uses: "google-github-actions/get-secretmanager-secrets@bc9c54b29fdffb8a47776820a7d26e77b379d262" # v3
106112
with:
107113
secrets: |-
108114
ado-pat:${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}/${{ vars.IMAGE_BUILDER_ADO_PAT_GCP_SECRET_NAME }}
@@ -122,6 +128,7 @@ jobs:
122128
config: "./configs/image-builder-client-config.yaml"
123129
use-go-internal-sap-modules: ${{ inputs.use-go-internal-sap-modules }}
124130
platforms: ${{ inputs.platforms }}
131+
target: ${{ inputs.target }}
125132

126133
- name: Print built images
127134
run: |

0 commit comments

Comments
 (0)