Remove source from pipelines (2/2)

Now that sources are associated with projects, remove the source
attribute from pipelines altogether.

This removes the occurance in tests fixtures as well as the element
from the pipeline configuration schema.

Change-Id: If47ecfcd5c5c82b30f6ee8890ed0766cfc88739e
Story: 2000953
changes/21/453821/13
James E. Blair 6 years ago
parent 6053de449b
commit 86073d32f4
  1. 3
      tests/fixtures/config/ansible/git/common-config/zuul.yaml
  2. 2
      tests/fixtures/config/broken/git/common-config/zuul.yaml
  3. 1
      tests/fixtures/config/dependency-graph/git/common-config/zuul.yaml
  4. 2
      tests/fixtures/config/duplicate-pipeline/git/common-config/zuul.yaml
  5. 1
      tests/fixtures/config/git-driver/git/common-config/zuul.yaml
  6. 2
      tests/fixtures/config/in-repo/git/common-config/zuul.yaml
  7. 2
      tests/fixtures/config/merges/git/common-config/zuul.yaml
  8. 1
      tests/fixtures/config/multi-tenant-semaphore/git/common-config/zuul.yaml
  9. 1
      tests/fixtures/config/multi-tenant/git/common-config/zuul.yaml
  10. 1
      tests/fixtures/config/multi-tenant/git/tenant-one-config/zuul.yaml
  11. 1
      tests/fixtures/config/multi-tenant/git/tenant-two-config/zuul.yaml
  12. 3
      tests/fixtures/config/one-job-project/git/common-config/zuul.yaml
  13. 2
      tests/fixtures/config/openstack/git/project-config/zuul.yaml
  14. 2
      tests/fixtures/config/requirements/email/git/common-config/zuul.yaml
  15. 2
      tests/fixtures/config/requirements/newer-than/git/common-config/zuul.yaml
  16. 2
      tests/fixtures/config/requirements/older-than/git/common-config/zuul.yaml
  17. 2
      tests/fixtures/config/requirements/reject-username/git/common-config/zuul.yaml
  18. 2
      tests/fixtures/config/requirements/reject/git/common-config/zuul.yaml
  19. 3
      tests/fixtures/config/requirements/state/git/common-config/zuul.yaml
  20. 2
      tests/fixtures/config/requirements/username/git/common-config/zuul.yaml
  21. 2
      tests/fixtures/config/requirements/vote1/git/common-config/zuul.yaml
  22. 2
      tests/fixtures/config/requirements/vote2/git/common-config/zuul.yaml
  23. 4
      tests/fixtures/config/single-tenant/git/common-config/zuul.yaml
  24. 1
      tests/fixtures/config/single-tenant/git/layout-disabled-at/zuul.yaml
  25. 1
      tests/fixtures/config/single-tenant/git/layout-dont-ignore-ref-deletes/zuul.yaml
  26. 2
      tests/fixtures/config/single-tenant/git/layout-footer-message/zuul.yaml
  27. 1
      tests/fixtures/config/single-tenant/git/layout-idle/zuul.yaml
  28. 1
      tests/fixtures/config/single-tenant/git/layout-ignore-dependencies/zuul.yaml
  29. 1
      tests/fixtures/config/single-tenant/git/layout-inheritance/zuul.yaml
  30. 1
      tests/fixtures/config/single-tenant/git/layout-irrelevant-files/zuul.yaml
  31. 1
      tests/fixtures/config/single-tenant/git/layout-live-reconfiguration-del-project/zuul.yaml
  32. 3
      tests/fixtures/config/single-tenant/git/layout-no-jobs/zuul.yaml
  33. 2
      tests/fixtures/config/single-tenant/git/layout-no-timer/zuul.yaml
  34. 1
      tests/fixtures/config/single-tenant/git/layout-rate-limit/zuul.yaml
  35. 2
      tests/fixtures/config/single-tenant/git/layout-repo-deleted/zuul.yaml
  36. 1
      tests/fixtures/config/single-tenant/git/layout-semaphore-reconfiguration/zuul.yaml
  37. 1
      tests/fixtures/config/single-tenant/git/layout-semaphore/zuul.yaml
  38. 2
      tests/fixtures/config/single-tenant/git/layout-smtp/zuul.yaml
  39. 1
      tests/fixtures/config/single-tenant/git/layout-tags/zuul.yaml
  40. 1
      tests/fixtures/config/single-tenant/git/layout-timer-smtp/zuul.yaml
  41. 2
      tests/fixtures/config/single-tenant/git/layout-timer/zuul.yaml
  42. 1
      tests/fixtures/config/sql-driver/git/common-config/zuul.yaml
  43. 1
      tests/fixtures/config/success-url/git/common-config/zuul.yaml
  44. 3
      tests/fixtures/config/templated-project/git/common-config/zuul.yaml
  45. 2
      tests/fixtures/config/zuul-connections-multiple-gerrits/git/common-config/zuul.yaml
  46. 1
      tests/fixtures/config/zuul-connections-same-gerrit/git/common-config/zuul.yaml
  47. 2
      tests/fixtures/config/zuultrigger/parent-change-enqueued/git/common-config/zuul.yaml
  48. 3
      tests/fixtures/config/zuultrigger/project-change-merged/git/common-config/zuul.yaml
  49. 1
      zuul/configloader.py

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
allow-secrets: true
trigger:
gerrit:
@ -17,7 +16,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -50,6 +48,7 @@
Z3QSO1NjbBxWnaHKZYT7nkrJm8AMCgZU0ZArFLpaufKCeiK5ECSsDxic4FIsY1OkWT42qEUfL0Wd
+150AKGNZpPJnnP3QYY4W/MWcKH/zdO400+zWN52WevbSqZy90tqKDJrBkMl1ydqbuw1E4ZHvIs=
- job:
name: python27
pre-run: pre

