Skip to content

Commit

Permalink
Merge pull request #1 from City-of-Helsinki/dev
Browse files Browse the repository at this point in the history
Added pipelines
  • Loading branch information
tuutti authored Oct 14, 2021
2 parents 3ec8e5e + fae01ac commit 2c372f8
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 49 deletions.
26 changes: 18 additions & 8 deletions azure-pipelines-release.yml.dist → azure-pipelines-devtest.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# File: drupal-helfi/azure-pipelines.yml

# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
branches:
include:
- release/*
- refs/tags/*
- dev
paths:
exclude:
- README.md
Expand All @@ -25,13 +22,26 @@ 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: drupal-REPLACEME
- repository: kasvatus-koulutus-pipelines
type: git
# project/repository
name: drupal-helfi/drupal-REPLACEME
# Azure DevOps project/repository
name: kasvatus-koulutus/kasvatus-koulutus-pipelines

extends:
template: azure-pipelines-drupal-release.yml@drupal-REPLACEME
# Filename in Azure DevOps Repository (note possible -ui or -api)
# Django example: azure-pipelines-kasvatus-koulutus-api-master.yml
# Drupal example: azure-pipelines-drupal-master.yml
template: azure-pipelines-kasvatus-koulutus-devtest.yml@kasvatus-koulutus-pipelines
# Image tag name for Fuse projects
#parameters:
#imagetag: ${{ parameters.imagetag }}
34 changes: 0 additions & 34 deletions azure-pipelines-pull-request.yml.dist

This file was deleted.

24 changes: 17 additions & 7 deletions azure-pipelines-master.yml.dist → azure-pipelines-stageprod.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# File: drupal-helfi/azure-pipelines.yml

# Continuous integration (CI) triggers cause a pipeline to run whenever you push
# an update to the specified branches or you push specified tags.
trigger:
branches:
include:
- dev
- main
paths:
exclude:
- README.md
Expand All @@ -24,13 +22,25 @@ 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: drupal-REPLACEME
- repository: kasvatus-koulutus-pipelines
type: git
# project/repository
name: drupal-helfi/drupal-REPLACEME
# Azure DevOps project/repository
name: kasvatus-koulutus/kasvatus-koulutus-pipelines

extends:
template: azure-pipelines-drupal-master.yml@drupal-REPLACEME
# 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-kasvatus-koulutus-stageprod.yml@kasvatus-koulutus-pipelines
#parameters:
#imagetag: ${{ parameters.imagetag }}

0 comments on commit 2c372f8

Please sign in to comment.