Skip to content

Commit

Permalink
print dir
Browse files Browse the repository at this point in the history
  • Loading branch information
mxfactorial committed May 14, 2023
1 parent d70c38b commit ce87c96
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/dev-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
# rm migrate.linux-amd64.deb
- name: start services
run: make dev
- name: list pids
run: make list-pids
# - name: test service integration
# run: make -C ./test test-local
# - name: reset db
Expand Down
2 changes: 1 addition & 1 deletion project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ scripts:
default: mock.go
REQUIRED_PID_COUNT:
ssm: null
default: 10
default: 9
LOCAL_RESTART_LIMIT:
ssm: null
default: 3
Expand Down
2 changes: 1 addition & 1 deletion scripts/restart-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function restart() {
echo -e -n "\n${RED}*** not all apps were started. $RESTARTS restart(s) left before exiting${RESET}\n"
source ./scripts/stop-local.sh
source ./scripts/start-local.sh
echo "pids"
echo "list pids from $(pwd)"
make --no-print-directory list-pids
sleep "$RESTART_SLEEP_SECONDS"
RESTART_COUNT=$(($RESTART_COUNT+1))
Expand Down
1 change: 1 addition & 0 deletions scripts/start-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ for d in "${APP_DIRS[@]}"; do
pushd "$d" > /dev/null
# &; \ disown fails in make so backgrounding kept in bash
if [[ "$RUNTIME" == 'provided.al2' ]]; then
continue # remove
eval $(cat $ENV_FILE_NAME) cargo run > /dev/null 2>&1 &
disown
fi
Expand Down
1 change: 0 additions & 1 deletion test/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ get-secrets:
bash scripts/create-env-file.sh \
--app-name $(APP_NAME) \
--env $(ENV)

0 comments on commit ce87c96

Please sign in to comment.