Skip to content
Snippets Groups Projects
Commit e562d1aa authored by Timo Furrer's avatar Timo Furrer
Browse files

Merge branch 'add-integration-test-rules' into 'main'

Add rules for when to run integration tests

See merge request components/opentofu!28
parents 0beff3d6 cd8cf7df
No related branches found
No related tags found
No related merge requests found
...@@ -12,9 +12,21 @@ include: ...@@ -12,9 +12,21 @@ include:
- src/gitlab-tofu.sh - src/gitlab-tofu.sh
- Dockerfile - Dockerfile
- .gitlab-ci.yml - .gitlab-ci.yml
- tests/unit.gitlab-ci.yml
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- local: tests/integration.gitlab-ci.yml - local: tests/integration.gitlab-ci.yml
rules:
- changes:
- src/gitlab-tofu.sh
- Dockerfile
- .gitlab-ci.yml
- templates/*.yml
- tests/integration.gitlab-ci.yml
- tests/integration-tests/*.yml
- tests/terraform/**.tf
- backports/*.gitlab-ci.yml
- backports/OpenTofu/*.gitlab-ciyml
- component: gitlab.com/components/container-scanning/container-scanning@1.0 - component: gitlab.com/components/container-scanning/container-scanning@1.0
inputs: inputs:
stage: quality stage: quality
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment