tests: move some integration tests to gitlab CI
This also includes several modifications to tests scripts to enable them running in gitlab CI.
This commit is contained in:
parent
e613b2456b
commit
8dcf859473
7 changed files with 84 additions and 36 deletions
|
|
@ -130,7 +130,7 @@ function cleanupAzure() {
|
|||
# do not run clean-up if the image name is not yet defined
|
||||
if [[ -n "$AZURE_CMD" && -n "$AZURE_IMAGE_NAME" ]]; then
|
||||
set +e
|
||||
$AZURE_CMD image delete --resource-group sharing-research --name "$AZURE_IMAGE_NAME"
|
||||
$AZURE_CMD image delete --resource-group "$AZURE_RESOURCE_GROUP" --name "$AZURE_IMAGE_NAME"
|
||||
|
||||
# find a storage account by its tag
|
||||
AZURE_STORAGE_ACCOUNT=$($AZURE_CMD resource list --tag imageBuilderStorageAccount=location="$AZURE_LOCATION" | jq -r .[0].name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue