Skip to content

Commit

Permalink
UHF-9938: Update pipeline triggers (#1529)
Browse files Browse the repository at this point in the history
* Update pipeline triggers

* UHF-9938: Update README.md
  • Loading branch information
hyrsky authored Oct 25, 2024
1 parent 8a44aed commit fb0fe89
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 50 deletions.
15 changes: 7 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ This project offers citizens a way to apply for different city grants for their

## Environments

Env | Branch | Url
------ |-----------| -----
local | * | [https://hel-fi-drupal-grant-applications.docker.so/](https://hel-fi-drupal-grant-applications.docker.so/)
development | * | [https://avustukset.dev.hel.ninja](https://avustukset.dev.hel.ninja)
testing | develop | [https://avustukset.test.hel.ninja](https://avustukset.test.hel.ninja)
staging | release/* | [https://avustukset.stage.hel.ninja](https://avustukset.stage.hel.ninja)
production | main | [https://avustukset.hel.fi](https://avustukset.hel.fi) (https://nginx-avustusasiointi-prod.apps.platta.hel.fi/ before release)

| Env | Branch | Url |
|-------------|--------------------------|------------------------------------------------------------------------------------------------------------|
| local | `*` | [https://hel-fi-drupal-grant-applications.docker.so/](https://hel-fi-drupal-grant-applications.docker.so/) |
| development | `*` | [https://avustukset.dev.hel.ninja](https://avustukset.dev.hel.ninja) |
| testing | `dev` | [https://avustukset.test.hel.ninja](https://avustukset.test.hel.ninja) |
| staging | `main` | [https://avustukset.stage.hel.ninja](https://avustukset.stage.hel.ninja) |
| production | `refs/tags/YYYY-MM-DD.X` | [https://avustukset.hel.fi](https://avustukset.hel.fi) |

## Requirements

Expand Down
9 changes: 1 addition & 8 deletions azure-pipelines-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@

# 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 Down
11 changes: 7 additions & 4 deletions azure-pipelines-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
# 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:
- release/*
exclude:
- release/old*
- main
paths:
exclude:
- README.md
- '*.md'
- '.github/'
- 'azure-pipelines-dev.yml'
- 'azure-pipelines-test.yml'
- 'azure-pipelines-prod.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 Down
8 changes: 6 additions & 2 deletions azure-pipelines-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ trigger:
batch: true
branches:
include:
- develop
- dev
paths:
exclude:
- README.md
- '*.md'
- '.github/'
- 'azure-pipelines-dev.yml'
- 'azure-pipelines-staging.yml'
- 'azure-pipelines-prod.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 Down
28 changes: 0 additions & 28 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit fb0fe89

Please sign in to comment.