Skip to content

Test migration from radix/docker image #164

Test migration from radix/docker image

Test migration from radix/docker image #164

Workflow file for this run

name: build completion
on:
push:
branches: ["main"]
workflow_dispatch:
inputs:
environment:
description: 'Environment to deploy to'
required : true
type: choice
default: dev
options:
- dev
- test
- prod
permissions:
id-token: write
contents: read
jobs:
runtests:
uses: ./.github/workflows/runtests.yaml
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
with:
deployment: 'runtests'
environment: 'dev'
testPath: './Equinor.ProCoSys.Completion.sln'
build-and-push-docker:
needs: runtests
uses: ./.github/workflows/build-and-push-docker.yaml
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
with:
repositoryName: procosys-completion
dockerFilePath: ./src/Dockerfile
environment: dev
version: 1.000.0.${{github.run_id}}
deploy-to-radix:
needs: build-and-push-docker
uses: ./.github/workflows/deploy-to-radix.yaml
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
with:
applicationName: procosys-completion-api
componentName: backend
imageTag: 1.000.0.${{github.run_id}}
environment: dev
deploy-to-radix-test:
needs: deploy-to-radix
uses: ./.github/workflows/deploy-to-radix.yaml
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
with:
applicationName: procosys-completion-api
componentName: backend
imageTag: 1.000.0.${{github.run_id}}
environment: test
deploy-to-radix-prod:
needs: deploy-to-radix-test
uses: ./.github/workflows/deploy-to-radix.yaml
secrets:
AZURE_CLIENT_ID: ${{ secrets.AZURE_CLIENT_ID }}
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
with:
applicationName: procosys-completion-api
componentName: backend
imageTag: 1.000.0.${{github.run_id}}
environment: prod