Waiting only for postgres backend
Cette révision appartient à :
Parent
dbb35cd336
révision
6798b30a16
1 fichiers modifiés avec 6 ajouts et 2 suppressions
|
@ -1,9 +1,13 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -eux
|
||||||
|
|
||||||
# TODO Doesn't scale, find another way to wait until db is ready
|
# TODO Doesn't scale, find another way to wait until db is ready
|
||||||
sleep 40
|
if [[ "${PANTSU_DBTYPE}" = "postgres" ]]; then
|
||||||
|
echo 'Waiting for the database to be ready...'
|
||||||
|
sleep 40
|
||||||
|
fi
|
||||||
|
|
||||||
go get github.com/ewhal/nyaa
|
go get github.com/ewhal/nyaa
|
||||||
go generate ./...
|
go generate ./...
|
||||||
go build
|
go build
|
||||||
|
|
Référencer dans un nouveau ticket