GitLab CI: Add GCP tests

This commit is contained in:
Alexander Todorov 2021-05-25 12:42:46 +03:00 committed by Ondřej Budai
parent 661d59e534
commit 3717ddfbbd
2 changed files with 5 additions and 0 deletions

View file

@ -132,6 +132,7 @@ Integration:
- /usr/libexec/tests/osbuild-composer/azure.sh - /usr/libexec/tests/osbuild-composer/azure.sh
- /usr/libexec/tests/osbuild-composer/api.sh azure - /usr/libexec/tests/osbuild-composer/api.sh azure
- /usr/libexec/tests/osbuild-composer/api.sh aws - /usr/libexec/tests/osbuild-composer/api.sh aws
- /usr/libexec/tests/osbuild-composer/api.sh gcp
parallel: parallel:
matrix: matrix:
- RUNNER: - RUNNER:

View file

@ -45,6 +45,10 @@ case $CLOUD_PROVIDER in
;; ;;
"$CLOUD_PROVIDER_GCP") "$CLOUD_PROVIDER_GCP")
echo "Testing Google Cloud Platform" echo "Testing Google Cloud Platform"
if [[ $ID == fedora ]]; then
echo "Skipped, Fedora isn't supported by GCP"
exit 0
fi
;; ;;
"$CLOUD_PROVIDER_AZURE") "$CLOUD_PROVIDER_AZURE")
echo "Testing Azure" echo "Testing Azure"