Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapcraft.io access should use https requests #715

Merged
merged 1 commit into from Aug 22, 2022

Conversation

addyess
Copy link
Contributor

@addyess addyess commented Aug 22, 2022

Description

This PR switches the charmhub api connection from http -> https to make sure we're not insisting on http when calling charmhub and get blocked by firewalls.

QA Steps

We have tests in place to test the calls to charmhub, so all the tests in test_charmhub.py should be passing:

tox -e integration -- tests/integration/test_charmhub.py

Notes & Discussion

Note that this is only a temporary patch. There's gonna be a another PR that will fetch the host address from the model configuration dynamically.

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

8 similar comments
@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@jujubot
Copy link
Contributor

jujubot commented Aug 22, 2022

Can one of the admins verify this patch?

@cderici
Copy link
Member

cderici commented Aug 22, 2022

/build

@cderici
Copy link
Member

cderici commented Aug 22, 2022

/merge

@jujubot jujubot merged commit dacbf65 into juju:master Aug 22, 2022
jujubot added a commit that referenced this pull request Oct 6, 2022
#739

## What's Changed

* Model name can now be accessed through model.name by @jack-w-shaw in #702
* [JUJU-1593] Fix `unit.run()` and update the old client codes by @cderici in #710
* Add py.typed marker by @sed-i in #709
* [JUJU-1664] Add force, no-wait, destroy-storage params to app.destroy by @cderici in #714
* snapcraft.io access should use https requests by @addyess in #715
* [JUJU-1680] Add issue and PR templates by @cderici in #718
* [JUJU-1681] Add --attach-storage parameter to model.deploy by @cderici in #720
* [JUJU-1706] Allow waiting for `wait_for_exact_units=0` by @cderici in #723
* [JUJU-1663] Drop Python 3.5 support from python-libjuju by @cderici in #722
* [JUJU-1671] Charmhub url from model config by @cderici in #724
* [JUJU-1733] Revisit unitrun example by @cderici in #725
* [JUJU-1800] Revise the `application.upgrade_charm()` (refresh) by @cderici in #729
* [JUJU-1893] Revisit `charmhub.info()` by @cderici in #737

[JUJU-1593]: https://warthogs.atlassian.net/browse/JUJU-1593?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1664]: https://warthogs.atlassian.net/browse/JUJU-1664?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1680]: https://warthogs.atlassian.net/browse/JUJU-1680?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1681]: https://warthogs.atlassian.net/browse/JUJU-1681?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1706]: https://warthogs.atlassian.net/browse/JUJU-1706?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1663]: https://warthogs.atlassian.net/browse/JUJU-1663?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
[JUJU-1671]: https://warthogs.atlassian.net/browse/JUJU-1671?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
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.

None yet

3 participants