Skip to content

Commit ca8e695

Browse files
Update Azure image
1 parent c438866 commit ca8e695

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.deployment-envs/.env.staging-next-azure

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
NEXT_PUBLIC_ACCOUNTING_BASE_URL=https://staging.azure.openbraininstitute.org/api/accounting
2-
NEXT_PUBLIC_NEXUS_URL=https://staging.azure.openbraininstitute.org/api/nexus/v1
3-
NEXT_PUBLIC_BLUE_NAAS_URL=https://staging.azure.openbraininstitute.org/api/bluenaas
1+
NEXT_PUBLIC_ACCOUNTING_BASE_URL=https://staging.openbraininstitute.org/api/accounting
2+
NEXT_PUBLIC_NEXUS_URL=https://staging.openbraininstitute.org/api/nexus/v1
3+
NEXT_PUBLIC_BLUE_NAAS_URL=https://staging.openbraininstitute.org/api/bluenaas
44
NEXT_PUBLIC_SMALL_SCALE_SIMULATOR_URL=https://staging.openbraininstitute.org/api/small-scale-simulator
5-
NEXT_PUBLIC_CELL_SVC_BASE_URL=https://staging.azure.openbraininstitute.org/api/circuit
6-
NEXT_PUBLIC_KG_INFERENCE_BASE_URL=https://staging.azure.openbraininstitute.org/api/kg-inference
7-
NEXT_PUBLIC_THUMBNAIL_GENERATION_BASE_URL=https://staging.azure.openbraininstitute.org/api/thumbnail-generation
5+
NEXT_PUBLIC_CELL_SVC_BASE_URL=https://staging.openbraininstitute.org/api/circuit
6+
NEXT_PUBLIC_KG_INFERENCE_BASE_URL=https://staging.openbraininstitute.org/api/kg-inference
7+
NEXT_PUBLIC_THUMBNAIL_GENERATION_BASE_URL=https://staging.openbraininstitute.org/api/thumbnail-generation
88
NEXT_PUBLIC_SYNTHESIS_URL=https://synthesis.sbo.kcp.bbp.epfl.ch/synthesis-with-resources # TODO: change to staging
99
NEXT_PUBLIC_ME_MODEL_ANALYSIS_WS_URL=wss://8sjpv70kgl.execute-api.us-east-1.amazonaws.com/prod/
10-
NEXT_PUBLIC_VIRTUAL_LAB_API_URL=https://staging.azure.openbraininstitute.org/api/virtual-lab-manager
11-
NEXT_PUBLIC_BBS_ML_BASE_URL=https://staging.azure.openbraininstitute.org/api/literature
10+
NEXT_PUBLIC_VIRTUAL_LAB_API_URL=https://staging.openbraininstitute.org/api/virtual-lab-manager
11+
NEXT_PUBLIC_BBS_ML_BASE_URL=https://staging.openbraininstitute.org/api/literature
1212

1313
NEXT_PUBLIC_MATOMO_URL="https://openbraininstitute.matomo.cloud"
1414
NEXT_PUBLIC_MATOMO_CDN_URL="https://cdn.matomo.cloud/openbraininstitute.matomo.cloud"
1515
NEXT_PUBLIC_MATOMO_SITE_ID="3"
1616

17-
NEXT_PUBLIC_DEPLOYMENT_ENV="staging-azure"
17+
NEXT_PUBLIC_DEPLOYMENT_ENV="staging"
1818

1919
# TODO: remove after redirect is implemented on infra side
2020
PRIMARY_HOSTNAME=staging.azure.openbraininstitute.org
@@ -23,7 +23,7 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY="pk_test_51QjjHBKGUR5u3ofLgNUOpljnvy27UTTpkhw
2323
# There is only one Sanity server, but with two datasets: "staging" and "production"
2424
NEXT_PUBLIC_SANITY_DATASET="staging"
2525

26-
NEXT_PUBLIC_ENTITY_CORE_URL=https://staging.azure.openbraininstitute.org/api/entitycore
26+
NEXT_PUBLIC_ENTITY_CORE_URL=https://staging.openbraininstitute.org/api/entitycore
2727
NEXT_PUBLIC_ENTITY_CORE_PUBLIC_VIRTUAL_LAB_ID="a98b7abc-fc46-4700-9e3d-37137812c730"
2828
NEXT_PUBLIC_ENTITY_CORE_PUBLIC_PROJECT_ID="0dbced5f-cc3d-488a-8c7f-cfb8ea039dc6"
2929

.github/workflows/publish-staging-next-azure.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
name: Create entitycore-migration image for Azure deployment
1+
name: Create image for Azure deployment
22

33
permissions:
44
id-token: write # Required for OIDC authentication
55
contents: read # Standard permission for GitHub Actions
66

77
on:
8+
push:
9+
branches:
10+
- update_azure_deployment
811
workflow_dispatch:
912

1013
concurrency:
11-
group: ${{ github.workflow }}-${{ github.ref }}
14+
group: ${{ github.workflow }}-${{ github.ref }}-Azure
1215
cancel-in-progress: true
1316

1417
jobs:

0 commit comments

Comments
 (0)