Skip to content

Commit

Permalink
Merge pull request #4088 from airqo-platform/staging
Browse files Browse the repository at this point in the history
move to production
  • Loading branch information
Baalmart authored Dec 15, 2024
2 parents df7f117 + 68ab825 commit f4699a4
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion k8s/analytics/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ images:
celeryWorker: eu.gcr.io/airqo-250220/airqo-analytics-celery-worker
reportJob: eu.gcr.io/airqo-250220/airqo-analytics-report-job
devicesSummaryJob: eu.gcr.io/airqo-250220/airqo-analytics-devices-summary-job
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
api:
name: airqo-analytics-api
label: analytics-api
Expand Down
2 changes: 1 addition & 1 deletion k8s/auth-service/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-auth-api
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/device-registry/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-device-registry-api
tag: prod-a00e783d-1734092401
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-airqo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ app:
configmap: env-exceedance-production
image:
repository: eu.gcr.io/airqo-250220/airqo-exceedance-job
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
2 changes: 1 addition & 1 deletion k8s/exceedance/values-prod-kcca.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ app:
configmap: env-exceedance-production
image:
repository: eu.gcr.io/airqo-250220/kcca-exceedance-job
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
2 changes: 1 addition & 1 deletion k8s/predict/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ images:
predictJob: eu.gcr.io/airqo-250220/airqo-predict-job
trainJob: eu.gcr.io/airqo-250220/airqo-train-job
predictPlaces: eu.gcr.io/airqo-250220/airqo-predict-places-air-quality
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
api:
name: airqo-prediction-api
label: prediction-api
Expand Down
2 changes: 1 addition & 1 deletion k8s/spatial/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-spatial-api
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
2 changes: 1 addition & 1 deletion k8s/website/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ app:
replicaCount: 3
image:
repository: eu.gcr.io/airqo-250220/airqo-website-api
tag: prod-20ed8dab-1734173555
tag: prod-df7f1176-1734211956
nameOverride: ''
fullnameOverride: ''
podAnnotations: {}
Expand Down
10 changes: 5 additions & 5 deletions src/device-registry/models/Event.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const moment = require("moment-timezone");
const TIMEZONE = moment.tz.guess();

const AQI_RANGES = {
good: { min: 0, max: 9.0 },
moderate: { min: 9.1, max: 35.4 },
u4sg: { min: 35.5, max: 55.4 },
unhealthy: { min: 55.5, max: 125.4 },
very_unhealthy: { min: 125.5, max: 225.4 },
good: { min: 0, max: 9.099 },
moderate: { min: 9.1, max: 35.49 },
u4sg: { min: 35.5, max: 55.49 },
unhealthy: { min: 55.5, max: 125.49 },
very_unhealthy: { min: 125.5, max: 225.49 },
hazardous: { min: 225.5, max: null },
};

Expand Down

0 comments on commit f4699a4

Please sign in to comment.