Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HOTFIX runner-clean: only clear proxy env, never set it to acng (fixes datacenter runners) - #25

#25
Merged
igorpecovnik merged 1 commit into
mainarmbian/actions:mainfrom
fix/runner-clean-proxy-clear-onlyarmbian/actions:fix/runner-clean-proxy-clear-onlyCopy head branch name to clipboard
Jun 28, 2026
Merged

HOTFIX runner-clean: only clear proxy env, never set it to acng (fixes datacenter runners)#25
igorpecovnik merged 1 commit into
mainarmbian/actions:mainfrom
fix/runner-clean-proxy-clear-onlyarmbian/actions:fix/runner-clean-proxy-clear-onlyCopy head branch name to clipboard

Conversation

@igorpecovnik

Copy link
Copy Markdown
Member

Urgent — fixes regression from #24

#24 set http_proxy/https_proxy to the runner's apt_proxy when present. But apt_proxy is apt-cacher-ng (10.0.40.2:3142), which only proxies apt. Forcing it as the generic proxy on datacenter runners (geekom, …) routed all HTTPS (ghcr.io, github.com) through acng → everything broke:

http_proxy=http://10.0.40.2:3142
https_proxy=http://10.0.40.2:3142   # acng can't proxy general HTTPS -> build dies

Fix

Clear-only. Blank http(s)_proxy only when the runner advertises no apt_proxy (the original leak fix for kspace/insanisfiction). Runners that do advertise a proxy are left completely untouched — apt uses APT_PROXY_ADDR, git uses git_proxy. The acng address must never become the generic http(s)_proxy.

Restores datacenter runners to their pre-#24 behaviour while still neutralizing the stale-http_proxy leak on proxy-less runners. Please merge ASAP — #24 is currently breaking builds on every proxied runner.

… address

Regression from the previous change: setting http(s)_proxy to the runner's
apt_proxy forced acng (10.0.40.2:3142) as the GENERIC proxy on datacenter
runners. acng only proxies apt, so all general HTTPS (ghcr.io, github.com) broke
-> builds failed on geekom/etc.

Correct behaviour: only blank a stale http(s)_proxy when the runner advertises NO
apt proxy (the original leak fix); leave proxied runners untouched (apt uses
APT_PROXY_ADDR, git uses git_proxy). The acng address must never become the
generic http(s)_proxy.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
@igorpecovnik
igorpecovnik merged commit 8732028 into main Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.