Skip to content

Commit 007c31e

Browse files
authored
Update Go version to 1.24.9 and lib-helm to deckhouse_lib_helm-1.64.1 (#28)
Signed-off-by: v.oleynikov <[email protected]>
1 parent 6f47906 commit 007c31e

File tree

13 files changed

+35
-13
lines changed

13 files changed

+35
-13
lines changed

.github/workflows/build_dev.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
GOPROXY: ${{ secrets.GOPROXY }}
1111
SOURCE_REPO: ${{ secrets.SOURCE_REPO }}
1212
SOURCE_REPO_SSH_KEY: ${{ secrets.SOURCE_REPO_SSH_KEY }}
13-
BASE_IMAGES_VERSION: "v0.5.32"
13+
BASE_IMAGES_VERSION: "v0.5.37"
1414

1515
on:
1616
#pull_request:
@@ -138,13 +138,13 @@ jobs:
138138
module_tag: ${{ env.MODULES_MODULE_TAG }}
139139
source_repo: ${{ secrets.SOURCE_REPO }}
140140
source_repo_ssh_key: ${{ secrets.SOURCE_REPO_SSH_KEY }}
141-
svace_enabled: ${{ contains(github.event.pull_request.labels.*.name, 'analyze/svace') || github.event.inputs.svace_enabled }}
141+
svace_enabled: ${{ contains(github.event.pull_request.labels.*.name, 'analyze/svace') || inputs.svace_enabled == true }}
142142
svace_analyze_host: "${{ secrets.SVACE_ANALYZE_HOST }}"
143143
svace_analyze_ssh_user: "${{ secrets.SVACE_ANALYZE_SSH_USER }}"
144144
svace_analyze_ssh_key: "${{ secrets.SVACE_ANALYZE_SSH_PRIVATE_KEY }}"
145145

146146
analyze_build:
147-
if: ${{ contains(github.event.pull_request.labels.*.name, 'analyze/svace') || github.event.inputs.svace_enabled == 'true' }}
147+
if: ${{ contains(github.event.pull_request.labels.*.name, 'analyze/svace') || inputs.svace_enabled == true }}
148148
name: Analyze build
149149
runs-on: [self-hosted, large]
150150
needs:

.github/workflows/build_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
GOPROXY: ${{ secrets.GOPROXY }}
1212
SOURCE_REPO: ${{ secrets.SOURCE_REPO }}
1313
SOURCE_REPO_SSH_KEY: ${{ secrets.SOURCE_REPO_SSH_KEY }}
14-
BASE_IMAGES_VERSION: "v0.5.32"
14+
BASE_IMAGES_VERSION: "v0.5.37"
1515

1616
on:
1717
push:
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Svace analyze
2+
3+
on:
4+
schedule:
5+
- cron: "0 16 * * 6" # Regular static analysis
6+
7+
jobs:
8+
build_dev:
9+
uses: ./.github/workflows/build_dev.yml
10+
secrets: inherit
11+
with:
12+
svace_enabled: true

.github/workflows/trivy_image_check.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and checks
22

33
on:
44
schedule:
5-
- cron: "0 01 * * 0,3"
5+
- cron: "0 01 * * 0,3" # Regular CVE scan
66
pull_request:
77
types: [opened, reopened, labeled, synchronize]
88
push:
@@ -23,7 +23,7 @@ on:
2323
description: "Optional. Vulnerabilities severity to scan. Default is: UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL"
2424
required: false
2525
svace_enabled:
26-
description: 'Enable svace build and analyze'
26+
description: "Enable svace build and analyze"
2727
type: boolean
2828
required: false
2929

@@ -41,9 +41,10 @@ jobs:
4141
needs: [build_dev]
4242
steps:
4343
- uses: actions/checkout@v4
44-
- uses: deckhouse/modules-actions/cve_scan@v4
44+
- uses: deckhouse/modules-actions/cve_scan@v6
4545
with:
4646
tag: pr${{ github.event.number }}
47+
tag_type: "dev"
4748
module_name: ${{ vars.MODULE_NAME }}
4849
dd_url: ${{ secrets.DEFECTDOJO_HOST }}
4950
dd_token: ${{ secrets.DEFECTDOJO_API_TOKEN }}
@@ -61,9 +62,10 @@ jobs:
6162
runs-on: [self-hosted, regular]
6263
steps:
6364
- uses: actions/checkout@v4
64-
- uses: deckhouse/modules-actions/cve_scan@v4
65+
- uses: deckhouse/modules-actions/cve_scan@v6
6566
with:
6667
tag: ${{ github.event.inputs.release_branch || github.event.repository.default_branch }}
68+
tag_type: "dev"
6769
module_name: ${{ vars.MODULE_NAME }}
6870
dd_url: ${{ secrets.DEFECTDOJO_HOST }}
6971
dd_token: ${{ secrets.DEFECTDOJO_API_TOKEN }}

CHANGELOG/v0.1.8.ru.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Изменения:
2+
- Обновлена версия Go до 1.24.9
3+
- Обновлена lib-helm до deckhouse_lib_helm-1.64.1
4+
- Обновление документации

CHANGELOG/v0.1.8.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Changes:
2+
- Updated Go version to 1.24.9
3+
- Updated lib-helm to deckhouse_lib_helm-1.64.1
4+
- Documentation updates
-27.4 KB
Binary file not shown.
27.5 KB
Binary file not shown.

hooks/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/deckhouse/snapshot-controller/hooks/go
22

3-
go 1.24.8
3+
go 1.24.9
44

55
require github.com/deckhouse/module-sdk v0.2.0
66

images/go-hooks/werf.inc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ shell:
1717

1818
---
1919
image: {{ .ModuleNamePrefix }}{{ .ImageName }}-artifact
20-
fromImage: {{ eq .SVACE_ENABLED "false" | ternary "builder/golang-alpine" "builder/alt-go-svace" }}
20+
fromImage: {{ eq .SVACE_ENABLED "false" | ternary "builder/golang-alpine" "builder/golang-alt-svace" }}
2121
final: false
2222

2323
import:

0 commit comments

Comments
 (0)