From 987ba8495ed26899f2f93bdfd13185bf77caf6d3 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Fri, 4 Apr 2025 10:17:20 +0200 Subject: [PATCH] [TOOLS] Update fdroid repo: try with no-proxy (attempt 2) --- .github/workflows/update_fdroid_repo-no-proxy.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update_fdroid_repo-no-proxy.yaml b/.github/workflows/update_fdroid_repo-no-proxy.yaml index 4821c5ff..ff54d8a6 100644 --- a/.github/workflows/update_fdroid_repo-no-proxy.yaml +++ b/.github/workflows/update_fdroid_repo-no-proxy.yaml @@ -1,4 +1,4 @@ -name: Update fdroid repo +name: Update fdroid repo no-proxy on: workflow_dispatch: @@ -25,6 +25,12 @@ jobs: - name: Update fdroid repo shell: bash run: | + export https_proxy=http://127.0.0.1:8118 + socat TCP-LISTEN:8118,reuseaddr,fork UNIX-CLIENT:/tmp/forward-proxy/proxy.sock & + socat TCP-LISTEN:1080,reuseaddr,fork UNIX-CLIENT:/tmp/forward-proxy/ftp.sock & + touch /etc/apt/apt.conf.d/proxy.conf + echo "Acquire::http::Proxy \"$https_proxy\";" >/etc/apt/apt.conf.d/proxy.conf + cd / . fdroidserver-env/bin/activate apt update