|
|
|
|
@ -24,6 +24,7 @@ jobs:
@@ -24,6 +24,7 @@ jobs:
|
|
|
|
|
- name: Print lines of code |
|
|
|
|
run: cloc --include-lang C#,SQL,Razor,"Bourne Shell",PowerShell,HTML,CSS,Sass,JavaScript,TypeScript --vcs git |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
testing: |
|
|
|
|
name: Testing |
|
|
|
|
runs-on: windows-latest |
|
|
|
|
@ -66,6 +67,7 @@ jobs:
@@ -66,6 +67,7 @@ jobs:
|
|
|
|
|
run: dotnet test .\test\Core.Test\Core.Test.csproj --configuration Debug --no-build |
|
|
|
|
shell: pwsh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build: |
|
|
|
|
name: Build |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
@ -153,7 +155,7 @@ jobs:
@@ -153,7 +155,7 @@ jobs:
|
|
|
|
|
echo "GitHub ref: $GITHUB_REF" |
|
|
|
|
echo "GitHub event: $GITHUB_EVENT" |
|
|
|
|
|
|
|
|
|
- name: Login to Azure |
|
|
|
|
- name: Login to Azure: Prod Subscription |
|
|
|
|
uses: Azure/login@77f1b2e3fb80c0e8645114159d17008b8a2e475a |
|
|
|
|
with: |
|
|
|
|
creds: ${{ secrets.AZURE_PROD_KV_CREDENTIALS }} |
|
|
|
|
@ -168,6 +170,12 @@ jobs:
@@ -168,6 +170,12 @@ jobs:
|
|
|
|
|
dct-delegate-2-repo-passphrase, |
|
|
|
|
dct-delegate-2-key" |
|
|
|
|
|
|
|
|
|
- name: Login to Azure: QA Subscription |
|
|
|
|
if: ${{ matrix.service_name }} == "EventsProcessor" |
|
|
|
|
uses: Azure/login@77f1b2e3fb80c0e8645114159d17008b8a2e475a |
|
|
|
|
with: |
|
|
|
|
creds: ${{ secrets.AZURE_QA_KV_CREDENTIALS }} |
|
|
|
|
|
|
|
|
|
- name: Log into Docker |
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' |
|
|
|
|
run: | |
|
|
|
|
@ -275,6 +283,7 @@ jobs:
@@ -275,6 +283,7 @@ jobs:
|
|
|
|
|
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/rc' |
|
|
|
|
run: docker logout |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
upload: |
|
|
|
|
name: Upload |
|
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|