Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added devops files #1

Merged
merged 2 commits into from
Aug 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions azure-pipelines-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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
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

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

extends:
template: azure-pipelines-drupal-master.yml@strategia-talous-pipelines
36 changes: 36 additions & 0 deletions azure-pipelines-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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:
- main
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

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

extends:
template: azure-pipelines-drupal-release.yml@strategia-talous-pipelines