-
Notifications
You must be signed in to change notification settings - Fork 571
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade tool management Signed-off-by: Alex Goodman <[email protected]> * update version file on release Signed-off-by: Alex Goodman <[email protected]> --------- Signed-off-by: Alex Goodman <[email protected]>
- Loading branch information
Showing
15 changed files
with
723 additions
and
471 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
tools: | ||
# we want to use a pinned version of binny to manage the toolchain (so binny manages itself!) | ||
- name: binny | ||
version: | ||
want: v0.7.0 | ||
method: github-release | ||
with: | ||
repo: anchore/binny | ||
|
||
# used to produce SBOMs during release | ||
- name: syft | ||
version: | ||
want: latest | ||
method: github-release | ||
with: | ||
repo: anchore/syft | ||
|
||
# used to sign mac binaries at release | ||
- name: quill | ||
version: | ||
want: v0.4.1 | ||
method: github-release | ||
with: | ||
repo: anchore/quill | ||
|
||
# used for linting | ||
- name: golangci-lint | ||
version: | ||
want: v1.57.2 | ||
method: github-release | ||
with: | ||
repo: golangci/golangci-lint | ||
|
||
# used for showing the changelog at release | ||
- name: glow | ||
version: | ||
want: v1.5.1 | ||
method: github-release | ||
with: | ||
repo: charmbracelet/glow | ||
|
||
# used for signing the checksums file at release | ||
- name: cosign | ||
version: | ||
want: v2.2.4 | ||
method: github-release | ||
with: | ||
repo: sigstore/cosign | ||
|
||
# used in integration tests to verify JSON schemas | ||
- name: yajsv | ||
version: | ||
want: v1.4.1 | ||
method: github-release | ||
with: | ||
repo: neilpa/yajsv | ||
|
||
# used to release all artifacts | ||
- name: goreleaser | ||
version: | ||
want: v1.25.1 | ||
method: github-release | ||
with: | ||
repo: goreleaser/goreleaser | ||
|
||
# used for organizing imports during static analysis | ||
- name: gosimports | ||
version: | ||
want: v0.3.8 | ||
method: github-release | ||
with: | ||
repo: rinchsan/gosimports | ||
|
||
# used at release to generate the changelog | ||
- name: chronicle | ||
version: | ||
want: v0.8.0 | ||
method: github-release | ||
with: | ||
repo: anchore/chronicle | ||
|
||
# used during static analysis for license compliance | ||
- name: bouncer | ||
version: | ||
want: v0.4.0 | ||
method: github-release | ||
with: | ||
repo: wagoodman/go-bouncer | ||
|
||
# used for running all local and CI tasks | ||
- name: task | ||
version: | ||
want: v3.36.0 | ||
method: github-release | ||
with: | ||
repo: go-task/task | ||
|
||
# used for triggering a release | ||
- name: gh | ||
version: | ||
want: v2.48.0 | ||
method: github-release | ||
with: | ||
repo: cli/cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: "Release" | ||
|
||
on: | ||
|
||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: release version to update the version file with (prefixed with v) | ||
required: true | ||
|
||
workflow_call: | ||
inputs: | ||
version: | ||
type: string | ||
description: release version to update the version file with (prefixed with v) | ||
required: true | ||
|
||
jobs: | ||
|
||
release: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b #v4.1.4 | ||
|
||
- name: Update version file | ||
run: make ci-release-version-file | ||
env: | ||
RELEASE_VERSION: ${{ github.event.inputs.version }} | ||
# for updating the VERSION file in S3... | ||
AWS_ACCESS_KEY_ID: ${{ secrets.TOOLBOX_AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.TOOLBOX_AWS_SECRET_ACCESS_KEY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.