Skip to content

Commit

Permalink
Created pipeline ymls
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitals9367 authored Nov 9, 2022
1 parent 2ca1652 commit 8668ded
Show file tree
Hide file tree
Showing 2 changed files with 97 additions and 0 deletions.
47 changes: 47 additions & 0 deletions azure-pipelines-build-devtest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
batch: true
branches:
include:
- develop
paths:
exclude:
- README.md

# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# such a pull request.
#
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# of the pull request.
#
# Opt out of pull request validation
pr: none

# By default, use self-hosted agents
pool: Default

# Image tag name for Fuse projects
#parameters:
#- name: imagetag
# displayName: Image tag to be built and/or deployed
# type: string
# default: latest

resources:
repositories:
# Azure DevOps repository
- repository: infraohjelmointi-pipelines
type: git
# Azure DevOps project/repository
name: infraohjelmointi/infraohjelmointi-pipelines

extends:
# Filename in Azure DevOps Repository (note possible -ui or -api)
# Django example: azure-pipelines-PROJECTNAME-api-release.yml
# Drupal example: azure-pipelines-drupal-release.yml
template: azure-pipelines-build-infraohjelmointi-ui-devtest.yml@infraohjelmointi-pipelines
#parameters:
#imagetag: ${{ parameters.imagetag }}
50 changes: 50 additions & 0 deletions azure-pipelines-build-stageprod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
batch: true
branches:
include:
- main
# other examples:
- release/*
- refs/tags/*
paths:
exclude:
- README.md

# Pull request (PR) triggers cause a pipeline to run whenever a pull request is
# opened with one of the specified target branches, or when updates are made to
# such a pull request.
#
# GitHub creates a new ref when a pull request is created. The ref points to a
# merge commit, which is the merged code between the source and target branches
# of the pull request.
#
# Opt out of pull request validation
pr: none

# By default, use self-hosted agents
pool: Default

# Image tag name for Fuse projects
#parameters:
#- name: imagetag
# displayName: Image tag to be built and/or deployed
# type: string
# default: latest

resources:
repositories:
# Azure DevOps repository
- repository: infraohjelmointi-pipelines
type: git
# Azure DevOps project/repository
name: infraohjelmointi/infraohjelmointi-pipelines

extends:
# Filename in Azure DevOps Repository (note possible -ui or -api)
# Django example: azure-pipelines-PROJECTNAME-api-release.yml
# Drupal example: azure-pipelines-drupal-release.yml
template: azure-pipelines-build-infraohjelmointi-ui-stageprod.yml@infraohjelmointi-pipelines
#parameters:
#imagetag: ${{ parameters.imagetag }}

0 comments on commit 8668ded

Please sign in to comment.