forked from LaconicNetwork/kompose
chore: install dyff in CI pipeline
Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
parent
615e0af371
commit
e86dd3f16a
@ -107,8 +107,6 @@ convert::expect_warning "$cmd" "Push image registry 'whatever' is specified but
|
||||
convert::check_artifacts_generated "kompose -f $KOMPOSE_ROOT/script/test/fixtures/storage-class-name/docker-compose.yml convert -o $TEMP_DIR/output-k8s.yaml" "$TEMP_DIR/output-k8s.yaml"
|
||||
convert::check_artifacts_generated "kompose --provider=openshift -f $KOMPOSE_ROOT/script/test/fixtures/storage-class-name/docker-compose.yml convert -o $TEMP_DIR/output-os.yaml -j" "$TEMP_DIR/output-os.yaml"
|
||||
|
||||
set -e
|
||||
|
||||
# TEST the windows volume
|
||||
# windows host path to windows container
|
||||
k8s_cmd="kompose -f $KOMPOSE_ROOT/script/test/fixtures/volume-mounts/windows/docker-compose.yaml convert --stdout --with-kompose-annotation=false"
|
||||
@ -118,6 +116,9 @@ os_output="$KOMPOSE_ROOT/script/test/fixtures/volume-mounts/windows/output-os.ya
|
||||
convert::expect_success_and_warning "$k8s_cmd" "$k8s_output"
|
||||
convert::expect_success_and_warning "$os_cmd" "$os_output"
|
||||
|
||||
# Exit if status code different than 0
|
||||
set -e
|
||||
|
||||
# # TEST the placement
|
||||
# should convert placement to affinity
|
||||
k8s_cmd="kompose -f $KOMPOSE_ROOT/script/test/fixtures/deploy/placement/docker-compose-placement.yaml convert --stdout --with-kompose-annotation=false"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user