Skip to content

Commit

Permalink
add verbose
Browse files Browse the repository at this point in the history
  • Loading branch information
ab77 committed Jun 11, 2024
1 parent bbb143c commit d15fff4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -840,10 +840,13 @@ jobs:
CMDS="set -ax \
&& cloud-init status --wait --long && cat </var/log/cloud-init-output.log \
&& sudo -u balena git clone https://token:${{ steps.ephemeral.outputs.token }}/${{ github.repository }}.git /home/balena/open-balena \
&& sudo -u balena git config --global --add safe.directory /home/balena/open-balena \
&& cd /home/balena/open-balena \
&& sudo -u balena git checkout ${COMMIT}
&& sudo -u balena git checkout ${COMMIT} \
&& sleep infinity \
&& source /root/.env \
&& sudo -Eu balena make up \
&& sed -i '/^version:.*/d' docker-compose.yml \
&& sudo -u balena --preserve-env=DNS_TLD,VERBOSE,PRODUCTION_MODE make up \
&& sudo -u balena make self-signed \
&& sudo -u balena make verify \
&& sudo -u balena make restart \
Expand All @@ -852,6 +855,8 @@ jobs:
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-getting-started-enable-ssh-connections.html
cat << EOF > "${HOME}/.ssh/config"
host i-*
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ STAGING_PKI ?= /usr/local/share/ca-certificates
PRODUCTION_MODE ?= true
ORG_UNIT ?= openBalena
SUPERUSER_EMAIL ?= admin@$(DNS_TLD)
VERBOSE ?= false

.NOTPARALLEL: $(DOCKERCOMPOSE)

Expand Down Expand Up @@ -43,6 +44,7 @@ endif
@echo "ORG_UNIT=$(ORG_UNIT)" >> .env
@echo "SUPERUSER_EMAIL=$(SUPERUSER_EMAIL)" >> .env
@echo "PRODUCTION_MODE=$(PRODUCTION_MODE)" >> .env
@echo "VERBOSE=$(VERBOSE)" >> .env
ifneq ($(GANDI_API_TOKEN),)
@echo "GANDI_API_TOKEN=$(GANDI_API_TOKEN)" >> .env
endif
Expand Down

0 comments on commit d15fff4

Please sign in to comment.