Skip to content

Commit 4bc6979

Browse files
author
Juan Tirado
committed
Dump squid.conf to local folder.
1 parent b8044e7 commit 4bc6979

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,16 @@ jobs:
5050
echo "Controller IP is: $CONTROLLER_IP"
5151
PROXY=$CONTROLLER_IP:3128
5252
echo "Proxy address is: $PROXY"
53-
echo "acl all src all" > /tmp/squid.conf
54-
echo "http_access allow all" >> /tmp/squid.conf
55-
echo "http_port $PROXY" >> /tmp/squid.conf
53+
echo "acl all src all" > squid.conf
54+
echo "http_access allow all" >> squid.conf
55+
echo "http_port $PROXY" >> squid.conf
5656
cat /tmp/squid.conf
5757
# copy to the controller and reconfigure it
5858
juju status -m controller
5959
juju switch controller
6060
sudo mkdir /home/runner/.ssh
6161
juju ssh 0 "sudo apt-get install squid -y"
62-
juju scp /tmp/squid.conf 0:/tmp/squid.conf
62+
juju scp squid.conf 0:/tmp/squid.conf
6363
juju ssh 0 "sudo mv /tmp/squid.conf /etc/squid/squid.conf"
6464
juju ssh 0 "sudo squid -k reconfigure"
6565
# Test curl after waiting

0 commit comments

Comments
 (0)