YaleUniversity / packer-plugin-goss

Goss Provisioner for Packer
MIT License
136 stars 45 forks source link

Set HTTP_PROXY gets ignored for goss binary download #38

Closed MaxRink closed 10 months ago

MaxRink commented 3 years ago

We are running our packer CI in an environment where you need an http_proxy to connect to the internet (or most other services for that matter) The provisioner doesnt seem to care about the proxy being set. Thus the download from github just fails.

==> vsphere: Provisioning with Goss
    vsphere: Installing Goss from, https://github.com/aelsabbahy/goss/releases/download/v0.3.13/goss-linux-amd64
    vsphere: Downloading Goss to /tmp/goss-0.3.13-linux-amd64
==> vsphere:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
==> vsphere:                                  Dload  Upload   Total   Spent    Left  Speed
==> vsphere:   0     0    0     0    0     0      0      0 --:--:--  0:02:10 --:--:--     0curl: (7) Failed to connect to github.com port 443: Connection timed out
==> vsphere: --2020-12-02 14:52:58--  https://github.com/aelsabbahy/goss/releases/download/v0.3.13/goss-linux-amd64
==> vsphere: Resolving github.com (github.com)... 140.82.121.4
==> vsphere: Connecting to github.com (github.com)|140.82.121.4|:443... failed: Connection timed out.
==> vsphere: Retrying.
==> vsphere:
==> vsphere: --2020-12-02 14:55:10--  (try: 2)  https://github.com/aelsabbahy/goss/releases/download/v0.3.13/goss-linux-amd64
MaxRink commented 3 years ago

Btw, http proxy support for goss just landed https://github.com/aelsabbahy/goss/pull/589

btassone commented 10 months ago

marking as closed