starting to move taskotron-dev over to stg msgbus and stg koji

This commit is contained in:
Tim Flink 2017-03-02 17:48:56 +00:00
parent b96321e095
commit 7f96b359f7
4 changed files with 15 additions and 2 deletions

View file

@ -14,6 +14,9 @@ robots_path: /var/www/html
# this enables extra repos during dnf operations
extra_enablerepos: 'infrastructure-testing'
# make sure we're listening to stg fedmsg
env: staging
############################################################
# task repo details
@ -32,6 +35,7 @@ grokmirror_repos:
- { name: fedoraqa/python-versions, url: 'https://github.com/fedora-python/task-python-versions'}
- { name: fedoraqa/check_modulemd, url: 'https://github.com/fedora-modularity/check_modulemd'}
- { name: fedoraqa/rpmdeplint, url: 'https://pagure.io/taskotron/task-rpmdeplint.git'}
- { name: fedoraqa/rpmlint-scratch, url: 'https://bitbucket.org/fedoraqa/task-rpmlint-scratch.git'}
grokmirror_default_branch: develop

View file

@ -40,8 +40,8 @@ taskotron_fas_password: ''
execdb_external_url: https://taskotron-dev.fedoraproject.org/execdb
resultsdb_server: http://resultsdb-dev01.qa.fedoraproject.org/resultsdb_api/api/v2.0
bodhi_server: https://bodhi.fedoraproject.org/
kojihub_url: https://koji.fedoraproject.org/kojihub
kojipkg_url: https://kojipkgs.fedoraproject.org/packages
kojihub_url: https://koji.stg.fedoraproject.org/kojihub
kojipkg_url: https://kojipkgs.stg.fedoraproject.org/packages
taskotron_master: https://taskotron-dev.fedoraproject.org/taskmaster
resultsdb_external_url: https://taskotron-dev.fedoraproject.org/resultsdb
artifacts_base_url: https://taskotron-dev.fedoraproject.org/artifacts

View file

@ -12,6 +12,9 @@ joblog_file = {{ trigger_joblog_file }}
fuse_delay = 900 ; 15 minutes in seconds
git_cache_dir = {{ trigger_cache_dir }}
rules_template = {{ trigger_rules_template_path }}
{% if deployment_type in ['dev'] %}
deployment_type = stg
{% endif%}
[koji_build_completed]
critpath_filepath = {{ trigger_critpath_file }}

View file

@ -40,4 +40,10 @@
- when: {message_type: DistGitCommit, namespace: modules}
do:
- {tasks: [check_modulemd]}
# trigger off of scratch builds in dev
- when: {message_type: KojiTaskCompleted}
do:
- {discover: {repo: '{{ trigger_distgit_repo_url }}/rpms/${name}.git', branch: "${distgit_branch}", fallback_branch: 'master'}}
- {tasks: [rpmlint-scratch]}
{% endif %}