mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 04:17:55 +08:00
ci/cd: fix oras cli flags after it got updated
installing notation and oras not needed anymore Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
committed by
Ramkumar Chinchani
parent
26f85ab195
commit
01d742718f
@@ -68,14 +68,14 @@ function teardown_file() {
|
||||
@test "push oras artifact" {
|
||||
echo "{\"name\":\"foo\",\"value\":\"bar\"}" > config.json
|
||||
echo "hello world" > artifact.txt
|
||||
oras push 127.0.0.1:8080/hello-artifact:v2 \
|
||||
oras push --plain-http 127.0.0.1:8080/hello-artifact:v2 \
|
||||
--manifest-config config.json:application/vnd.acme.rocket.config.v1+json artifact.txt:text/plain -d -v
|
||||
rm -f artifact.txt
|
||||
rm -f config.json
|
||||
}
|
||||
|
||||
@test "pull oras artifact" {
|
||||
oras pull 127.0.0.1:8080/hello-artifact:v2 -d -v -a
|
||||
oras pull --plain-http 127.0.0.1:8080/hello-artifact:v2 -d -v
|
||||
grep -q "hello world" artifact.txt
|
||||
rm -f artifact.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user