Skip to content

Commit a28a701

Browse files
committed
chore: update image for fuse config
1 parent 07eab7b commit a28a701

1 file changed

Lines changed: 18 additions & 10 deletions

File tree

.cl/cloudbuild.yaml

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,28 @@
1313
# limitations under the License.
1414

1515
steps:
16+
# - id: enable fuse config
17+
# name: 'ubuntu'
18+
# entrypoint: 'bash'
19+
# args:
20+
# - '-c'
21+
# - |
22+
# apt-get update
23+
# apt-get install -y sudo
24+
# if [ ! -f /etc/fuse.conf ]; then
25+
# echo "user_allow_other" | sudo tee /etc/fuse.conf
26+
# else
27+
# sudo sed -i "s/#user_allow_other/user_allow_other/g" /etc/fuse.conf
28+
# fi
1629
- id: enable fuse config
17-
name: 'ubuntu'
18-
entrypoint: 'bash'
30+
name: 'alpine'
31+
entrypoint: 'sh'
1932
args:
2033
- '-c'
2134
- |
22-
apt-get update
23-
apt-get install -y sudo
24-
if [ ! -f /etc/fuse.conf ]; then
25-
echo "user_allow_other" | sudo tee /etc/fuse.conf
26-
else
27-
sudo sed -i "s/#user_allow_other/user_allow_other/g" /etc/fuse.conf
28-
fi
29-
- id: run mysql integration tests
35+
apk add --no-cache sed fuse sudo
36+
sudo sed -i "s/#user_allow_other/user_allow_other/g" /etc/fuse.conf
37+
- id: run integration tests
3038
name: golang:${_VERSION}
3139
env:
3240
- "IP_TYPE=${_IP_TYPE}"

0 commit comments

Comments
 (0)