Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2579216

Browse files
chore(deps): update tools to latest versions (anchore#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 <[email protected]>
1 parent 453c429 commit 2579216

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.binny.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tools:
5858
# used to release all artifacts
5959
- name: goreleaser
6060
version:
61-
want: v2.4.8
61+
want: v2.5.0
6262
method: github-release
6363
with:
6464
repo: goreleaser/goreleaser
@@ -111,15 +111,15 @@ tools:
111111
# used for triggering a release
112112
- name: gh
113113
version:
114-
want: v2.63.2
114+
want: v2.64.0
115115
method: github-release
116116
with:
117117
repo: cli/cli
118118

119119
# used to upload test fixture cache
120120
- name: oras
121121
version:
122-
want: v1.2.1
122+
want: v1.2.2
123123
method: github-release
124124
with:
125125
repo: oras-project/oras

Taskfile.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ vars:
2727
sh: uname -s | tr '[:upper:]' '[:lower:]'
2828
ARCH:
2929
sh: |
30-
[ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || echo $(uname -m)
30+
[ "$(uname -m)" = "x86_64" ] && echo "amd64_v1" || { [ "$(uname -m)" = "aarch64" ] && echo "arm64_v8.0" || echo $(uname -m); }
3131
PROJECT_ROOT:
3232
sh: echo $PWD
3333
# note: the snapshot dir must be a relative path starting with ./
@@ -237,8 +237,7 @@ tasks:
237237
cmds:
238238
- cmd: "echo 'testing binary: {{ .SNAPSHOT_BIN }}'"
239239
silent: true
240-
241-
- cmd: "test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\nno snapshot found' && false)"
240+
- cmd: "test -f {{ .SNAPSHOT_BIN }} || (find {{ .SNAPSHOT_DIR }} && echo '\nno snapshot found for {{ .SNAPSHOT_BIN }}' && false)"
242241
silent: true
243242

244243
- "go test -count=1 -timeout=15m -v ./test/cli"
@@ -452,7 +451,7 @@ tasks:
452451
total_size=$(find . | grep cache | grep tar | xargs du -c | grep total | awk '{print $1}')
453452
find . | grep cache | grep tar | xargs du
454453
echo "total $total_size KB"
455-
454+
456455
if [ "$total_size" -gt 1048576 ]; then
457456
echo 'docker cache is larger than 1GB'
458457
exit 1

test/install/3_install_asset_test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ test_positive_snapshot_install_asset() {
3838
local_suffix="_v8.0"
3939
fi
4040

41+
# note: this is a change made in goreleaser v2.5.0
42+
if [ "${arch}" == "ppc64le" ]; then
43+
local_suffix="_power8"
44+
fi
45+
46+
4147
assertFilesEqual \
4248
"$(snapshot_dir)/${os}-build_${os}_${arch}${local_suffix}/${binary}" \
4349
"${expected_path}" \

0 commit comments

Comments
 (0)