made a sum
This commit is contained in:
parent
7f071559db
commit
cee5a9944f
2 changed files with 10 additions and 2 deletions
8
.github/workflows/deploy-postgres.yml
vendored
8
.github/workflows/deploy-postgres.yml
vendored
|
|
@ -72,6 +72,14 @@ jobs:
|
|||
ls -la
|
||||
pwd
|
||||
|
||||
- name: Install kubectl
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y curl ca-certificates
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -sL https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
sudo install -m 0755 kubectl /usr/local/bin/kubectl
|
||||
|
||||
|
||||
# Install Atlas
|
||||
- name: Install Atlas CLI
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
env "stripe_invoice_dev" {
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_dev?sslmode=disable"
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres.default.svc.cluster.local:5432/stripe_invoice_dev?sslmode=disable"
|
||||
|
||||
migration {
|
||||
dir = "file://./db/atlas/stripe_invoice/migrations"
|
||||
|
|
@ -7,7 +7,7 @@ env "stripe_invoice_dev" {
|
|||
}
|
||||
|
||||
env "stripe_invoice_prod" {
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/stripe_invoice_prod?sslmode=disable"
|
||||
url = "postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres.default.svc.cluster.local:5432/stripe_invoice_prod?sslmode=disable"
|
||||
|
||||
migration {
|
||||
dir = "file://./db/atlas/stripe_invoice/migrations"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue