From 130dd093472e47ed4e2396dc9822bdebfea27fbd Mon Sep 17 00:00:00 2001 From: Ruslan Konviser Date: Fri, 27 Dec 2024 13:13:17 +0100 Subject: [PATCH] chore: add FEATURE_OPEN_STATS --- .deploy/k8s/k8s-manifest.demo.yaml | 3 +++ .deploy/k8s/k8s-manifest.prod.yaml | 2 ++ .deploy/k8s/k8s-manifest.stage.yaml | 2 ++ .github/workflows/deploy-civo-demo.yml | 1 + .github/workflows/deploy-civo-prod.yml | 1 + .github/workflows/deploy-civo-stage.yml | 1 + .github/workflows/deploy-cw-demo.yml | 1 + .github/workflows/deploy-cw-prod.yml | 1 + .github/workflows/deploy-cw-stage.yml | 1 + .github/workflows/deploy-do-app-platform-demo.yml | 1 + .github/workflows/deploy-do-app-platform-prod.yml | 1 + .github/workflows/deploy-do-app-platform-stage.yml | 1 + .github/workflows/deploy-do-demo.yml | 1 + .github/workflows/deploy-do-droplet-demo.yml | 1 + .github/workflows/deploy-do-droplet-prod.yml | 1 + .github/workflows/deploy-do-droplet-stage.yml | 1 + .github/workflows/deploy-do-prod.yml | 1 + .github/workflows/deploy-do-stage.yml | 1 + 18 files changed, 22 insertions(+) diff --git a/.deploy/k8s/k8s-manifest.demo.yaml b/.deploy/k8s/k8s-manifest.demo.yaml index 24694a7f8c7..aa321648b15 100644 --- a/.deploy/k8s/k8s-manifest.demo.yaml +++ b/.deploy/k8s/k8s-manifest.demo.yaml @@ -101,6 +101,9 @@ spec: value: '$OTEL_EXPORTER_OTLP_TRACES_ENDPOINT' - name: OTEL_EXPORTER_OTLP_HEADERS value: '$OTEL_EXPORTER_OTLP_HEADERS' + - name: FEATURE_OPEN_STATS + value: '$FEATURE_OPEN_STATS' + ports: - containerPort: 3000 protocol: TCP diff --git a/.deploy/k8s/k8s-manifest.prod.yaml b/.deploy/k8s/k8s-manifest.prod.yaml index e7453314db8..f0394fbff6d 100644 --- a/.deploy/k8s/k8s-manifest.prod.yaml +++ b/.deploy/k8s/k8s-manifest.prod.yaml @@ -273,6 +273,8 @@ spec: value: '$COMPANY_LINK' - name: COMPANY_NAME value: '$COMPANY_NAME' + - name: FEATURE_OPEN_STATS + value: '$FEATURE_OPEN_STATS' ports: - containerPort: 3000 diff --git a/.deploy/k8s/k8s-manifest.stage.yaml b/.deploy/k8s/k8s-manifest.stage.yaml index 5e899f20461..1f1c59a7a49 100644 --- a/.deploy/k8s/k8s-manifest.stage.yaml +++ b/.deploy/k8s/k8s-manifest.stage.yaml @@ -261,6 +261,8 @@ spec: value: '$COMPANY_LINK' - name: COMPANY_NAME value: '$COMPANY_NAME' + - name: FEATURE_OPEN_STATS + value: '$FEATURE_OPEN_STATS' ports: - containerPort: 3000 diff --git a/.github/workflows/deploy-civo-demo.yml b/.github/workflows/deploy-civo-demo.yml index ef90b8beb28..e37425fd7e9 100644 --- a/.github/workflows/deploy-civo-demo.yml +++ b/.github/workflows/deploy-civo-demo.yml @@ -49,6 +49,7 @@ jobs: OTEL_PROVIDER: '${{ secrets.OTEL_PROVIDER }}' OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}' OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-civo-prod.yml b/.github/workflows/deploy-civo-prod.yml index 12308dbfe7c..c8f128bf070 100644 --- a/.github/workflows/deploy-civo-prod.yml +++ b/.github/workflows/deploy-civo-prod.yml @@ -144,6 +144,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-civo-stage.yml b/.github/workflows/deploy-civo-stage.yml index 51baaba45a2..bb22035ea50 100644 --- a/.github/workflows/deploy-civo-stage.yml +++ b/.github/workflows/deploy-civo-stage.yml @@ -145,6 +145,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-cw-demo.yml b/.github/workflows/deploy-cw-demo.yml index 08f3508bf3b..8019816e9d7 100644 --- a/.github/workflows/deploy-cw-demo.yml +++ b/.github/workflows/deploy-cw-demo.yml @@ -49,6 +49,7 @@ jobs: OTEL_PROVIDER: '${{ secrets.OTEL_PROVIDER }}' OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}' OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-cw-prod.yml b/.github/workflows/deploy-cw-prod.yml index 91a43c8d2ef..e48429db0e5 100644 --- a/.github/workflows/deploy-cw-prod.yml +++ b/.github/workflows/deploy-cw-prod.yml @@ -144,6 +144,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-cw-stage.yml b/.github/workflows/deploy-cw-stage.yml index df0e0813fd1..b2a03fea387 100644 --- a/.github/workflows/deploy-cw-stage.yml +++ b/.github/workflows/deploy-cw-stage.yml @@ -145,6 +145,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-do-app-platform-demo.yml b/.github/workflows/deploy-do-app-platform-demo.yml index 29372b39e04..76962d2e096 100644 --- a/.github/workflows/deploy-do-app-platform-demo.yml +++ b/.github/workflows/deploy-do-app-platform-demo.yml @@ -142,6 +142,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Check if App Exists id: check-app diff --git a/.github/workflows/deploy-do-app-platform-prod.yml b/.github/workflows/deploy-do-app-platform-prod.yml index 59b3a51e553..3819a6c1678 100644 --- a/.github/workflows/deploy-do-app-platform-prod.yml +++ b/.github/workflows/deploy-do-app-platform-prod.yml @@ -142,6 +142,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Check if App Exists id: check-app diff --git a/.github/workflows/deploy-do-app-platform-stage.yml b/.github/workflows/deploy-do-app-platform-stage.yml index ea5f5a858c6..0757d729aee 100644 --- a/.github/workflows/deploy-do-app-platform-stage.yml +++ b/.github/workflows/deploy-do-app-platform-stage.yml @@ -142,6 +142,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Check if App Exists id: check-app diff --git a/.github/workflows/deploy-do-demo.yml b/.github/workflows/deploy-do-demo.yml index 959c03f0937..71b7bc64327 100644 --- a/.github/workflows/deploy-do-demo.yml +++ b/.github/workflows/deploy-do-demo.yml @@ -45,6 +45,7 @@ jobs: OTEL_PROVIDER: '${{ secrets.OTEL_PROVIDER }}' OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: '${{ secrets.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT }}' OTEL_EXPORTER_OTLP_HEADERS: '${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-do-droplet-demo.yml b/.github/workflows/deploy-do-droplet-demo.yml index 939e1fca83d..d5c6847f69a 100644 --- a/.github/workflows/deploy-do-droplet-demo.yml +++ b/.github/workflows/deploy-do-droplet-demo.yml @@ -150,6 +150,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Copy file via scp - with-cloudflare if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }} diff --git a/.github/workflows/deploy-do-droplet-prod.yml b/.github/workflows/deploy-do-droplet-prod.yml index 4439ffce456..5cf19ac3913 100644 --- a/.github/workflows/deploy-do-droplet-prod.yml +++ b/.github/workflows/deploy-do-droplet-prod.yml @@ -150,6 +150,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Copy file via scp - with-cloudflare if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }} diff --git a/.github/workflows/deploy-do-droplet-stage.yml b/.github/workflows/deploy-do-droplet-stage.yml index cb4dc9b914f..bbee508b2e5 100644 --- a/.github/workflows/deploy-do-droplet-stage.yml +++ b/.github/workflows/deploy-do-droplet-stage.yml @@ -150,6 +150,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' - name: Copy file via scp - with-cloudflare if: ${{ env.INGRESS_CERT_TYPE == 'cloudflare' }} diff --git a/.github/workflows/deploy-do-prod.yml b/.github/workflows/deploy-do-prod.yml index 231ce37bb99..8754f8ca978 100644 --- a/.github/workflows/deploy-do-prod.yml +++ b/.github/workflows/deploy-do-prod.yml @@ -139,6 +139,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later diff --git a/.github/workflows/deploy-do-stage.yml b/.github/workflows/deploy-do-stage.yml index 439f8eb3da4..3bc2a07d6ce 100644 --- a/.github/workflows/deploy-do-stage.yml +++ b/.github/workflows/deploy-do-stage.yml @@ -140,6 +140,7 @@ jobs: APP_MAGIC_SIGN_URL: '${{ secrets.APP_MAGIC_SIGN_URL }}' COMPANY_LINK: '${{ secrets.COMPANY_LINK }}' COMPANY_NAME: '${{ secrets.COMPANY_NAME }}' + FEATURE_OPEN_STATS: '${{ vars.FEATURE_OPEN_STATS }}' # we need this step because for now we just use :latest tag # note: for production we will use different strategy later