Skip to content

Commit

Permalink
Set asset name to have -helm suffix for new tinkerbell charts (#8292)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahreehong authored Jun 11, 2024
1 parent 4eb69c0 commit adddcf0
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 114 deletions.
2 changes: 2 additions & 0 deletions release/cli/pkg/assets/config/bundle_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,7 @@ var bundleReleaseAssetsConfigMap = []assettypes.AssetConfig{
Images: []*assettypes.Image{
{
RepoName: "stack",
AssetName: "stack-helm",
TrimVersionSignifier: true,
ImageTagConfiguration: assettypes.ImageTagConfiguration{
NonProdSourceImageTagFormat: "<gitTag>",
Expand All @@ -887,6 +888,7 @@ var bundleReleaseAssetsConfigMap = []assettypes.AssetConfig{
Images: []*assettypes.Image{
{
RepoName: "tinkerbell-crds",
AssetName: "tinkerbell-crds-helm",
TrimVersionSignifier: true,
ImageTagConfiguration: assettypes.ImageTagConfiguration{
NonProdSourceImageTagFormat: "<gitTag>",
Expand Down
132 changes: 18 additions & 114 deletions release/cli/pkg/operations/testdata/main-bundle-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -698,15 +698,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -749,15 +741,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down Expand Up @@ -1057,7 +1041,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -1503,15 +1487,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -1554,15 +1530,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down Expand Up @@ -1862,7 +1830,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -2308,15 +2276,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -2359,15 +2319,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down Expand Up @@ -2667,7 +2619,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -3113,15 +3065,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -3164,15 +3108,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down Expand Up @@ -3472,7 +3408,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -3918,15 +3854,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -3969,15 +3897,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down Expand Up @@ -4277,7 +4197,7 @@ spec:
os: linux
sha256: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
sha512: 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.17/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
uri: https://release-bucket/artifacts/v0.0.0-dev-build.0/containerd/v1.7.18/containerd-v0.0.0-dev-build.0-linux-amd64.tar.gz
crictl:
arch:
- amd64
Expand Down Expand Up @@ -4723,15 +4643,7 @@ spec:
name: rufio
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/rufio:v0.3.3-eks-a-v0.0.0-dev-build.1
stack:
arch:
- amd64
- arm64
description: Container image for stack image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: stack
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/stack:0.4.4-eks-a-v0.0.0-dev-build.1
stack: {}
tink:
nginx:
arch:
Expand Down Expand Up @@ -4774,15 +4686,7 @@ spec:
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-chart
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-chart:0.2.6-eks-a-v0.0.0-dev-build.1
tinkerbellCrds:
arch:
- amd64
- arm64
description: Container image for tinkerbell-crds image
imageDigest: sha256:0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
name: tinkerbell-crds
os: linux
uri: public.ecr.aws/release-container-registry/tinkerbell/tinkerbell-crds:0.2.5-eks-a-v0.0.0-dev-build.1
tinkerbellCrds: {}
version: v0.5.2+abcdef1
upgrader:
upgrader:
Expand Down

0 comments on commit adddcf0

Please sign in to comment.