zuul/tests/unit
James E. Blair a17a8e7ba4 Handle secrets in branches
There were two problems with secrets related to branches.  First,
a secret defined in one branch could not be used in another.  This
is because the isSameProject method was a bit overzealous and also
ensured the secrets were on the same branch.  Relaxing that allows
secrets to be used by jobs defined in multiple branches of the same
project.

Second, because secrets are required to be globally unique, the
expected workflow of branching a project would immediately produce
a configuration error since the secret would already be defined.
To handle this case, allow multiple definitions of a secret, but
only if they are in multiple branches of the same project, and only
if they have the same data.  This should facilitate this workflow,
as well as the ability to age-out secrets on old branches.

We do not support different values for the same secret name on
different branches.

Story: 2001443
Task: 6154
Story: 2001442
Task: 6153
Change-Id: Ia9d5b77d1ce46e6461b370e951301ede4045bbb9
2018-01-18 13:38:02 -08:00
..
__init__.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_bubblewrap.py Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
test_change_matcher.py Fix branch matching logic 2017-10-02 17:30:51 -04:00
test_clonemapper.py Tests: store debug logs on error 2017-02-06 10:10:48 -08:00
test_cloner_cmd.py Replace equals None with is None 2017-06-05 13:06:10 -05:00
test_configloader.py change assert(Not)Equals to assert(Not)Equal 2017-09-13 17:34:24 -06:00
test_connection.py Merge "Really change patchset column to string" into feature/zuulv3 2018-01-16 23:05:19 +00:00
test_cross_crd.py Add cross-source tests 2018-01-16 09:37:59 -08:00
test_daemon.py Move tests into test/unit 2017-01-24 10:18:38 -08:00
test_disk_accountant.py Improve cleanup of test disk accountant 2017-08-01 07:51:23 +02:00
test_encryption.py Encoding changes in tests for py3 2017-05-19 06:45:31 -07:00
test_executor.py Rename ssh_port to connection_port 2017-12-06 20:19:02 +00:00
test_gerrit.py change assert(Not)Equals to assert(Not)Equal 2017-09-13 17:34:24 -06:00
test_gerrit_crd.py Fix dependency cycle false positive 2018-01-17 04:23:39 +00:00
test_gerrit_legacy_crd.py Fix dependency cycle false positive 2018-01-17 04:23:39 +00:00
test_git_driver.py Stabilize git driver tests 2018-01-17 09:53:18 -08:00
test_github_crd.py Implement Depends-On for github 2017-06-29 11:26:19 -07:00
test_github_driver.py Merge "Use hotlink instead log url in github job report" into feature/zuulv3 2018-01-16 23:53:14 +00:00
test_github_requirements.py Remove unnecessary loop in github test 2017-07-06 15:59:03 -07:00
test_inventory.py Add specific setup inventory 2017-12-28 18:13:44 +01:00
test_merger_repo.py Add git timeout 2017-10-10 08:10:20 -07:00
test_model.py Validate that a job has a run playbook on freeze 2017-10-26 16:05:22 -07:00
test_multi_driver.py Remove status handling from FakeGithubConnection 2017-08-03 19:22:54 +00:00
test_nodepool.py Add support for shared ansible_host in inventory 2017-11-18 16:22:01 -05:00
test_openstack.py Use correct label casing in tests 2017-07-27 07:50:03 +02:00
test_push_reqs.py Ensure ref-updated jobs run with their ref 2017-08-02 16:56:18 -07:00
test_requirements.py Use correct label casing in tests 2017-07-27 07:50:03 +02:00
test_scheduler.py Support cross-source dependencies 2018-01-16 09:37:40 -08:00
test_ssh_agent.py Add SSH Agent Primitives and usage 2017-05-26 09:52:22 -07:00
test_stack_dump.py Several executor threading fixes 2017-10-17 09:49:29 -07:00
test_streaming.py Remove need to start executor as root 2018-01-10 13:57:16 -05:00
test_v3.py Handle secrets in branches 2018-01-18 13:38:02 -08:00
test_web.py Add zuul-web tests equivalent to the webapp tests 2017-12-21 09:59:23 -08:00
test_webapp.py Return 404 on unknown tenants 2017-08-17 09:54:08 -07:00
test_zuultrigger.py Support cross-source dependencies 2018-01-16 09:37:40 -08:00