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

build providers: set snapd proxy settings prior to _setup_snapcraft() #3343

Closed
wants to merge 3 commits into from

Conversation

cjp256
Copy link
Contributor

@cjp256 cjp256 commented Oct 29, 2020

Snaps may be installed in _setup_snapcraft(), which runs before
_setup_snapd_proxy().

It works when snaps are injected from the host, but the snapd
proxy must be configured in case the host does not provide the
required snaps.

Signed-off-by: Chris Patterson chris.patterson@canonical.com

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run ./runtests.sh static?
  • Have you successfully run ./runtests.sh tests/unit?

sergiusens
sergiusens previously approved these changes Oct 29, 2020
Snaps may be installed in _setup_snapcraft(), which runs before
_setup_snapd_proxy().

It works when snaps are injected from the host, but the snapd
proxy must be configured in case the host does not provide the
required snaps.

Signed-off-by: Chris Patterson <chris.patterson@canonical.com>
@cjp256 cjp256 changed the title build providers: set snapd proxy settings after setup_environment() build providers: set snapd proxy settings prior to _setup_snapcraft() Oct 29, 2020
@sergiusens
Copy link
Collaborator

Did you have any luck debugging this issue?

@sergiusens
Copy link
Collaborator

Please re-open once issues are fixed.

@sergiusens sergiusens closed this Jan 13, 2021
@sergiusens sergiusens deleted the fix-snapd-proxy branch January 13, 2021 18:56
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

2 participants