@ -1,8 +1,6 @@
- pipeline:
name: check
manager: independent
source:
gerrit
trigger:
gerrit:
- event: patchset-created

@ -2,7 +2,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -2,7 +2,6 @@
name: dup1
manager: independent
success-message: Build succeeded (dup1).
source: gerrit
trigger:
gerrit:
- event: change-restored
@ -17,7 +16,6 @@
name: dup2
manager: independent
success-message: Build succeeded (dup2).
source: gerrit
trigger:
gerrit:
- event: change-restored

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: tenant-one-gate
manager: dependent
success-message: Build succeeded (tenant-one-gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -2,7 +2,6 @@
name: tenant-one-gate
manager: dependent
success-message: Build succeeded (tenant-one-gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -2,7 +2,6 @@
name: tenant-two-gate
manager: dependent
success-message: Build succeeded (tenant-two-gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -37,7 +35,6 @@
- pipeline:
name: post
manager: independent
source: gerrit
trigger:
gerrit:
- event: ref-updated

@ -2,7 +2,6 @@
name: check
manager: independent
success-message: Build succeeded (check).
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -17,7 +16,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -18,7 +17,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -19,7 +18,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -19,7 +18,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
reject:
approval:
- username: jenkins
@ -18,7 +17,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
require:
approval:
- username: jenkins
@ -26,7 +25,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: current-check
manager: independent
source: gerrit
require:
current-patchset: true
trigger:
@ -18,7 +17,6 @@
- pipeline:
name: open-check
manager: independent
source: gerrit
require:
open: true
trigger:
@ -35,7 +33,6 @@
- pipeline:
name: status-check
manager: independent
source: gerrit
require:
status: NEW
trigger:

@ -1,7 +1,6 @@
- pipeline:
name: pipeline
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -18,7 +17,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -5,7 +5,6 @@
approval:
- username: jenkins
verified: 1
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -19,7 +18,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -7,7 +7,6 @@
verified:
- 1
- 2
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -21,7 +20,6 @@
- pipeline:
name: trigger
manager: independent
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -37,7 +35,6 @@
- pipeline:
name: post
manager: independent
source: gerrit
trigger:
gerrit:
- event: ref-updated
@ -46,7 +43,6 @@
- pipeline:
name: experimental
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: post
manager: independent
source: gerrit
trigger:
gerrit:
- event: ref-updated

@ -2,7 +2,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
footer-message: For CI problems and help debugging, contact ci@example.org
trigger:
@ -29,6 +28,7 @@
- job:
name: project-test1
# success-url: http://logs.exxxample.com/{change.number}/{change.patchset}/{pipeline.name}/{job.name}
- project:
name: org/project
gate:

@ -1,7 +1,6 @@
- pipeline:
name: periodic
manager: independent
source: gerrit
trigger:
timer:
- time: '* * * * * */1'

@ -2,7 +2,6 @@
name: check
manager: independent
ignore-dependencies: true
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,8 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source:
gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -17,7 +16,6 @@
manager: independent
# Trigger is required, set it to one that is a noop
# during tests that check the timer trigger.
source: gerrit
trigger:
gerrit:
- event: ref-updated

@ -2,7 +2,6 @@
name: gate
manager: dependent
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -22,7 +21,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: periodic
manager: independent
source: gerrit
trigger:
timer:
- time: '* * * * * */1'

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -15,7 +14,6 @@
- pipeline:
name: periodic
manager: independent
source: gerrit
trigger:
timer:
- time: '* * * * * */1'

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
success-message: Build succeeded (gate).
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -37,7 +35,6 @@
- pipeline:
name: post
manager: independent
source: gerrit
trigger:
gerrit:
- event: ref-updated

@ -1,7 +1,6 @@
- pipeline:
name: review_check
manager: independent
source: review_gerrit
trigger:
review_gerrit:
- event: patchset-created
@ -15,7 +14,6 @@
- pipeline:
name: another_check
manager: independent
source: another_gerrit
trigger:
another_gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: review_gerrit
trigger:
review_gerrit:
- event: patchset-created

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
require:
approval:
- verified: -1
@ -21,7 +20,6 @@
- pipeline:
name: gate
manager: dependent
source: gerrit
require:
approval:
- verified: 1

@ -1,7 +1,6 @@
- pipeline:
name: check
manager: independent
source: gerrit
trigger:
gerrit:
- event: patchset-created
@ -16,7 +15,6 @@
name: gate
manager: dependent
failure-message: Build failed. For information on how to proceed, see http://wiki.example.org/Test_Failures
source: gerrit
trigger:
gerrit:
- event: comment-added
@ -37,7 +35,6 @@
- pipeline:
name: merge-check
manager: independent
source: gerrit
ignore-dependencies: true
trigger:
zuul:

@ -609,7 +609,6 @@ class PipelineParser(object):
pipeline = {vs.Required('name'): str,
vs.Required('manager'): manager,
'source': str,
'precedence': precedence,
'description': str,
'require': require,

Loading…
Cancel
Save