Fix ci test for AWS S3

This commit is contained in:
Jacky Volpes 2023-08-07 16:44:26 +02:00 committed by Nyall Dawson
parent 46a3fdb31f
commit efcdc97daf
4 changed files with 3 additions and 6 deletions

View File

@ -124,7 +124,7 @@ else
fi
# Create an empty minio folder with appropriate permissions so www user can write inside it
mkdir -p /tmp/minio_tests/test_bucket && chmod -R 777 /tmp/minio_tests
mkdir -p /tmp/minio_tests/test-bucket && chmod -R 777 /tmp/minio_tests
# Create an empty webdav folder with appropriate permissions so www user can write inside it
mkdir -p /tmp/webdav_tests && chmod 777 /tmp/webdav_tests

View File

@ -24,6 +24,3 @@ test_core_layerdefinition
PyQgsProviderConnectionMssql
PyQgsStyleStorageMssql
# CI setup is no longer working for this test
PyQgsExternalStorageAwsS3

View File

@ -409,7 +409,7 @@ jobs:
echo "TEST_BATCH=$TEST_BATCH"
echo "DOCKERFILE=$DOCKERFILE"
mkdir -p /tmp/webdav_tests && chmod 777 /tmp/webdav_tests
mkdir -p /tmp/minio_tests/test_bucket && chmod -R 777 /tmp/minio_tests
mkdir -p /tmp/minio_tests/test-bucket && chmod -R 777 /tmp/minio_tests
docker-compose -f .docker/$DOCKERFILE run qgis-deps /root/QGIS/.docker/docker-qgis-test.sh $TEST_BATCH
- name: Archive test results report

View File

@ -34,7 +34,7 @@ class TestPyQgsExternalStorageAwsS3(TestPyQgsExternalStorageBase, unittest.TestC
super().setUpClass()
unittest.TestCase.setUpClass()
bucket_name = "test_bucket"
bucket_name = "test-bucket"
cls.auth_config = QgsAuthMethodConfig("AWSS3")
cls.auth_config.setConfig("username", "minioadmin")