2018-11-07 19:06:20 +01:00
|
|
|
project_name: chart-testing
|
2024-11-08 12:01:45 +01:00
|
|
|
version: 2
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2022-03-23 10:14:00 +01:00
|
|
|
env:
|
2023-03-24 13:24:35 +01:00
|
|
|
- COSIGN_YES=true
|
2022-03-23 10:14:00 +01:00
|
|
|
|
2019-11-02 20:44:02 +01:00
|
|
|
before:
|
|
|
|
|
hooks:
|
|
|
|
|
- go mod download
|
2022-01-12 18:23:22 +01:00
|
|
|
|
|
|
|
|
sboms:
|
2023-03-24 13:24:35 +01:00
|
|
|
- artifacts: archive
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2018-11-07 19:06:20 +01:00
|
|
|
builds:
|
2019-02-18 14:43:23 -05:00
|
|
|
- main: ct/main.go
|
2018-11-07 19:06:20 +01:00
|
|
|
binary: ct
|
|
|
|
|
env:
|
|
|
|
|
- CGO_ENABLED=0
|
|
|
|
|
goarch:
|
|
|
|
|
- amd64
|
2020-05-22 21:49:14 +08:00
|
|
|
- arm64
|
2018-11-07 19:06:20 +01:00
|
|
|
- arm
|
|
|
|
|
goos:
|
|
|
|
|
- linux
|
|
|
|
|
- darwin
|
|
|
|
|
- windows
|
2025-10-08 16:10:04 +02:00
|
|
|
ignore:
|
|
|
|
|
- goarch: arm
|
|
|
|
|
goos: windows
|
2022-01-12 18:23:22 +01:00
|
|
|
flags:
|
|
|
|
|
- -trimpath
|
|
|
|
|
mod_timestamp: '{{ .CommitTimestamp }}'
|
2018-11-07 19:06:20 +01:00
|
|
|
ldflags:
|
|
|
|
|
- >-
|
2020-03-26 18:38:37 +01:00
|
|
|
-X github.com/helm/chart-testing/v3/ct/cmd.Version={{ .Tag }}
|
|
|
|
|
-X github.com/helm/chart-testing/v3/ct/cmd.GitCommit={{ .Commit }}
|
|
|
|
|
-X github.com/helm/chart-testing/v3/ct/cmd.BuildDate={{ .Date }}
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2019-11-02 20:44:02 +01:00
|
|
|
archives:
|
2024-04-21 09:13:08 +02:00
|
|
|
- format_overrides:
|
2019-11-02 20:44:02 +01:00
|
|
|
- goos: windows
|
2025-08-12 15:47:43 +03:00
|
|
|
formats:
|
|
|
|
|
- zip
|
2019-11-02 20:44:02 +01:00
|
|
|
files:
|
|
|
|
|
- LICENSE
|
|
|
|
|
- README.md
|
|
|
|
|
- etc/chart_schema.yaml
|
|
|
|
|
- etc/lintconf.yaml
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2018-11-07 19:06:20 +01:00
|
|
|
checksum:
|
|
|
|
|
name_template: 'checksums.txt'
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2018-11-07 19:06:20 +01:00
|
|
|
snapshot:
|
2024-11-08 12:01:45 +01:00
|
|
|
version_template: "{{ .Tag }}-next"
|
2022-01-12 18:23:22 +01:00
|
|
|
|
2025-10-08 16:10:04 +02:00
|
|
|
dockers_v2:
|
|
|
|
|
- images:
|
|
|
|
|
- "quay.io/helmpack/chart-testing"
|
|
|
|
|
tags:
|
|
|
|
|
- "{{ .Tag }}"
|
|
|
|
|
- "latest"
|
|
|
|
|
labels:
|
|
|
|
|
"org.opencontainers.image.version": "{{ .Version }}"
|
|
|
|
|
"org.opencontainers.image.revision": "{{ .Commit }}"
|
|
|
|
|
"org.opencontainers.image.title": "{{ .ProjectName }}"
|
|
|
|
|
"org.opencontainers.image.created": "{{ .Date }}"
|
|
|
|
|
"org.opencontainers.image.description": "ct - The chart testing tool"
|
|
|
|
|
"org.opencontainers.image.vendor": "Helm"
|
|
|
|
|
"org.opencontainers.image.licenses": "Apache-2.0"
|
|
|
|
|
"org.opencontainers.image.source": "https://github.com/helm/chart-testing"
|
|
|
|
|
"org.opencontainers.image.authors": "The Helm Authors"
|
2018-11-07 19:06:20 +01:00
|
|
|
extra_files:
|
|
|
|
|
- etc/chart_schema.yaml
|
|
|
|
|
- etc/lintconf.yaml
|
2022-03-23 10:14:00 +01:00
|
|
|
|
|
|
|
|
signs:
|
|
|
|
|
- id: all
|
|
|
|
|
signature: "${artifact}.sig"
|
|
|
|
|
certificate: "${artifact}.pem"
|
|
|
|
|
cmd: cosign
|
|
|
|
|
args: ["sign-blob", "--output-signature", "${artifact}.sig", "--output-certificate", "${artifact}.pem", "${artifact}"]
|
|
|
|
|
artifacts: all
|
|
|
|
|
|
|
|
|
|
docker_signs:
|
|
|
|
|
- id: images
|
|
|
|
|
cmd: cosign
|
|
|
|
|
args: ["sign", "${artifact}"]
|
2023-03-24 15:12:04 +01:00
|
|
|
|
|
|
|
|
changelog:
|
|
|
|
|
use: github-native
|