made a sum

This commit is contained in:
Jun-te Kim 2025-12-13 22:13:41 +00:00
parent 7f071559db
commit cee5a9944f
2 changed files with 10 additions and 2 deletions

View file

@ -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: |

View file

@ -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"