diff --git a/.github/workflows/manual-deploy-obscuro-scan-3.yml b/.github/workflows/manual-deploy-ten-scan.yml similarity index 88% rename from .github/workflows/manual-deploy-obscuro-scan-3.yml rename to .github/workflows/manual-deploy-ten-scan.yml index 6f60712ace..939ebdf2dc 100644 --- a/.github/workflows/manual-deploy-obscuro-scan-3.yml +++ b/.github/workflows/manual-deploy-ten-scan.yml @@ -1,7 +1,7 @@ # Deploys Tenscan on Azure for Testnet # Builds the Tenscan image, pushes the image to dockerhub and starts the Tenscan on Azure -name: "[M] Deploy Tenscan 3 Testnet" +name: "[M] Deploy Tenscan Testnet" run-name: "[M] Deploy Tenscan Testnet ( ${{ github.event.inputs.testnet_type }} )" on: workflow_dispatch: @@ -46,21 +46,21 @@ jobs: - name: Build and Push Docker FE Image run: | - DOCKER_BUILDKIT=1 docker build -t ${{ vars.DOCKER_BUILD_TAG_SCAN_FE }} -f ./tools/obscuroscan_v3/frontend/Dockerfile . + DOCKER_BUILDKIT=1 docker build -t ${{ vars.DOCKER_BUILD_TAG_SCAN_FE }} -f ./tools/tenscan/frontend/Dockerfile . docker push ${{ vars.DOCKER_BUILD_TAG_SCAN_FE }} - name: Build and Push Docker API Image run: | - DOCKER_BUILDKIT=1 docker build -t ${{ vars.DOCKER_BUILD_TAG_SCAN_API }} -f ./tools/obscuroscan_v2/backend/Dockerfile . + DOCKER_BUILDKIT=1 docker build -t ${{ vars.DOCKER_BUILD_TAG_SCAN_API }} -f ./tools/tenscan/backend/Dockerfile . docker push ${{ vars.DOCKER_BUILD_TAG_SCAN_API }} - name: "Deploy FE to Azure Container Instances" uses: "azure/aci-deploy@v1" with: resource-group: ${{ secrets.RESOURCE_GROUP }} - dns-name-label: ${{ github.event.inputs.testnet_type }}-obscuro-scan-v3 + dns-name-label: ${{ github.event.inputs.testnet_type }}-ten-scan image: ${{ vars.DOCKER_BUILD_TAG_SCAN_FE }} - name: ${{ github.event.inputs.testnet_type }}-fe-obscuro-scan-v3 + name: ${{ github.event.inputs.testnet_type }}-fe-ten-scan location: "uksouth" restart-policy: "Never" environment-variables: NEXT_PUBLIC_API_HOST=https://${{ github.event.inputs.testnet_type }}-api.obscuroscan.io NEXT_PUBLIC_FE_VERSION=${{ GITHUB.RUN_NUMBER }}-${{ GITHUB.SHA }} @@ -73,9 +73,9 @@ jobs: uses: "azure/aci-deploy@v1" with: resource-group: ${{ secrets.RESOURCE_GROUP }} - dns-name-label: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan-v3 + dns-name-label: ${{ github.event.inputs.testnet_type }}-api-ten-scan image: ${{ vars.DOCKER_BUILD_TAG_SCAN_API }} - name: ${{ github.event.inputs.testnet_type }}-api-obscuro-scan-v3 + name: ${{ github.event.inputs.testnet_type }}-api-ten-scan location: "uksouth" restart-policy: "Never" command-line: ./cmd/backend --nodeHostAddress http://${{ vars.L2_RPC_URL_VALIDATOR }}:80 --serverAddress 0.0.0.0:80