Merge branch 'master' of /git/ansible
This commit is contained in:
commit
f388a20a82
1 changed files with 35 additions and 15 deletions
|
@ -1,51 +1,71 @@
|
|||
---
|
||||
- when: {message_type: KojiBuildPackageCompleted}
|
||||
- when:
|
||||
message_type: KojiBuildPackageCompleted
|
||||
do:
|
||||
- {tasks: [rpmlint, rpmgrill, python-versions]}
|
||||
- tasks:
|
||||
- python-versions
|
||||
- rpmgrill
|
||||
- rpmlint
|
||||
|
||||
- when:
|
||||
message_type: KojiBuildPackageCompleted
|
||||
name:
|
||||
$nin: [{{ trigger_abicheck_blacklist | join(',') }}]
|
||||
$nin:
|
||||
- "{{ trigger_abicheck_blacklist | join(',') }}"
|
||||
do:
|
||||
- {tasks: [abicheck]}
|
||||
- tasks:
|
||||
- abicheck
|
||||
|
||||
- when:
|
||||
message_type: KojiTagChanged
|
||||
tag: {$regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'}
|
||||
tag:
|
||||
$regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'
|
||||
do:
|
||||
- {tasks: [rpmdeplint]}
|
||||
- tasks:
|
||||
- rpmdeplint
|
||||
|
||||
- when: {message_type: DistGitCommit, namespace: modules}
|
||||
- when:
|
||||
message_type: DistGitCommit
|
||||
namespace: modules
|
||||
do:
|
||||
- {tasks: [check_modulemd]}
|
||||
- tasks:
|
||||
- check_modulemd
|
||||
|
||||
- when:
|
||||
message_type: GitHubPullRequestOpened
|
||||
repo_name: {$regex: '/^container-images\/.+/'}
|
||||
repo_name:
|
||||
$regex: '/^container-images\/.+/'
|
||||
do:
|
||||
- {tasks: [mtf-containers]}
|
||||
- tasks:
|
||||
- mtf-containers
|
||||
|
||||
{% if deployment_type in ['stg', 'prod'] %}
|
||||
{# these tasks are not ansiblized yet #}
|
||||
- when:
|
||||
message_type: ModuleBuildComplete
|
||||
do:
|
||||
- {tasks: [modularity-testing-framework]}
|
||||
- tasks:
|
||||
- modularity-testing-framework
|
||||
|
||||
- when: {message_type: KojiBuildPackageCompleted, name: docker}
|
||||
- when:
|
||||
message_type: KojiBuildPackageCompleted
|
||||
name: docker
|
||||
do:
|
||||
- {tasks: [dockerautotest]}
|
||||
- tasks:
|
||||
- dockerautotest
|
||||
{% endif %}
|
||||
|
||||
{# disabled due to missing nested virt: https://pagure.io/taskotron/issue/239
|
||||
- when:
|
||||
message_type: AtomicCompose
|
||||
do:
|
||||
- {tasks: [upstream-atomic, fedora-cloud-tests]}
|
||||
- tasks:
|
||||
- upstream-atomic
|
||||
- fedora-cloud-tests
|
||||
|
||||
- when:
|
||||
message_type: CloudCompose
|
||||
do:
|
||||
- {tasks: [fedora-cloud-tests]}
|
||||
- tasks:
|
||||
- fedora-cloud-tests
|
||||
#}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue