lp:~smoser/curtin/trunk.auto-proxy
- Get this branch:
- bzr branch lp:~smoser/curtin/trunk.auto-proxy
Branch merges
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
- curtin developers: Pending requested
-
Diff: 126 lines (+47/-8)2 files modifiedtools/jenkins-runner (+1/-1)
tools/launch (+46/-7)
Branch information
Recent revisions
- 509. By Scott Moser
-
tools/launch: automatically pass on proxy settings to curtin
This makes tools/launch automatically pass on proxy settings
http_proxy, https_proxy, no_proxy
from its environment into curtin via curtins' newly added 'proxy' config.It also puts the discovered IP address into 'no_proxy'. This means
that by default, curtin will get the host environment's proxy settings
but will not attempt to use the proxy for the host's IP address. This is
done because it is likely that the configured proxy will not proxy
traffic back to this host.As an implementation detail, it adds 'curtin_extra' arguments and
integrates the previously added '--install-deps' flag into that. - 508. By Scott Moser
-
Add top level 'proxy' to config, deprecate top level http_proxy.
This allows user to set http_proxy, https_proxy and no_proxy in their
config.
proxy:
http_proxy: http://squid:3128/
https_proxy: http://squid:3128/
no_proxy: 10.0.0.2,127.0.0.1Also migrates over the old 'http_proxy' top level config to
proxy/http_proxy. - 507. By Scott Moser
-
tools/curtainer: fix to enable deb-src for -proposed.
This fixes a bug where:
curtainer --proposed --source=out.d
would not get source from -proposed, but rather from -updates or release
pocket. Additionally, it puts a debug statement in to show the version
that it did pull.Also here is removal of some trailing white space.
- 506. By Scott Moser
-
Use unshare to put chroot commands in own pid namespace.
Bug 1645680 showed problems when a process started detached and
was left running. This starts processes in a chroot in their own
pid namespace, so that the process is pid 1. Then, its children
are killed when it exits.Also, backed out the work around changes made for 1645680.
- 505. By Scott Moser
-
vmtest: let the socket level select a port rather than us picking one.
Previously we had some code in tools/launch to pick a random port
from a range of ports. That worked for the most part, but we recently
had a failure in vmtest where we failed to select a port in 5 tries.Instead of selecting a port at random and then trying to bind to it, we
can ask the socket layer for port 0, and it automatically assigns one.
We then modify 'webserv' to output the port it binded and 'launch' to
read it. - 504. By Ryan Harper
-
Fix deb build by mocking call to udevadm settle
The sbuild chroot environment does not have the 'udevadm' command. A
recent unittest now invokes 'udevadm settle' which is not mocked and
failed due to the missing command in the build environment. Fix by
adding a mock to the call to udevadm.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:~curtin-dev/curtin/trunk