-
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.
Merge remote-tracking branch 'upstream/main' into fail-on-cant-check-…
…db-update
- Loading branch information
Showing
373 changed files
with
30,248 additions
and
10,265 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,119 @@ | ||
tools: | ||
# we want to use a pinned version of binny to manage the toolchain (so binny manages itself!) | ||
- name: binny | ||
version: | ||
want: v0.8.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.2 | ||
method: github-release | ||
with: | ||
repo: anchore/quill | ||
|
||
# used for linting | ||
- name: golangci-lint | ||
version: | ||
want: v1.59.1 | ||
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.3.0 | ||
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: v2.1.0 | ||
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.38.0 | ||
method: github-release | ||
with: | ||
repo: go-task/task | ||
|
||
# used for triggering a release | ||
- name: gh | ||
version: | ||
want: v2.53.0 | ||
method: github-release | ||
with: | ||
repo: cli/cli | ||
|
||
# used for integration tests | ||
- name: skopeo | ||
version: | ||
want: v1.15.2 | ||
method: go-install | ||
with: | ||
module: github.com/containers/skopeo | ||
entrypoint: cmd/skopeo | ||
args: | ||
- "-tags" | ||
- containers_image_openpgp | ||
env: | ||
- CGO_ENABLED=0 | ||
- GO_DYN_FLAGS="" |
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,2 @@ | ||
enforce-v0: true # don't make breaking-change label bump major version before 1.0. | ||
title: "" |
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 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,15 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
version=$(grep -E "github.com/anchore/syft" go.mod | awk '{print $NF}') | ||
|
||
# ensure that the version is a release version (not a commit hash) | ||
# a release in this case means that the go tooling resolved the version to a tag | ||
# this does not guarantee that the tag has a github release associated with it | ||
if [[ ! $version =~ ^v[0-9]+\.[0-9]+\.[0-9]?$ ]]; then | ||
echo "syft version in go.mod is not a release version: $version" | ||
echo "please update the version in go.mod to a release version and try again" | ||
exit 1 | ||
else | ||
echo "syft version in go.mod is a release version: $version" | ||
fi |
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
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.