Skip to content

Commit

Permalink
explain which env variables are needed in a github action
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Sep 2, 2024
1 parent 1b99bb7 commit 22d4896
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/manual-deploy-obscuro-gateway.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Deploys Ten Gateway on Azure for Testnet
# Builds the Ten Gateway image, pushes the image to dockerhub and starts the Ten Gateway on Azure VM

# This action requires the following environment variables to be set:
# - DOCKER_BUILD_TAG_GATEWAY
# - AZURE_DEPLOY_GROUP_GATEWAY
# - L2_RPC_URL_VALIDATOR
# - GATEWAY_RATE_LIMIT_USER_COMPUTE_TIME
# - GATEWAY_RATE_LIMIT_WINDOW
# - GATEWAY_MAX_CONCURRENT_REQUESTS_PER_USER

# If we are deploying to a non primary instance all those variables should be prefixed with the instance name
# example: dexynth-DOCKER_BUILD_TAG_GATEWAY


name: '[M] Deploy Ten Gateway Backend'
run-name: '[M] Deploy Ten Gateway Backend ( ${{ github.event.inputs.testnet_type }} )'
on:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/manual-deploy-ten-gateway-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Deploys Ten Gateway Frontend on Azure for Testnet
# Builds the Ten Gateway image, pushes the image to dockerhub and starts the Ten Gateway on Azure VM

# This action requires the following environment variables to be set:
# - DOCKER_BUILD_TAG_GATEWAY_FE
# - GATEWAY_URL
# - NETWORK_NAME
# - TENSCAN_URL

# If we are deploying to a non primary instance all those variables should be prefixed with the instance name
# example: dexynth-GATEWAY_URL

name: '[M] Deploy Ten Gateway Frontend'
run-name: '[M] Deploy Ten Gateway Frontend ( ${{ github.event.inputs.testnet_type }} )'
on:
Expand Down

0 comments on commit 22d4896

Please sign in to comment.