Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR tests for discovery, docker, salt
- Loading branch information
Dominic Cleal
committed
Oct 9, 2014
1 parent
fa71385
commit 283d105
Showing
4 changed files
with
150 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
puppet/modules/slave/templates/test_pull_requests_foreman_discovery.json.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"proxy_host": null, | ||
"proxy_port": null, | ||
"jenkins_host": "http://ci.theforeman.org/", | ||
"jenkins_url": "http://ci.theforeman.org/", | ||
"hub_config": "~/.config/hub", | ||
"github_user": "theforeman", | ||
"bot_github_user": "<%= github_user -%>", | ||
"irc_channel": "#theforeman-dev", | ||
"not_mergable_cache": "~/test_pull_request_foreman_discovery_not_mergable", | ||
"repo_groups": { | ||
"foreman_discovery": "foreman_discovery", | ||
}, | ||
"settings": { | ||
"test_settings": { | ||
"name": "test", | ||
"test_prefix": "Test Results:", | ||
"allow_multiple": true, | ||
"run_without_trigger": true, | ||
"branches": { | ||
"*": { | ||
"jenkins_job_name": "test_plugin_pull_request", | ||
"downstream_job_name": "test_plugin_foreman_discovery", | ||
"build_token": "<%= jenkins_build_token -%>", | ||
"addtl_jenkins_params": { | ||
"foreman_discovery": { | ||
"plugin_repo": "https://github.com/theforeman/foreman_discovery.git", | ||
"plugin_name": "foreman_discovery" | ||
} | ||
} | ||
} | ||
}, | ||
"repo_to_orgs": { | ||
"foreman_discovery": [ | ||
"theforeman", | ||
"katello" | ||
] | ||
}, | ||
"repo_to_pull_id_param": { | ||
"foreman_discovery": { | ||
"git_url": "pr_git_url", | ||
"ref": "pr_git_ref", | ||
"number": "pr_number", | ||
"base_branch": "plugin_branch" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
puppet/modules/slave/templates/test_pull_requests_foreman_docker.json.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"proxy_host": null, | ||
"proxy_port": null, | ||
"jenkins_host": "http://ci.theforeman.org/", | ||
"jenkins_url": "http://ci.theforeman.org/", | ||
"hub_config": "~/.config/hub", | ||
"github_user": "theforeman", | ||
"bot_github_user": "<%= github_user -%>", | ||
"irc_channel": "#theforeman-dev", | ||
"not_mergable_cache": "~/test_pull_request_foreman_docker_not_mergable", | ||
"repo_groups": { | ||
"foreman_docker": "foreman_docker", | ||
}, | ||
"settings": { | ||
"test_settings": { | ||
"name": "test", | ||
"test_prefix": "Test Results:", | ||
"allow_multiple": true, | ||
"run_without_trigger": true, | ||
"branches": { | ||
"*": { | ||
"jenkins_job_name": "test_plugin_pull_request", | ||
"downstream_job_name": "test_plugin_foreman_docker", | ||
"build_token": "<%= jenkins_build_token -%>", | ||
"addtl_jenkins_params": { | ||
"foreman_docker": { | ||
"plugin_repo": "https://github.com/theforeman/foreman-docker.git", | ||
"plugin_name": "foreman_docker" | ||
} | ||
} | ||
} | ||
}, | ||
"repo_to_orgs": { | ||
"foreman_docker": [ | ||
"theforeman", | ||
"katello" | ||
] | ||
}, | ||
"repo_to_pull_id_param": { | ||
"foreman_docker": { | ||
"git_url": "pr_git_url", | ||
"ref": "pr_git_ref", | ||
"number": "pr_number", | ||
"base_branch": "plugin_branch" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
puppet/modules/slave/templates/test_pull_requests_foreman_salt.json.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"proxy_host": null, | ||
"proxy_port": null, | ||
"jenkins_host": "http://ci.theforeman.org/", | ||
"jenkins_url": "http://ci.theforeman.org/", | ||
"hub_config": "~/.config/hub", | ||
"github_user": "theforeman", | ||
"bot_github_user": "<%= github_user -%>", | ||
"irc_channel": "#theforeman-dev", | ||
"not_mergable_cache": "~/test_pull_request_foreman_salt_not_mergable", | ||
"repo_groups": { | ||
"foreman_salt": "foreman_salt", | ||
}, | ||
"settings": { | ||
"test_settings": { | ||
"name": "test", | ||
"test_prefix": "Test Results:", | ||
"allow_multiple": true, | ||
"run_without_trigger": true, | ||
"branches": { | ||
"*": { | ||
"jenkins_job_name": "test_plugin_pull_request", | ||
"downstream_job_name": "test_plugin_foreman_salt", | ||
"build_token": "<%= jenkins_build_token -%>", | ||
"addtl_jenkins_params": { | ||
"foreman_salt": { | ||
"plugin_repo": "https://github.com/theforeman/foreman_salt.git", | ||
"plugin_name": "foreman_salt" | ||
} | ||
} | ||
} | ||
}, | ||
"repo_to_orgs": { | ||
"foreman_salt": [ | ||
"theforeman", | ||
"katello" | ||
] | ||
}, | ||
"repo_to_pull_id_param": { | ||
"foreman_salt": { | ||
"git_url": "pr_git_url", | ||
"ref": "pr_git_ref", | ||
"number": "pr_number", | ||
"base_branch": "plugin_branch" | ||
} | ||
} | ||
} | ||
} | ||
} |