-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
We use Github to track bugs in Staffjoy. Please answer these questions before submitting your issue. All of our code is in one place, so please preface the title with the system where the bug is (e.g. "company api" or "www"). Thanks!
What environment did you encounter the issue in?
Development
What did you do?
After vagrant up and vagrant ssh I went into $STAFFJOY and ran "make dev-build". This returned an error during the db migration because of an unbound variable associated with $ACCOUN_MYSQL_CONFIG (from this line in ci/dev-build.sh migrate -database=${ACCOUNT_MYSQL_CONFIG} -path=${STAFFJOY}/account/migrations/ up).
What did you expect to see?
No errors
What did you see instead?
vagrant@staffjoy-v2:~/golang/src/v2.staffjoy.com$ make dev-build
make clean
make[1]: Entering directory '/home/vagrant/golang/src/v2.staffjoy.com'
rm -rf vendor/
make[1]: Leaving directory '/home/vagrant/golang/src/v2.staffjoy.com'
bash ci/build.sh
bash ci/dev-build.sh
++ date +%s
+ VERSION=dev-1673238010
+ NAMESPACE=development
+ targets=('www' 'faraday' 'account/api' 'account/server' 'email/server' 'myaccount' 'whoami' 'company/server' 'company/api' 'ical' 'superpowers' 'sms/server' 'bot/server' 'app')
+ declare -a targets
+ echo 'Running database migration'
Running database migration
ci/dev-build.sh: line 14: ACCOUNT_MYSQL_CONFIG: unbound variable
make: *** [makefile:48: dev-build] Error 1
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels