summaryrefslogtreecommitdiff
path: root/bin/setup
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-05 16:30:19 -0600
committermo khan <mo.khan@gmail.com>2020-06-08 18:24:52 -0600
commit8e206689d9aae60f20ed25ce2c55b1f9a80a8daa (patch)
treed37f47cdbe4acee4aecc827006a811dba5010dd1 /bin/setup
parent5eef2e4c1a5c28f4e2b8e48e4701dae56264a979 (diff)
Use GOPROXY to test downloading modules for trusted and untrusted TLS endpoints
* Use haproxy to proxy to package registry * Install haproxy in setup script * Add markers for collapsible sections * Move ignored groups setup to prepare_project
Diffstat (limited to 'bin/setup')
-rwxr-xr-xbin/setup3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/setup b/bin/setup
index 7b7f9fb..b54a99f 100755
--- a/bin/setup
+++ b/bin/setup
@@ -6,3 +6,6 @@ cd "$(dirname "$0")/.."
gem install bundler --conservative -v '~> 2.0' -q
bundle install --quiet
+if [ ! -f /usr/sbin/haproxy ] && command -v apt-get; then
+ apt-get update -y && apt-get install -y --no-install-recommends haproxy
+fi