|
@ -26,7 +26,7 @@ steps: |
|
|
commands: |
|
|
commands: |
|
|
- go get -u github.com/pressly/goose/... |
|
|
- go get -u github.com/pressly/goose/... |
|
|
- cd migrations/postgres |
|
|
- cd migrations/postgres |
|
|
- goose postgres "$(DB_CONNECT)" up |
|
|
|
|
|
|
|
|
- goose postgres '$DB_CONNECT' up |
|
|
|
|
|
|
|
|
- name: backend-deploy |
|
|
- name: backend-deploy |
|
|
image: node:14.14.0 |
|
|
image: node:14.14.0 |
|
@ -56,7 +56,7 @@ steps: |
|
|
DB_DRIVER: |
|
|
DB_DRIVER: |
|
|
from_secret: db_driver |
|
|
from_secret: db_driver |
|
|
DB_CONNECT: |
|
|
DB_CONNECT: |
|
|
from:secret: db_connect |
|
|
|
|
|
|
|
|
from_secret: db_connect |
|
|
commands: |
|
|
commands: |
|
|
- apt-get update > /dev/null 2>&1 |
|
|
- apt-get update > /dev/null 2>&1 |
|
|
- apt-get -y install awscli zip > /dev/null 2>&1 |
|
|
- apt-get -y install awscli zip > /dev/null 2>&1 |
|
|