Skip to content

Commit

Permalink
Add tm for development
Browse files Browse the repository at this point in the history
  • Loading branch information
Rub21 committed Oct 25, 2024
1 parent 33946d5 commit 36b7ff0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 11 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/chartpress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,15 @@ jobs:
- name: Install helm dependencies for
if: github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/development'
run: cd ohm && helm dep up
# Development
- name: development - helm deploy
if: github.ref == 'refs/heads/development'
run: helm upgrade --install development --wait ohm/ -f values.development.yaml -f ohm/values.yaml
# Staging
- name: Staging - helm deploy
if: github.ref == 'refs/heads/staging'
run: helm upgrade --install staging --wait ohm/ -f values.staging.yaml -f ohm/values.yaml
# - name: development - helm deploy
# if: github.ref == 'refs/heads/development'
# run: helm upgrade --install development --wait ohm/ -f values.staging.yaml -f ohm/values.yaml
# Production
- name: Production - helm deploy
if: github.ref == 'refs/heads/main'
run: helm upgrade --install production --wait ohm/ -f values.production.yaml -f ohm/values.yaml
16 changes: 8 additions & 8 deletions values.development.template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ osm-seed:
nodeSelector:
enabled: true
label_key: nodegroup_type
label_value: web
label_value: web_large
env:
POSTGRES_DB: tm
POSTGRES_PASSWORD: { { STAGING_TM_DB_PASSWORD } }
Expand Down Expand Up @@ -96,11 +96,11 @@ osm-seed:
nodeSelector:
enabled: true
label_key: nodegroup_type
label_value: web
label_value: web_large
replicaCount: 1
serviceAnnotations:
service.beta.kubernetes.io/aws-load-balancer-connection-idle-timeout: "300"
ingressDomain: tm-api.staging.openhistoricalmap.org
ingressDomain: tm-api.development.staging.openhistoricalmap.org
env:
TM_ORG_NAME: OpenHistoricalMap
TM_ORG_CODE: OHM
Expand All @@ -122,14 +122,14 @@ osm-seed:
TM_SMTP_USER: { { MAILER_USERNAME } }
TM_SMTP_PASSWORD: { { MAILER_PASSWORD } }
TM_DEFAULT_LOCALE: en
TM_APP_API_URL: https://tm-api.staging.openhistoricalmap.org
TM_APP_BASE_URL: https://tasks-staging.openhistoricalmap.org
TM_APP_API_URL: https://tm-api.development.staging.openhistoricalmap.org
TM_APP_BASE_URL: https://tasks.development.staging.openhistoricalmap.org
TM_IMPORT_MAX_FILESIZE: 3000000
TM_MAX_AOI_AREA: 15000
TM_CLIENT_ID: { { STAGING_TM_CLIENT_ID } }
TM_CLIENT_SECRET: { { STAGING_TM_CLIENT_SECRET } }
TM_CLIENT_ID: XjMqsHvGxQa7iN0NHLBsq8aqztbV7K6YYZKCpWCqMko
TM_CLIENT_SECRET: bDvQOTjSBNtuQFn3iIN7qU1suY7iTTHLyISRZIFPGpQ
TM_DEFAULT_CHANGESET_COMMENT: staging
TM_REDIRECT_URI: https://tm-api.staging.openhistoricalmap.org/authorized
TM_REDIRECT_URI: https://tasks.development.staging.openhistoricalmap.org/authorized
TM_SCOPE: "read_prefs write_api"
TM_APP_API_VERSION: v4
resources:
Expand Down

0 comments on commit 36b7ff0

Please sign in to comment.