Skip to content

Commit

Permalink
ci(gitlab): test if files in subdir changes too (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Oct 15, 2020
1 parent a100476 commit 5fcc039
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion azure-cli/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_azure_cli
changes:
- azure-cli/*
- azure-cli/**/*

Lint azure-cli:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion azure-db/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_azure_db
changes:
- azure-db/*
- azure-db/**/*

Lint azure-db:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion bats/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_bats
changes:
- bats/*
- bats/**/*

Lint bats:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion curl/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_curl
changes:
- curl/*
- curl/**/*

Lint curl:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion fluentd-modsecurity/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_fluentd_modsecurity
changes:
- fluentd-modsecurity/*
- fluentd-modsecurity/**/*

Lint fluentd-modsecurity:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion git-deploy/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_git_deploy
changes:
- git-deploy/*
- git-deploy/**/*

Lint git-deploy:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion git-tag-release/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_git_tag_release
changes:
- git-tag-release/*
- git-tag-release/**/*

Lint git-tag-release:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion helm/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_helm
changes:
- helm/*
- helm/**/*

Lint helm:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion infra-ansible-ci/.gitlab-ci.yml
Expand Up @@ -2,7 +2,7 @@
rules:
- &change_infra_ansible_ci
changes:
- infra-ansible-ci/*
- infra-ansible-ci/**/*

Lint infra-ansible-ci:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion k8s-ns-killer/.gitlab-ci.yml
Expand Up @@ -2,7 +2,7 @@
rules:
- &change_k8s_ns_killer
changes:
- k8s-ns-killer/*
- k8s-ns-killer/**/*

Lint k8s-ns-killer 1 2:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion k8s-object-cleaner/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_k8s_object_killer
changes:
- k8s-object-cleaner/*
- k8s-object-cleaner/**/*

Lint k8s-object-cleaner 1 2:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion kosko/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_kosko
changes:
- kosko/*
- kosko/**/*

Lint kosko:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion kubectl/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_kubectl
changes:
- kubectl/*
- kubectl/**/*

Lint kubectl:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion nginx4spa/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_nginx4pa
changes:
- nginx4spa/*
- nginx4spa/**/*

Lint nginx4spa:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion pg-cleaner/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_pg_cleaner
changes:
- pg-cleaner/*
- pg-cleaner/**/*

Lint pg-cleaner:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion puppeteer/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_puppeteer
changes:
- puppeteer/*
- puppeteer/**/*

Lint puppeteer:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion trivy/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_trivy
changes:
- trivy/*
- trivy/**/*

Lint trivy:
stage: "Quality"
Expand Down
2 changes: 1 addition & 1 deletion wait-for-postgres/.gitlab-ci.yml
Expand Up @@ -3,7 +3,7 @@
- if: '$CI_COMMIT_BRANCH == "master"'
- &changes_wait_for_postgres
changes:
- wait-for-postgres/*
- wait-for-postgres/**/*

Lint wait-for-postgres 1 2:
stage: "Quality"
Expand Down

0 comments on commit 5fcc039

Please sign in to comment.