From 026e2b65ccb2c028057126262df56ab2deb39cc3 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Dec 07 2016 17:05:13 +0000 Subject: Fix test dist-git namespaces. Summary: This just updates the example config to use the new namespaces. Test Plan: None necessary. Reviewers: jskladan, tflink Reviewed By: jskladan, tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1062 --- diff --git a/conf/trigger_rules.yml.example b/conf/trigger_rules.yml.example index d777b57..9f3fe1c 100644 --- a/conf/trigger_rules.yml.example +++ b/conf/trigger_rules.yml.example @@ -2,10 +2,10 @@ - when: {message_type: KojiBuildPackageCompleted} do: - {tasks: [rpmlint, rpmgrill]} - - {discover: {repo: 'http://pkgs.fedoraproject.org/git/rpms-checks/${name}.git', branch: "${distgit_branch}"}} + - {discover: {repo: 'http://pkgs.fedoraproject.org/git/test-rpms/${name}.git', branch: "${distgit_branch}"}} - when: {message_type: KojiBuildDockerCompleted} do: - - {discover: {repo: 'http://pkgs.fedoraproject.org/git/docker-checks/${name}.git', branch: "${distgit_branch}"}} + - {discover: {repo: 'http://pkgs.fedoraproject.org/git/test-docker/${name}.git', branch: "${distgit_branch}"}} - when: {message_type: KojiBuildPackageCompleted, name: docker} do: - {tasks: [dockerautotest]} diff --git a/testing/test_utils.py b/testing/test_utils.py index b1900e8..a177f03 100644 --- a/testing/test_utils.py +++ b/testing/test_utils.py @@ -91,7 +91,7 @@ class TestUtils(): monkeypatch.setattr(os.path, 'isdir', lambda x: True) monkeypatch.setattr(config, 'git_cache_dir', '/path/to') - repo = 'http://pkgs.fedoraproject.org/git/rpms-checks/firefox.git' + repo = 'http://pkgs.fedoraproject.org/git/test-rpms/firefox.git' tasks = utils.discover_tasks('koji_build', repo) import pprint pprint.pprint(mock_check_output.call_args)