mirror of
https://github.com/project-zot/zot.git
synced 2025-03-18 02:22:53 -05:00
Added helm push/pull to blackbox tests
Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
This commit is contained in:
parent
01d742718f
commit
2c3415c86b
1 changed files with 10 additions and 0 deletions
|
@ -29,6 +29,7 @@ function setup_file() {
|
|||
}
|
||||
}
|
||||
EOF
|
||||
git -C ${BATS_FILE_TMPDIR} clone https://github.com/project-zot/helm-charts.git
|
||||
setup_zot_file_level ${zot_config_file}
|
||||
wait_zot_reachable "http://127.0.0.1:8080/v2/_catalog"
|
||||
}
|
||||
|
@ -79,3 +80,12 @@ function teardown_file() {
|
|||
grep -q "hello world" artifact.txt
|
||||
rm -f artifact.txt
|
||||
}
|
||||
|
||||
@test "push helm chart" {
|
||||
helm package ${BATS_FILE_TMPDIR}/helm-charts/charts/zot
|
||||
helm push zot-0.1.0.tgz oci://localhost:8080/zot-chart
|
||||
}
|
||||
|
||||
@test "pull helm chart" {
|
||||
helm pull oci://localhost:8080/zot-chart/zot --version 0.1.0
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue