Skip to content

Commit

Permalink
Merge pull request #3542 from saschagrunert/schedule-builder-release
Browse files Browse the repository at this point in the history
Add `schedule-builder` to release job
  • Loading branch information
k8s-ci-robot committed Apr 3, 2024
2 parents 921a789 + e823147 commit da6b0dc
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,17 @@ builds:
- amd64
- arm64

- id: schedule-builder
no_unique_dist_dir: true
main: ./cmd/schedule-builder
binary: schedule-builder-{{ .Arch }}-{{ .Os }}
goos:
- linux
- darwin
goarch:
- amd64
- arm64

archives:
- format: binary
name_template: "{{ .Binary }}"
Expand Down Expand Up @@ -109,6 +120,22 @@ sboms:
documents:
- "publish-release-bom.json.spdx"

- id: schedule-builder
cmd: bom
args:
- generate
- "--output"
- "schedule-builder-bom.json.spdx"
- "-d"
- "../"
- "-c"
- "../.schedule-builder-bom-config.yaml"
- "--format"
- "json"
artifacts: any
documents:
- "schedule-builder-bom.json.spdx"

checksum:
name_template: 'checksums.txt'

Expand Down
27 changes: 27 additions & 0 deletions .schedule-builder-bom-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
license: Apache-2.0
name: schedule-builder
creator:
person: The Kubernetes Authors
tool: schedule-builder

artifacts:
- type: file
source: schedule-builder-amd64-darwin
license: Apache-2.0
gomodules: true

- type: file
source: schedule-builder-amd64-linux
license: Apache-2.0
gomodules: true

- type: file
source: schedule-builder-arm64-darwin
license: Apache-2.0
gomodules: true

- type: file
source: schedule-builder-arm64-linux
license: Apache-2.0
gomodules: true

0 comments on commit da6b0dc

Please sign in to comment.