Skip to content

Commit

Permalink
Merge pull request KlimaDAO#178 from KlimaDAO/data_api_domain
Browse files Browse the repository at this point in the history
Adds a domain alias to app-spec (Main)
  • Loading branch information
biwano authored and 0xAurelius committed Dec 19, 2023
2 parents 8a292a6 + a17d5ac commit 523cb90
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
GITHUB_SHA: ${{ github.sha }}
DIGITALOCEAN_APP_NAME: ${{ secrets.DIGITALOCEAN_APP_NAME }}
DIGITALOCEAN_APP_DOMAIN: ${{ secrets.DIGITALOCEAN_APP_DOMAIN }}
DIGITALOCEAN_APP_DOMAIN_ALIAS: ${{ vars.DIGITALOCEAN_APP_DOMAIN_ALIAS }}
DIGITALOCEAN_SIZE_SLUG: ${{ secrets.DIGITALOCEAN_SIZE_SLUG }}
PREFECT_API_KEY: ${{ secrets.PREFECT_API_KEY }}
PREFECT_API_URL: ${{ secrets.PREFECT_API_URL }}
Expand Down
2 changes: 2 additions & 0 deletions app-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ alerts:
domains:
- domain: ${DIGITALOCEAN_APP_DOMAIN}
type: PRIMARY
- domain: ${DIGITALOCEAN_APP_DOMAIN_ALIAS}
type: ALIAS
minimum_tls_version: "1.2"
envs:
- key: ENV
Expand Down
2 changes: 1 addition & 1 deletion scripts/smoketest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FAILING=0

ENTRIES=(src/apps/api/app.py:/api/v1 src/apps/tco2_dashboard/app.py:/)
ENTRIES=(src/apps/api/app.py:/api/v1)

for ENTRY in ${ENTRIES[@]}; do
ITEMS=(`echo $ENTRY | tr ":" " "`)
Expand Down

0 comments on commit 523cb90

Please sign in to comment.