Skip to content
Snippets Groups Projects
Verified Commit c68f41ef authored by Arie Peterson's avatar Arie Peterson
Browse files

Use glob patterns in `only` properties of CI jobs

parent e5a58962
Branches
Tags
No related merge requests found
......@@ -47,9 +47,9 @@ bootstrap:
when: always
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
install:
stage: install-apps
......@@ -71,9 +71,9 @@ install:
expire_in: 1 month
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
testinfra:
stage: health-test
......@@ -84,9 +84,9 @@ testinfra:
- py.test -v -m 'testinfra' --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
certs:
stage: health-test
......@@ -100,9 +100,9 @@ certs:
- py.test -s -m 'certs' --connection=ansible --ansible-inventory=./inventory.yml --hosts='ansible://*'
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
behave-nextcloud:
stage: integration-test
......@@ -121,9 +121,9 @@ behave-nextcloud:
retry: 2
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
behave-grafana:
stage: integration-test
......@@ -141,9 +141,9 @@ behave-grafana:
when: on_failure
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
terminate:
stage: cleanup
......@@ -155,6 +155,6 @@ terminate:
- python3 -c "import cosmos; cosmos.terminate_droplets_by_name(\"^ci-\", 2)"
only:
changes:
- ansible
- helmfiles
- test
- ansible/**/*
- helmfiles/**/*
- test/**/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment