From 2af33b67cd184362cc4aaa0323e54ea5a36fc9f8 Mon Sep 17 00:00:00 2001 From: vegardrs Date: Fri, 19 Jul 2024 14:41:45 +0200 Subject: [PATCH] destroy test workspace/environment in azure --- .github/workflows/destroy_infra.yaml | 3 ++- IMOMaritimeSingleWindow/Client/Dockerfile | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/destroy_infra.yaml b/.github/workflows/destroy_infra.yaml index dd7bb745..33472169 100644 --- a/.github/workflows/destroy_infra.yaml +++ b/.github/workflows/destroy_infra.yaml @@ -14,6 +14,7 @@ on: type: choice required: true options: + - test - dev-preview - dev - prod @@ -65,7 +66,7 @@ jobs: - name: Select or create workspace id: select-or-create - run: terraform workspace select -or-create ${{ github.event.inputs.workspace || 'dev' }} + run: terraform workspace select -or-create ${{ github.event.inputs.workspace || 'test' }} - name: Destroy infra id: destroy diff --git a/IMOMaritimeSingleWindow/Client/Dockerfile b/IMOMaritimeSingleWindow/Client/Dockerfile index 6043fe37..29708485 100644 --- a/IMOMaritimeSingleWindow/Client/Dockerfile +++ b/IMOMaritimeSingleWindow/Client/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /workspaces/frontend # Copy the source code COPY . . + # Install dependencies RUN npm install