Skip to content

Commit

Permalink
Deploy Obscuro Gateway for Sepolia testnet (#1552)
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj authored Sep 27, 2023
1 parent 584b6a7 commit aa9dae0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/manual-deploy-obscuro-gateway-database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
options:
- 'dev-testnet'
- 'testnet'
- 'sepolia-testnet'

jobs:
build-and-deploy:
Expand Down Expand Up @@ -41,6 +42,13 @@ jobs:
echo "RESOURCE_STARTING_NAME=dev-testnet" >> $GITHUB_ENV
echo "RESOURCE_TAG_NAME=obscurogatewaydbdevtestnetlatest" >> $GITHUB_ENV
- name: 'Set Obscuro Gateway variables for sepolia-testnet'
if: ${{ github.event.inputs.testnet_type == 'sepolia-testnet' }}
run: |
echo "OBSCURO_GATEWAY_DB_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/obscuro_gateway_mariadb_sepolia_testnet:latest" >> $GITHUB_ENV
echo "RESOURCE_STARTING_NAME=sepolia-testnet" >> $GITHUB_ENV
echo "RESOURCE_TAG_NAME=obscurogatewaydbsepoliatestnetlatest" >> $GITHUB_ENV
- name: 'Login via Azure CLI'
uses: azure/login@v1
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/manual-deploy-obscuro-gateway.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
options:
- 'dev-testnet'
- 'testnet'
- 'sepolia-testnet'

jobs:
build-and-deploy:
Expand Down Expand Up @@ -46,6 +47,13 @@ jobs:
echo "RESOURCE_STARTING_NAME=dev-testnet" >> $GITHUB_ENV
echo "RESOURCE_TAG_NAME=obscurogatewaydevtestnetlatest" >> $GITHUB_ENV
- name: 'Set Obscuro Gateway variables for sepolia-testnet'
if: ${{ github.event.inputs.testnet_type == 'sepolia-testnet' }}
run: |
echo "OBSCURO_GATEWAY_BUILD_TAG=testnetobscuronet.azurecr.io/obscuronet/obscuro_gateway_sepolia_testnet:latest" >> $GITHUB_ENV
echo "OBSCURO_GATEWAY_NODE_HOST=erpc.sepolia-testnet.obscu.ro" >> $GITHUB_ENV
echo "RESOURCE_STARTING_NAME=sepolia-testnet" >> $GITHUB_ENV
echo "RESOURCE_TAG_NAME=obscurogatewaysepoliatestnetlatest" >> $GITHUB_ENV
- name: 'Login to Azure docker registry'
uses: azure/docker-login@v1
Expand Down

0 comments on commit aa9dae0

Please sign in to comment.