Skip to content

Commit 454f788

Browse files
committed
chore: update steps
1 parent 2de9711 commit 454f788

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.cl/cloudbuild.yaml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,11 @@
1313
# limitations under the License.
1414

1515
steps:
16-
- id: enable fuse config
16+
- id: 'Enable fuse config (Linux)'
1717
name: 'alpine'
1818
entrypoint: 'sh'
19-
args:
20-
- '-c'
21-
- |
22-
apk add --no-cache sed fuse sudo
23-
echo "Checking for fusermount..."
24-
ls -l /bin/fusermount
25-
ls -l /usr/bin/fusermount
26-
export PATH=/usr/bin:$PATH
27-
echo "PATH: \$PATH"
28-
sudo sed -i "s/#user_allow_other/user_allow_other/g" /etc/fuse.conf
19+
args: |
20+
sudo sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
2921
# - id: enable fuse config
3022
# name: 'alpine'
3123
# entrypoint: 'sh'
@@ -63,6 +55,7 @@ steps:
6355
args:
6456
- -c
6557
- |
58+
set -eo pipefail
6659
go test -race -v ./...
6760
substitutions:
6861
_VERSION: ${_VERSION}

0 commit comments

Comments
 (0)