File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff 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}
252253EOF
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
Original file line number Diff line number Diff 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}
308309EOF
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 ]
Original file line number Diff line number Diff 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}
335336EOF
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 ]
You can’t perform that action at this time.
0 commit comments