Skip to content

Enable Azure support#459

Merged
gerrod3 merged 1 commit into
pulp:mainfrom
fao89:azure
Oct 28, 2021
Merged

Enable Azure support#459
gerrod3 merged 1 commit into
pulp:mainfrom
fao89:azure

Conversation

@fao89

@fao89 fao89 commented Oct 26, 2021

Copy link
Copy Markdown
Member

closes #458

Checking if every plugin installed in pulp-operator can support azure
https://github.com/pulp/pulp-operator/blob/main/.ci/ansible/pulp/vars.yaml#L14-L21

@fao89
fao89 force-pushed the azure branch 3 times, most recently from bf85e3f to bb44982 Compare October 27, 2021 14:37
Comment on lines +98 to +99
export PYTHONPATH=$REPO_ROOT/../pulpcore${PYTHONPATH:+:${PYTHONPATH}}
export PYTHONPATH=$REPO_ROOT${PYTHONPATH:+:${PYTHONPATH}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change the path to?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

came from pulp/plugin_template#505

I'm not entirely sure why we did it, but I think @mdellweg was helping with some issue on pulp-certguard

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This helps adding al the extra plugins to the path for unittests.

Comment thread pulp_python/app/models.py
Comment on lines +93 to +97
elif settings.DEFAULT_FILE_STORAGE == "storages.backends.s3boto3.S3Boto3Storage":
parameters = {
"ResponseContentDisposition": content_disposition,
"ResponseContentType": "text/html"
}

@gerrod3 gerrod3 Oct 28, 2021

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job on finding this obscure piece of the code. I need to find some time to create a proper solution to this issue, instead of adding on to this hack, but this is the best we can do for now.

@gerrod3
gerrod3 merged commit 7cfbca9 into pulp:main Oct 28, 2021
@gerrod3 gerrod3 added this to the 3.6.0 milestone Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable azure support

3 participants