Skip to content

Commit 05c9c37

Browse files
committed
chore(shellcheck): use shellcheck
1 parent c029139 commit 05c9c37

3 files changed

Lines changed: 10 additions & 5 deletions

File tree

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ sudo: required
22
language: go
33
services:
44
- docker
5-
script: make docker-build && make test
5+
script:
6+
- make docker-build
7+
- make test
68
notifications:
79
slack:
810
rooms:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ IMAGE_PREFIX ?= drycc
88

99
include versioning.mk
1010

11-
SHELL_SCRIPTS = $(wildcard _scripts/*.sh contrib/ci/*.sh rootfs/bin/*backup) rootfs/bin/is_running
11+
SHELL_SCRIPTS = $(wildcard _scripts/*.sh contrib/ci/*.sh rootfs/bin/*)
1212

1313
# The following variables describe the containerized development environment
1414
# and other build options

rootfs/bin/normalize_storage

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@ ACCESS_KEY_FILE="/var/run/secrets/drycc/objectstore/creds/accesskey"
44
SECRET_KEY_FILE="/var/run/secrets/drycc/objectstore/creds/secretkey"
55

66
if [ -f $BUCKET_FILE ]; then
7-
export MINIO_BUCKET=$(cat "$BUCKET_FILE")
7+
MINIO_BUCKET=$(cat "$BUCKET_FILE")
8+
export MINIO_BUCKET
89
fi
910
if [ -f $ACCESS_KEY_FILE ]; then
10-
export MINIO_ACCESS_KEY=$(cat "$ACCESS_KEY_FILE")
11+
MINIO_ACCESS_KEY=$(cat "$ACCESS_KEY_FILE")
12+
export MINIO_ACCESS_KEY
1113
fi
1214
if [ -f $SECRET_KEY_FILE ]; then
13-
export MINIO_SECRET_KEY=$(cat "$SECRET_KEY_FILE")
15+
MINIO_SECRET_KEY=$(cat "$SECRET_KEY_FILE")
16+
export MINIO_SECRET_KEY
1417
fi
1518

1619
export MINIO_ENDPOINT=http://"${DRYCC_MINIO_SERVICE_HOST}:${DRYCC_MINIO_SERVICE_PORT}"

0 commit comments

Comments
 (0)