File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,18 @@ jobs:
101
101
uses : actions/checkout@v4
102
102
with :
103
103
fetch-depth : 0
104
+ - name : (GitHub hosted) Free up disk space
105
+ timeout-minutes : 1
106
+ run : |
107
+ printf '\nDisk usage before cleanup\n'
108
+ df --human-readable
109
+ # Based on https://github.com/actions/runner-images/issues/2840#issuecomment-790492173
110
+ rm -r /opt/hostedtoolcache/
111
+ printf '\nDisk usage after cleanup\n'
112
+ df --human-readable
113
+ - name : (self hosted) Disk usage
114
+ timeout-minutes : 1
115
+ run : df --human-readable
104
116
- name : Install terraform snap
105
117
run : |
106
118
sudo snap install terraform --channel=latest/stable --classic
@@ -121,6 +133,7 @@ jobs:
121
133
sudo iptables -P FORWARD ACCEPT
122
134
- name : Juju setup
123
135
run : |
136
+ mkdir -p ~/.local/share/juju # Workaround for juju 3 strict snap
124
137
sg 'lxd' -c "juju bootstrap 'localhost' --config model-logs-size=10G"
125
138
juju model-defaults logging-config='<root>=INFO; unit=DEBUG'
126
139
- name : Terraform deploy ${{ matrix.module.name }}
You can’t perform that action at this time.
0 commit comments