Commit 38868dd6 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Pipeline fix

parent 656f4118
Pipeline #10587 failed with stage
in 35 seconds
......@@ -24,60 +24,60 @@ trigger:
- .gitignore
- /docs
resources:
repositories:
- repository: FluxRepo
type: git
name: k8-gitops-manifests
- repository: TemplateRepo
type: git
name: gitlab-infra-provisioning
resources:
repositories:
- repository: FluxRepo
type: git
name: k8-gitops-manifests
- repository: TemplateRepo
type: git
name: gitlab-infra-provisioning
variables:
- group: 'Azure - OSDU'
- group: "Azure Common Secrets"
- group: "Azure - Common"
variables:
- group: 'Azure - OSDU'
- group: "Azure Common Secrets"
- group: "Azure - Common"
- name: serviceName
value: "legal"
- name: chartPath
value: "/devops/azure/chart"
- name: valuesFile
value: "/devops/azure/chart/helm-config.yaml"
- name: 'MANIFEST_REPO'
value: $[ resources.repositories['FluxRepo'].name ]
- name: serviceName
value: "legal"
- name: chartPath
value: "/devops/azure/chart"
- name: valuesFile
value: "/devops/azure/chart/helm-config.yaml"
- name: 'MANIFEST_REPO'
value: $[ resources.repositories['FluxRepo'].name ]
stages:
- template: /devops/service-pipelines/build-stage.yml@TemplateRepo
parameters:
mavenGoal: 'package'
mavenPublishJUnitResults: true
serviceCoreMavenOptions: '-P legal-core'
mavenOptions: '-P legal-azure'
copyFileContents: |
pom.xml
provider/legal-azure/maven/settings.xml
provider/legal-azure/pom.xml
provider/legal-azure/target/*-spring-boot.jar
copyFileContentsToFlatten: ''
mavenSettingsFile: './maven/settings.xml'
serviceBase: ${{ variables.serviceName }}
testingRootFolder: 'testing'
- template: /devops/service-pipelines/deploy-stages.yml@TemplateRepo
parameters:
serviceName: ${{ variables.serviceName }}
testCoreMavenPomFile: 'testing/legal-test-core/pom.xml'
testCoreMavenOptions: '--settings $(System.DefaultWorkingDirectory)/drop/deploy/testing/maven/settings.xml'
providers:
- name: Azure
environments: ['dev']
stages:
- template: /devops/service-pipelines/build-stage.yml@TemplateRepo
parameters:
mavenGoal: 'package'
mavenPublishJUnitResults: true
serviceCoreMavenOptions: '-P legal-core'
mavenOptions: '-P legal-azure'
copyFileContents: |
pom.xml
provider/legal-azure/maven/settings.xml
provider/legal-azure/pom.xml
provider/legal-azure/target/*-spring-boot.jar
copyFileContentsToFlatten: ''
mavenSettingsFile: './maven/settings.xml'
serviceBase: ${{ variables.serviceName }}
testingRootFolder: 'testing'
- template: /devops/service-pipelines/deploy-stages.yml@TemplateRepo
parameters:
serviceName: ${{ variables.serviceName }}
testCoreMavenPomFile: 'testing/legal-test-core/pom.xml'
testCoreMavenOptions: '--settings $(System.DefaultWorkingDirectory)/drop/deploy/testing/maven/settings.xml'
providers:
- name: Azure
environments: ['dev']
# - template: devops/service-pipelines/aks-deploy-stages.yml@osdu-infrastructure
# parameters:
# serviceName: ${{ variables.serviceName }}
# chartPath: ${{ variables.chartPath }}
# valuesFile: ${{ variables.valuesFile }}
# providers:
# - name: Azure
# environments: ["dev"]
# - template: devops/service-pipelines/aks-deploy-stages.yml@osdu-infrastructure
# parameters:
# serviceName: ${{ variables.serviceName }}
# chartPath: ${{ variables.chartPath }}
# valuesFile: ${{ variables.valuesFile }}
# providers:
# - name: Azure
# environments: ["dev"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment