Skip to content

Commit f788ae7

Browse files
committed
ci: fix ci failures
Signed-off-by: Ramkumar Chinchani <rchincha.dev@gmail.com>
1 parent befe276 commit f788ae7

4 files changed

Lines changed: 8 additions & 1 deletion

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2019-2025 The zot project authors.
189+
Copyright [yyyy] [name of copyright owner]
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

test/blackbox/annotations.bats

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,7 @@ function teardown_file() {
230230
run notation cert generate-test "notation-sign-test"
231231
[ "$status" -eq 0 ]
232232

233+
mkdir -p ${HOME}/.config/notation/
233234
local trust_policy_file=${HOME}/.config/notation/trustpolicy.json
234235

235236
cat >${trust_policy_file} <<EOF
@@ -251,6 +252,8 @@ function teardown_file() {
251252
}
252253
EOF
253254

255+
notation policy import --force ${trust_policy_file}
256+
254257
run notation sign --key "notation-sign-test" --insecure-registry localhost:${zot_port}/annotations:latest
255258
[ "$status" -eq 0 ]
256259
run notation verify --insecure-registry localhost:${zot_port}/annotations:latest

test/blackbox/sync.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ function teardown_file() {
286286
run notation cert generate-test "notation-sign-sync-test"
287287
[ "$status" -eq 0 ]
288288

289+
mkdir -p ${HOME}/.config/notation/
289290
local trust_policy_file=${HOME}/.config/notation/trustpolicy.json
290291

291292
cat >${trust_policy_file} <<EOF
@@ -306,6 +307,7 @@ function teardown_file() {
306307
]
307308
}
308309
EOF
310+
notation policy import --force ${trust_policy_file}
309311

310312
run notation sign --key "notation-sign-sync-test" --insecure-registry localhost:${zot_port3}/golang:1.20
311313
[ "$status" -eq 0 ]

test/blackbox/sync_cloud.bats

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,7 @@ function teardown_file() {
313313
run notation cert generate-test "notation-sign-sync-test"
314314
[ "$status" -eq 0 ]
315315

316+
mkdir -p ${HOME}/.config/notation/
316317
local trust_policy_file=${HOME}/.config/notation/trustpolicy.json
317318

318319
cat >${trust_policy_file} <<EOF
@@ -333,6 +334,7 @@ function teardown_file() {
333334
]
334335
}
335336
EOF
337+
notation policy import --force ${trust_policy_file}
336338

337339
run notation sign --key "notation-sign-sync-test" --insecure-registry localhost:${zot_port3}/golang:1.20
338340
[ "$status" -eq 0 ]

0 commit comments

Comments
 (0)