|
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | 15 | 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 |
28 | 36 |
|
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 |
36 | 42 |
|
37 | 43 | - id: run mysql integration tests |
38 | 44 | name: golang:${_VERSION} |
|
0 commit comments