File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -60,15 +60,15 @@ jobs:
6060 sudo mkdir /home/runner/.ssh
6161 juju ssh 0 "sudo apt-get install squid -y"
6262 juju scp squid.conf 0:/tmp/squid.conf
63- juju ssh 0 "sudo mv /tmp/ squid.conf /etc/squid/squid.conf"
63+ juju ssh 0 "sudo mv squid.conf /etc/squid/squid.conf"
6464 juju ssh 0 "sudo squid -k reconfigure"
6565 # Test curl after waiting
6666 sleep 10
6767 echo "Test proxy access"
6868 curl -s -o /dev/null -w "%{http_code}" --proxy http://$PROXY https://charmhub.io
6969 # set model defaults
70- juju model-defaults localhost apt-http-proxy=$PROXY apt-https-proxy=$PROXY juju-http-proxy=$PROXY juju-https-proxy=$PROXY snap-http-proxy=$PROXY snap-https-proxy=$PROXY
71- juju model-defaults localhost
70+ juju model-defaults apt-http-proxy=$PROXY apt-https-proxy=$PROXY juju-http-proxy=$PROXY juju-https-proxy=$PROXY snap-http-proxy=$PROXY snap-https-proxy=$PROXY
71+ juju model-defaults
7272 - name : Setup Python
7373 uses : actions/setup-python@v4
7474 with :
You can’t perform that action at this time.
0 commit comments