Skip to content

Commit 6db585f

Browse files
committed
chore: run step 2 directly
1 parent 675835f commit 6db585f

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

.cl/cloudbuild.yaml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,32 @@
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 && apt-get install -y sed
23-
# Check if FUSE device exists
24-
if [ ! -c /dev/fuse ]; then
25-
echo "Error: FUSE device /dev/fuse not found. FUSE might not be available in this environment."
26-
exit 1
27-
fi
16+
# - id: enable-fuse-config
17+
# name: 'ubuntu'
18+
# entrypoint: bash
19+
# args:
20+
# - '-c'
21+
# - |
22+
# apt-get update && apt-get install -y sed
23+
# # Check if FUSE device exists
24+
# if [ ! -c /dev/fuse ]; then
25+
# echo "Error: FUSE device /dev/fuse not found. FUSE might not be available in this environment."
26+
# exit 1
27+
# fi
28+
29+
# # Create /etc/fuse.conf if it doesn't exist and populate with default content
30+
# if [ ! -f /etc/fuse.conf ]; then
31+
# echo "Creating /etc/fuse.conf with default content."
32+
# cat <<EOF > /etc/fuse.conf
33+
# # Set the maximum number of FUSE mounts allowed to non-root users.
34+
# # The default is 1000.
35+
# #mount_max = 1000
2836

29-
# Create /etc/fuse.conf if it doesn't exist and populate with default content
30-
if [ ! -f /etc/fuse.conf ]; then
31-
echo "Creating /etc/fuse.conf with default content."
32-
cat <<EOF > /etc/fuse.conf
33-
EOF
34-
fi
35-
sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
37+
# # Allow non-root users to specify the 'allow_other' mount option.
38+
# #user_allow_other
39+
# EOF
40+
# fi
41+
# sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
3642

3743
- id: run mysql integration tests
3844
name: golang:${_VERSION}

0 commit comments

Comments
 (0)