Skip to content

Commit

Permalink
running
Browse files Browse the repository at this point in the history
  • Loading branch information
deal-machine committed Mar 17, 2024
1 parent c4b577c commit b765373
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
apply:
runs-on: ubuntu-latest
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CRED }}
GOOGLE_CREDENTIALS: ${{ secrets.CREDENTIALS }}

steps:
- name: Checkout Repo
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Auth GCloud
uses: 'google-github-actions/[email protected]'
with:
credentials_json: ${{ secrets.GOOGLE_CRED }}
credentials_json: ${{ secrets.CREDENTIALS }}
export_environment_variables: true
create_credentials_file: true

Expand All @@ -28,7 +28,7 @@ jobs:
- name: Setup Cluster Kubernetes
uses: 'google-github-actions/get-gke-credentials@v2'
with:
cluster_name: ${{ vars.CLUSTER }}
cluster_name: ${{ vars.CLUSTER_NAME }}
location: ${{ vars.ZONE }}

- name: Setup Namespace
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/destroy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
destroy:
runs-on: ubuntu-latest
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CRED }}
GOOGLE_CREDENTIALS: ${{ secrets.CREDENTIALS }}

steps:
- name: Checkout Repo
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Auth GCloud
uses: 'google-github-actions/[email protected]'
with:
credentials_json: ${{ secrets.GOOGLE_CRED }}
credentials_json: ${{ secrets.CREDENTIALS }}
export_environment_variables: true
create_credentials_file: true

Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Cluster Kubernetes
uses: 'google-github-actions/get-gke-credentials@v2'
with:
cluster_name: ${{ vars.CLUSTER }}
cluster_name: ${{ vars.CLUSTER_NAME }}
location: ${{ vars.ZONE }}

- name: Setup Namespace
Expand Down
8 changes: 4 additions & 4 deletions k8s/api-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ metadata:
data:
PORT: "3000"
NODE_ENV: "production"
DB_HOST: "34.31.179.110" # db-service
DB_USERNAME: "postgres-user" # "postgres"
DB_HOST: "34.133.243.61" # db-service
DB_USERNAME: "tribofustack" # "postgres"
DB_PORT: "5432"
DB_PASSWORD: "postgres-pass" # "postgres"
DB_NAME: "orderly-db" # postgres
DB_PASSWORD: "tribofustack_tribofustack_tribofustack" # "postgres"
DB_NAME: "teste" # postgres
DB_DIALECT: postgres
CACHE_HOST: cache-service
CACHE_PORT: "6379"
Expand Down

0 comments on commit b765373

Please sign in to comment.