Remove plugin tests
These test functionality (that we disallow executing roles and playbooks with adjacent Ansible plugins) which will be removed, so are no longer needed. Change-Id: I21195ba2e70268184fc56b4009e4ac5c36cea3e3
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
- pipeline:
|
||||
name: check
|
||||
manager: independent
|
||||
post-review: true
|
||||
trigger:
|
||||
gerrit:
|
||||
- event: patchset-created
|
||||
success:
|
||||
gerrit:
|
||||
Verified: 1
|
||||
failure:
|
||||
gerrit:
|
||||
Verified: -1
|
||||
|
||||
- job:
|
||||
name: base
|
||||
parent: null
|
||||
@@ -1 +0,0 @@
|
||||
test
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- bare-role
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
symlink: ../filter-plugin-playbook/filter_plugins
|
||||
@@ -1,5 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
- hosts: all
|
||||
tasks:
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- local-role
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- shared-bare-role
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- shared-role
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
- project:
|
||||
check:
|
||||
jobs:
|
||||
- noop
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,4 +0,0 @@
|
||||
- hosts: all
|
||||
roles:
|
||||
- project-role
|
||||
|
||||
@@ -1,14 +0,0 @@
|
||||
import subprocess
|
||||
|
||||
|
||||
def my_cool_test(string):
|
||||
shell_output = subprocess.check_output(['hostname'])
|
||||
return 'hostname: %s' % shell_output.decode('utf-8')
|
||||
|
||||
|
||||
class FilterModule(object):
|
||||
|
||||
def filters(self):
|
||||
return {
|
||||
'my_cool_test': my_cool_test
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
- name: Test filter plugin
|
||||
debug:
|
||||
msg: "{{ 'ignore me' | my_cool_test }}"
|
||||
@@ -1,11 +0,0 @@
|
||||
- tenant:
|
||||
name: tenant-one
|
||||
source:
|
||||
gerrit:
|
||||
config-projects:
|
||||
- common-config
|
||||
untrusted-projects:
|
||||
- org/project
|
||||
- org/project2
|
||||
- org/project3
|
||||
- org/projectrole
|
||||
Reference in New Issue
Block a user