Skip to content

Commit

Permalink
Update actions and cloud foundry files for USDC
Browse files Browse the repository at this point in the history
  • Loading branch information
0kl-usds committed Dec 6, 2024
1 parent ebc4121 commit f8c4b78
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 262 deletions.
88 changes: 0 additions & 88 deletions .github/workflows/push-demo.yml

This file was deleted.

118 changes: 0 additions & 118 deletions .github/workflows/push-dev.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/push-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
cf_api: https://api.fr.cloud.gov
cf_username: ${{secrets.PROD_CF_USERNAME}}
cf_password: ${{secrets.PROD_CF_PASSWORD}}
cf_org: gsa-open-opportunities
cf_space: USDS
cf_org: gsa-tts-usdc
cf_space: prod
cf_manifest: deployProd.yml
cf_command: push assessment-tool -f deployProd.yml --strategy rolling -i 2
5 changes: 2 additions & 3 deletions api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"start:ts": "npm run build && node --inspect=0.0.0.0:9222 --nolazy build/server.js",
"start:dev": "nodemon --watch 'src/**/*.ts' --exec \"npm run start:ts\"",
"tunnel": "myapp_guid=$(cf app --guid $APP_NAME) && TUNNEL=$(cf curl /v2/apps/$myapp_guid/env | jq -r '[.system_env_json.VCAP_SERVICES.\"aws-rds\"[0].credentials | .host, .port] | join(\":\")') && echo 'Rat tunnel active' &&cf ssh -N -L 5432:$TUNNEL $APP_NAME",
"tunnel:stage": "APP_NAME=assessment-tool-stage npm run tunnel",
"tunnel:demo": "APP_NAME=smeqa-demo npm run tunnel",
"tunnel:prod": "APP_NAME=assessment-tool npm run tunnel",
"tunnel:stage": "APP_NAME=smeqa-stage npm run tunnel",
"tunnel:prod": "APP_NAME=smeqa-rr npm run tunnel",
"watch": "tsc -w -p ."
},
"keywords": [],
Expand Down
17 changes: 0 additions & 17 deletions deployDemo.yml

This file was deleted.

26 changes: 0 additions & 26 deletions deployDev.yml

This file was deleted.

8 changes: 4 additions & 4 deletions deployProd.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
version: 1
applications:
- name: assessment-tool
- name: smeqa-rr
instances: 2
memory: 128MB
#health-check-type: http
#health-check-http-endpoint: /api/admin/health
env:
APP_ENV: production # this is used to point to different APIs/DBs/etc
AUTH_CALLBACK_URL_ROOT: https://assessment-tool.app.cloud.gov
REDIRECT_URI: https://assessment-tool.app.cloud.gov/login/auth
AUTH_CALLBACK_URL_ROOT: https://smeqa-rr.app.cloud.gov
REDIRECT_URI: https://smeqa-rr.app.cloud.gov/login/auth
ISSUER_DISCOVER: https://secure.login.gov
NODE_ENV: production
OPTIMIZE_MEMORY: true
Expand All @@ -28,4 +28,4 @@ applications:
buildpack: nodejs_buildpack
stack: cflinuxfs4
services:
- assessment-tool-db
- smeqa-rr-db
8 changes: 4 additions & 4 deletions deployStage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 1
applications:
- name: assessment-tool-stage
- name: smeqa-stage
instances: 1
memory: 128MB
#health-check-type: http
Expand All @@ -10,9 +10,9 @@ applications:
APP_ENV: staging
OPTIMIZE_MEMORY: true
TZ: America/New_York
AUTH_CALLBACK_ROOT_URL: https://assessment-tool-stage.app.cloud.gov
AUTH_CALLBACK_ROOT_URL: https://smeqa-stage.app.cloud.gov
LOG_LEVEL: trace
REDIRECT_URI: https://assessment-tool-stage.app.cloud.gov/login/auth
REDIRECT_URI: https://smeqa-stage.app.cloud.gov/login/auth
command: node server.js
type: nodejs
path: ./api/build
Expand All @@ -23,4 +23,4 @@ applications:
buildpack: nodejs_buildpack
stack: cflinuxfs4
services:
- assessment-tool-stage-db
- smeqa-stage-db

0 comments on commit f8c4b78

Please sign in to comment.