This commit is contained in:
Gordon Byers 2022-11-10 14:16:11 +00:00 коммит произвёл GitHub
Родитель cfbc7e4655
Коммит 0328a0dbc6
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 8 добавлений и 6 удалений

14
.github/workflows/OSSCI.yml поставляемый
Просмотреть файл

@ -21,11 +21,11 @@ on:
default: Traefik
#Run when PR's are made to main, where the changes are in the bicep directory or this workflow file itself
pull_request:
branches: [main]
paths:
- "bicep/*"
- ".github/workflows/OSSCI.yml"
#pull_request:
# branches: [main]
# paths:
# - "bicep/*"
# - ".github/workflows/OSSCI.yml"
#Run on a weekly schedule
schedule:
@ -36,7 +36,7 @@ env:
RG: "AksBicepAcc-Ci-OssCluster" #The resource group we're deploying to.
RESNAME: "AksOss" #Used in Azure Resource Naming, overrides the default in the parameter file
DEPNAME: "Dep${{ github.run_number }}" #Deployment Name
AZCLIVERSION: 2.38.0 #Pinning to a specific AZ CLI version
AZCLIVERSION: 2.42.0 #Pinning to a specific AZ CLI version
permissions:
id-token: write
@ -165,6 +165,7 @@ jobs:
NginxDeploy:
uses: ./.github/workflows/AKSC_Deploy.yml
needs: [ReusableWF]
if: github.event_name == 'workflow_dispatch' && (github.event.inputs.ingressController == 'Nginx' || github.event.inputs.ingressController == 'All') || github.event_name != 'workflow_dispatch'
with:
environment: ${{ needs.ReusableWF.outputs.ENVIRONMENT }}
templateVersion: "0.9.3-preview3"
@ -266,6 +267,7 @@ jobs:
TraefikDeploy:
uses: ./.github/workflows/AKSC_Deploy.yml
needs: [ReusableWF]
if: github.event_name == 'workflow_dispatch' && (github.event.inputs.ingressController == 'Traefik' || github.event.inputs.ingressController == 'All') || github.event_name != 'workflow_dispatch'
with:
environment: ${{ needs.ReusableWF.outputs.ENVIRONMENT }}
templateVersion: "0.9.3-preview3"