From 56ea824031329f9827735d251009346c032d0970 Mon Sep 17 00:00:00 2001 From: "Benjamin D. Brodie" Date: Mon, 29 Apr 2024 18:03:22 +0200 Subject: [PATCH] Remove old build workflows --- ...r-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml | 45 ------------------- ...r-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml | 45 ------------------- 2 files changed, 90 deletions(-) delete mode 100644 .github/workflows/prod-slack-altinn-AutoDeployTrigger-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml delete mode 100644 .github/workflows/prod-slack-altinndevops-AutoDeployTrigger-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml diff --git a/.github/workflows/prod-slack-altinn-AutoDeployTrigger-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml b/.github/workflows/prod-slack-altinn-AutoDeployTrigger-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml deleted file mode 100644 index c21d35f..0000000 --- a/.github/workflows/prod-slack-altinn-AutoDeployTrigger-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: prod-slack-altinn - Auto deploy - -# When this action will be executed -on: - # Automatically trigger it when detected changes in repo - push: - branches: - [ release ] - paths: - - '**' - - '.github/workflows/prod-slack-altinn-AutoDeployTrigger-06da9e65-21d6-4cd0-803b-5776683d6cfc.yml' - - # Allow manual trigger - workflow_dispatch: - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - environment: prod-slack-altinn - - steps: - - name: Checkout to the branch - uses: actions/checkout@v4 - - - name: Azure Login - uses: azure/login@v2 - with: - creds: ${{ secrets.DIGDIRASSISTANTSALTINN_AZURE_CREDENTIALS }} - - - name: Build and push container image to registry - uses: azure/container-apps-deploy-action@v2 - with: - appSourcePath: ${{ github.workspace }} - registryUrl: altinnaicontainers.azurecr.io - registryUsername: ${{ secrets.DIGDIRASSISTANTSALTINN_REGISTRY_USERNAME }} - registryPassword: ${{ secrets.DIGDIRASSISTANTSALTINN_REGISTRY_PASSWORD }} - containerAppName: digdir-assistants-altinn - resourceGroup: altinn-ai-assistant - imageToBuild: altinnaicontainers.azurecr.io/digdir-assistants-prod:${{ github.sha }} - environmentVariables: VITE_SLACK_APP_SUPABASE_API_URL=${{secrets.VITE_SLACK_APP_SUPABASE_API_URL}} VITE_SLACK_APP_SUPABASE_ANON_KEY=${{secrets.VITE_SLACK_APP_SUPABASE_ANON_KEY}} - - - - - diff --git a/.github/workflows/prod-slack-altinndevops-AutoDeployTrigger-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml b/.github/workflows/prod-slack-altinndevops-AutoDeployTrigger-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml deleted file mode 100644 index dc7e91a..0000000 --- a/.github/workflows/prod-slack-altinndevops-AutoDeployTrigger-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: prod-slack-altinndevops - Auto deploy - -# When this action will be executed -on: - # Automatically trigger it when detected changes in repo - push: - branches: - [ release ] - paths: - - '**' - - '.github/workflows/prod-slack-altinndevops-AutoDeployTrigger-bbf1dda7-6862-4a86-94e1-9466cec169a6.yml' - - # Allow manual trigger - workflow_dispatch: - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - environment: prod-slack-altinndevops - - steps: - - name: Checkout to the branch - uses: actions/checkout@v4 - - - name: Azure Login - uses: azure/login@v2 - with: - creds: ${{ secrets.DIGDIRASSISTANTS_AZURE_CREDENTIALS }} - - - name: Build and push container image to registry - uses: azure/container-apps-deploy-action@v2 - with: - appSourcePath: ${{ github.workspace }} - registryUrl: altinnaicontainers.azurecr.io - registryUsername: ${{ secrets.DIGDIRASSISTANTS_REGISTRY_USERNAME }} - registryPassword: ${{ secrets.DIGDIRASSISTANTS_REGISTRY_PASSWORD }} - containerAppName: digdir-assistants - resourceGroup: altinn-ai-assistant - imageToBuild: altinnaicontainers.azurecr.io/digdir-assistants-prod:${{ github.sha }} - environmentVariables: VITE_SLACK_APP_SUPABASE_API_URL=${{secrets.VITE_SLACK_APP_SUPABASE_API_URL}} VITE_SLACK_APP_SUPABASE_ANON_KEY=${{secrets.VITE_SLACK_APP_SUPABASE_ANON_KEY}} - - - - -