2626COMPONENT_VERSION=" $( bump-my-version show current_version | tail -n -1 | python -c ' from packaging.version import Version; print(Version(input()))' ) "
2727COMPONENT_SOURCE=" ./pulp_gem/dist/pulp_gem-${COMPONENT_VERSION} -py3-none-any.whl"
2828if [ " $TEST " = " s3" ]; then
29- COMPONENT_SOURCE=" ${COMPONENT_SOURCE} pulpcore[s3]"
29+ COMPONENT_SOURCE=" ${COMPONENT_SOURCE} pulpcore[s3] git+https://github.com/gerrod3/botocore.git@fix-100-continue "
3030fi
3131if [ " $TEST " = " azure" ]; then
3232 COMPONENT_SOURCE=" ${COMPONENT_SOURCE} pulpcore[azure]"
3838if [[ " $TEST " = " lowerbounds" ]]; then
3939 python3 .ci/scripts/calc_constraints.py pyproject.toml > lowerbounds_constraints.txt
4040fi
41- export PULP_API_ROOT=$( test " ${TEST} " = " s3" && echo " /rerouted/djnd/" || echo " /pulp/" )
42-
43- echo " PULP_API_ROOT=${PULP_API_ROOT} " >> " $GITHUB_ENV "
4441
4542# Compose the scenario definition.
4643mkdir -p .ci/ansible/vars
4744
4845cat > .ci/ansible/vars/main.yaml << VARSYAML
4946---
5047scenario: "${TEST} "
48+ plugin_name: "pulp_gem"
5149legacy_component_name: "pulp_gem"
5250component_name: "gem"
5351component_version: "${COMPONENT_VERSION} "
5452pulp_env: {}
55- pulp_settings: null
53+ pulp_settings: {"api_root": "/pulp/"}
5654pulp_scheme: "https"
57- pulp_default_container: "ghcr.io/pulp/pulp-ci-centos9:latest"
58- api_root: "${PULP_API_ROOT} "
5955image:
6056 name: "pulp"
6157 tag: "ci_build"
62- plugins:
63- - name: "pulp_gem"
64- source: "${COMPONENT_SOURCE} "
65- ci_requirements: $( test -f ci_requirements.txt && echo -n true || echo -n false)
66- upperbounds: $( test " ${TEST} " = " pulp" && echo -n true || echo -n false)
67- lowerbounds: $( test " ${TEST} " = " lowerbounds" && echo -n true || echo -n false)
58+ ci_base: "ghcr.io/pulp/pulp-ci-centos9:latest"
59+ source: "${COMPONENT_SOURCE} "
60+ ci_requirements: $( test -f ci_requirements.txt && echo -n true || echo -n false)
61+ upperbounds: $( test " ${TEST} " = " pulp" && echo -n true || echo -n false)
62+ lowerbounds: $( test " ${TEST} " = " lowerbounds" && echo -n true || echo -n false)
63+ webserver_snippet: $( test -f pulp_gem/app/webserver_snippets/nginx.conf && echo -n true || echo -n false )
64+ extra_files:
65+ - origin: "pulp_gem"
66+ destination: "pulp_gem"
6867services:
6968 - name: "pulp"
7069 image: "pulp:ci_build"
7170 volumes:
7271 - "./settings:/etc/pulp"
73- - "./ssh:/keys/"
74- - "~/.config:/var/lib/pulp/.config"
7572 - "../../../pulp-openapi-generator:/root/pulp-openapi-generator"
7673 env:
7774 PULP_WORKERS: "4"
@@ -91,7 +88,7 @@ if [ "$TEST" = "s3" ]; then
9188s3_test: true
9289minio_access_key: "${MINIO_ACCESS_KEY} "
9390minio_secret_key: "${MINIO_SECRET_KEY} "
94- pulp_scenario_settings: {"MEDIA_ROOT": "", "STORAGES": {"default": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage", "OPTIONS": {"access_key": "AKIAIT2Z5TDYPX3ARJBA", "addressing_style": "path", "bucket_name": "pulp3", "default_acl": "@none", "endpoint_url": "http://minio:9000", "region_name": "eu-central-1", "secret_key": "fqRvjWaPU5o0fCqQuUWbj9Fainj2pVZtBCiDiieS", "signature_version": "s3v4"}}, "staticfiles": {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"}}, "allowed_content_checksums": ["md5", "sha224", "sha256", "sha384", "sha512"], "domain_enabled": true}
91+ pulp_scenario_settings: {"MEDIA_ROOT": "", "STORAGES": {"default": {"BACKEND": "storages.backends.s3boto3.S3Boto3Storage", "OPTIONS": {"access_key": "AKIAIT2Z5TDYPX3ARJBA", "addressing_style": "path", "bucket_name": "pulp3", "default_acl": "@none", "endpoint_url": "http://minio:9000", "region_name": "eu-central-1", "secret_key": "fqRvjWaPU5o0fCqQuUWbj9Fainj2pVZtBCiDiieS", "signature_version": "s3v4"}}, "staticfiles": {"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"}}, "allowed_content_checksums": ["md5", "sha224", "sha256", "sha384", "sha512"], "api_root": "/rerouted/djnd/", " domain_enabled": true}
9592pulp_scenario_env: {}
9693VARSYAML
9794fi
0 commit comments