Skip to content

Commit

Permalink
Update Azure Devops pipelines (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
terovirtanen authored Aug 29, 2024
1 parent 5247352 commit a6c3b3b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 52 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# 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
paths:
exclude:
- README.md
trigger: none

# 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
Expand All @@ -23,13 +16,6 @@ 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
Expand All @@ -39,9 +25,13 @@ resources:
name: infofinland/infofinland-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-infofinland-ui-stageprod.yml@infofinland-pipelines
#parameters:
#imagetag: ${{ parameters.imagetag }}
# Filename in Azure DevOps Repository
template: components/infofinland-ui/pipelines/infofinland-ui-production.yml@infofinland-pipelines
# parameters:
# Application build arguments and config map values as key value pairs.
# Does not contain all buildArguments or configMap values, the rest located in infofinland-pipelines
# The values here will override the values defined in the infofinland-pipelines repository
# buildArgs:
# DEBUG: 1
# configMap: # pod environment variables
# DEBUG: 1
31 changes: 15 additions & 16 deletions azure-pipelines-test.yml → pipelines/infofinland-ui-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@ trigger:
batch: true
branches:
include:
- dev
- main
paths:
exclude:
- README.md
- '*.md'
- '.github/'
- 'pipelines/infofinland-ui-production.yml'
- 'pipelines/infofinland-ui-test.yml'

# 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
Expand All @@ -23,13 +26,6 @@ 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
Expand All @@ -39,10 +35,13 @@ resources:
name: infofinland/infofinland-pipelines

extends:
# Filename in Azure DevOps Repository (note possible -ui or -api)
# Django example: azure-pipelines-PROJECTNAME-api-master.yml
# Drupal example: azure-pipelines-drupal-master.yml
template: azure-pipelines-infofinland-ui-test.yml@infofinland-pipelines
# Image tag name for Fuse projects
#parameters:
#imagetag: ${{ parameters.imagetag }}
# Filename in Azure DevOps Repository
template: components/infofinland-ui/pipelines/infofinland-ui-staging.yml@infofinland-pipelines
# parameters:
# Application build arguments and config map values as key value pairs.
# Does not contain all buildArguments or configMap values, the rest located in infofinland-pipelines
# The values here will override the values defined in the infofinland-pipelines repository
# buildArgs:
# DEBUG: 1
# configMap: # pod environment variables
# DEBUG: 1
29 changes: 14 additions & 15 deletions azure-pipelines-devtest.yml → pipelines/infofinland-ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ trigger:
- dev
paths:
exclude:
- README.md
- '*.md'
- '.github/'
- 'pipelines/infofinland-ui-production.yml'
- 'pipelines/infofinland-ui-staging.yml'

# 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
Expand All @@ -23,13 +26,6 @@ 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
Expand All @@ -39,10 +35,13 @@ resources:
name: infofinland/infofinland-pipelines

extends:
# Filename in Azure DevOps Repository (note possible -ui or -api)
# Django example: azure-pipelines-PROJECTNAME-api-master.yml
# Drupal example: azure-pipelines-drupal-master.yml
template: azure-pipelines-infofinland-ui-devtest.yml@infofinland-pipelines
# Image tag name for Fuse projects
#parameters:
#imagetag: ${{ parameters.imagetag }}
# Filename in Azure DevOps Repository
template: components/infofinland-ui/pipelines/infofinland-ui-test.yml@infofinland-pipelines
# parameters:
# Application build arguments and config map values as key value pairs.
# Does not contain all buildArguments or configMap values, the rest located in infofinland-pipelines
# The values here will override the values defined in the infofinland-pipelines repository
# buildArgs:
# DEBUG: 1
# configMap: # pod environment variables
# DEBUG: 1

0 comments on commit a6c3b3b

Please sign in to comment.