Skip to content

Commit 9b55752

Browse files
author
Juan Tirado
committed
More fixes on the workflow.
1 parent 4bc6979 commit 9b55752

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)