diff --git a/.woodpecker/.ci.yml b/.woodpecker/.ci.yml index 9820ab81..8df92952 100644 --- a/.woodpecker/.ci.yml +++ b/.woodpecker/.ci.yml @@ -49,6 +49,11 @@ steps: from_secret: registry_password platforms: linux/amd64 provenance: false + build_args: + - APP_BUILD_VERSION=${CI_COMMIT_SHA:0:8} + - APP_GIT_SHA=${CI_COMMIT_SHA} + - APP_BUILD_TIME=${CI_PIPELINE_CREATED} + - CONTAINER_IMAGE_TAG=${CI_COMMIT_SHA:0:8} when: branch: master event: push diff --git a/backend/src/multi-state/state-query-service.ts b/backend/src/multi-state/state-query-service.ts index f59b2524..a48dcf3b 100644 --- a/backend/src/multi-state/state-query-service.ts +++ b/backend/src/multi-state/state-query-service.ts @@ -121,6 +121,7 @@ export class StateQueryService { totalProducts: parseInt(metrics.totalProducts || '0', 10), inStockProducts: parseInt(metrics.inStockProducts || '0', 10), outOfStockProducts: parseInt(metrics.outOfStockProducts || '0', 10), + onSpecialProducts: parseInt(metrics.onSpecialProducts || '0', 10), uniqueBrands: parseInt(metrics.uniqueBrands || '0', 10), uniqueCategories: parseInt(metrics.uniqueCategories || '0', 10), avgPriceRec: metrics.avgPriceRec ? parseFloat(metrics.avgPriceRec) : null, diff --git a/backend/src/multi-state/types.ts b/backend/src/multi-state/types.ts index c47b6004..2baf6973 100644 --- a/backend/src/multi-state/types.ts +++ b/backend/src/multi-state/types.ts @@ -17,6 +17,7 @@ export interface StateMetrics { activeStores: number; totalProducts: number; inStockProducts: number; + outOfStockProducts: number; onSpecialProducts: number; uniqueBrands: number; uniqueCategories: number; diff --git a/cannaiq/dist/index.html b/cannaiq/dist/index.html index b6578530..d4fbb8a4 100644 --- a/cannaiq/dist/index.html +++ b/cannaiq/dist/index.html @@ -7,8 +7,8 @@ CannaIQ - Cannabis Menu Intelligence Platform - - + +