diff options
author | Zuul <zuul@review.opendev.org> | 2022-02-18 01:38:08 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-02-18 01:38:08 +0000 |
commit | 596dc1e275591d9c203a753e5b258dd47af70434 (patch) | |
tree | 44b539f7728c7471a19bc74bea6f3b057f9981a9 /tests/fixtures/layouts | |
parent | 7212df93c5d9ebc199b8a9a07e78090a912ba761 (diff) | |
parent | 56865e57d2bb56c49be58cfded6f01c60565f2ef (diff) | |
download | zuul-596dc1e275591d9c203a753e5b258dd47af70434.tar.gz |
Merge "Add support for adding and removing labels in gitlab"
Diffstat (limited to 'tests/fixtures/layouts')
-rw-r--r-- | tests/fixtures/layouts/basic-gitlab.yaml | 5 | ||||
-rw-r--r-- | tests/fixtures/layouts/gitlab-label-add-remove.yaml | 31 |
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/fixtures/layouts/basic-gitlab.yaml b/tests/fixtures/layouts/basic-gitlab.yaml index d1bc20984..d8c6be00d 100644 --- a/tests/fixtures/layouts/basic-gitlab.yaml +++ b/tests/fixtures/layouts/basic-gitlab.yaml @@ -42,6 +42,11 @@ - labeled labels: - gateit + - event: gl_merge_request + action: + - labeled + unlabels: + - verified - pipeline: name: promote diff --git a/tests/fixtures/layouts/gitlab-label-add-remove.yaml b/tests/fixtures/layouts/gitlab-label-add-remove.yaml new file mode 100644 index 000000000..8e4a177d6 --- /dev/null +++ b/tests/fixtures/layouts/gitlab-label-add-remove.yaml @@ -0,0 +1,31 @@ +- pipeline: + name: check + manager: independent + trigger: + gitlab: + - event: gl_merge_request + action: + - opened + success: + gitlab: + comment: true + label: + - addme1 + - addme2 + unlabel: + - removeme1 + - removeme2 + +- job: + name: base + parent: null + run: playbooks/base.yaml + +- job: + name: project1-test + +- project: + name: org/project1 + check: + jobs: + - project1-test |