mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
chore(deps): update tools to latest versions (#3543)
* chore(deps): update tools to latest versions --------- Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Christopher Phillips <32073428+spiffcs@users.noreply.github.com>
This commit is contained in:
parent
453c429c5c
commit
25792160fb
@ -58,7 +58,7 @@ tools:
|
|||||||
# used to release all artifacts
|
# used to release all artifacts
|
||||||
- name: goreleaser
|
- name: goreleaser
|
||||||
version:
|
version:
|
||||||
want: v2.4.8
|
want: v2.5.0
|
||||||
method: github-release
|
method: github-release
|
||||||
with:
|
with:
|
||||||
repo: goreleaser/goreleaser
|
repo: goreleaser/goreleaser
|
||||||
@ -111,7 +111,7 @@ tools:
|
|||||||
# used for triggering a release
|
# used for triggering a release
|
||||||
- name: gh
|
- name: gh
|
||||||
version:
|
version:
|
||||||
want: v2.63.2
|
want: v2.64.0
|
||||||
method: github-release
|
method: github-release
|
||||||
with:
|
with:
|
||||||
repo: cli/cli
|
repo: cli/cli
|
||||||
@ -119,7 +119,7 @@ tools:
|
|||||||
# used to upload test fixture cache
|
# used to upload test fixture cache
|
||||||
- name: oras
|
- name: oras
|
||||||
version:
|
version:
|
||||||
want: v1.2.1
|
want: v1.2.2
|
||||||
method: github-release
|
method: github-release
|
||||||
with:
|
with:
|
||||||
repo: oras-project/oras
|
repo: oras-project/oras
|
||||||
|
|||||||
@ -27,7 +27,7 @@ vars:
|
|||||||
sh: uname -s | tr '[:upper:]' '[:lower:]'
|
sh: uname -s | tr '[:upper:]' '[:lower:]'
|
||||||
ARCH:
|
ARCH:
|
||||||
sh: |
|
sh: |
|
||||||
[ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || echo $(uname -m)
|
[ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || { [ "$(uname -m)" = "aarch64" ] && echo "arm64_v8.0" || echo $(uname -m); }
|
||||||
PROJECT_ROOT:
|
PROJECT_ROOT:
|
||||||
sh: echo $PWD
|
sh: echo $PWD
|
||||||
# note: the snapshot dir must be a relative path starting with ./
|
# note: the snapshot dir must be a relative path starting with ./
|
||||||
@ -237,8 +237,7 @@ tasks:
|
|||||||
cmds:
|
cmds:
|
||||||
- cmd: "echo 'testing binary: {{ .SNAPSHOT_BIN }}'"
|
- cmd: "echo 'testing binary: {{ .SNAPSHOT_BIN }}'"
|
||||||
silent: true
|
silent: true
|
||||||
|
- cmd: "test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\nno snapshot found for {{ .SNAPSHOT_BIN }}' && false)"
|
||||||
- cmd: "test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\nno snapshot found' && false)"
|
|
||||||
silent: true
|
silent: true
|
||||||
|
|
||||||
- "go test -count=1 -timeout=15m -v ./test/cli"
|
- "go test -count=1 -timeout=15m -v ./test/cli"
|
||||||
@ -452,7 +451,7 @@ tasks:
|
|||||||
total_size=$(find . | grep cache | grep tar | xargs du -c | grep total | awk '{print $1}')
|
total_size=$(find . | grep cache | grep tar | xargs du -c | grep total | awk '{print $1}')
|
||||||
find . | grep cache | grep tar | xargs du
|
find . | grep cache | grep tar | xargs du
|
||||||
echo "total $total_size KB"
|
echo "total $total_size KB"
|
||||||
|
|
||||||
if [ "$total_size" -gt 1048576 ]; then
|
if [ "$total_size" -gt 1048576 ]; then
|
||||||
echo 'docker cache is larger than 1GB'
|
echo 'docker cache is larger than 1GB'
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
@ -38,6 +38,12 @@ test_positive_snapshot_install_asset() {
|
|||||||
local_suffix="_v8.0"
|
local_suffix="_v8.0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# note: this is a change made in goreleaser v2.5.0
|
||||||
|
if [ "${arch}" == "ppc64le" ]; then
|
||||||
|
local_suffix="_power8"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
assertFilesEqual \
|
assertFilesEqual \
|
||||||
"$(snapshot_dir)/${os}-build_${os}_${arch}${local_suffix}/${binary}" \
|
"$(snapshot_dir)/${os}-build_${os}_${arch}${local_suffix}/${binary}" \
|
||||||
"${expected_path}" \
|
"${expected_path}" \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user