Commit 2035be93 authored by Daniel Scholl's avatar Daniel Scholl
Browse files

Azure Development Pipelines added

parent 346451b8
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#####################
# README: Defines a template that's triggered when either a PR is created or updated. The intent for this
# template is to release the latest service artifact to only the dev integration environment to
# validate the integration tests have passed. You'd typically add this pipeline to your master branch policy.
#####################
trigger:
batch: true
branches:
include:
- trusted-azure
paths:
exclude:
- /**/*.md
- .gitignore
- images/
pr:
autoCancel: false
branches:
include:
- '*'
exclude:
- trusted-azure
- master
paths:
exclude:
- /**/*.md
- .gitignore
- images/
variables:
- group: 'Azure Common Secrets'
- group: 'Azure - Common'
- name: serviceName
value: 'entitlements'
resources:
repositories:
- repository: osdu-infrastructure
type: git
name: OSDU_Rx/osdu-infrastructure
stages:
- template: devops/service-pipelines/build-stage.yml@osdu-infrastructure
parameters:
copyFileContents: |
pom.xml
maven/settings.xml
target/*.jar
copyFileContentsToFlatten: ''
mavenOptions: ''
serviceBase: ${{ variables.serviceName }}
testingRootFolder: 'integration-tests'
- template: devops/service-pipelines/deploy-stages.yml@osdu-infrastructure
parameters:
serviceName: ${{ variables.serviceName }}
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