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:
James E. Blair
2022-04-07 12:31:30 -07:00
parent 0a1abf8ead
commit 9f558729d1
24 changed files with 0 additions and 226 deletions

View File

@@ -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

View File

@@ -1 +0,0 @@
test

View File

@@ -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
}

View File

@@ -1,3 +0,0 @@
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -1,4 +0,0 @@
- hosts: all
roles:
- bare-role

View File

@@ -1 +0,0 @@
symlink: ../filter-plugin-playbook/filter_plugins

View File

@@ -1,5 +0,0 @@
- hosts: all
tasks:
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -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
}

View File

@@ -1,5 +0,0 @@
- hosts: all
tasks:
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -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
}

View File

@@ -1,3 +0,0 @@
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -1,4 +0,0 @@
- hosts: all
roles:
- local-role

View File

@@ -1,4 +0,0 @@
- hosts: all
roles:
- shared-bare-role

View File

@@ -1,4 +0,0 @@
- hosts: all
roles:
- shared-role

View File

@@ -1,4 +0,0 @@
- project:
check:
jobs:
- noop

View File

@@ -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
}

View File

@@ -1,3 +0,0 @@
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -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
}

View File

@@ -1,3 +0,0 @@
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -1,4 +0,0 @@
- hosts: all
roles:
- project-role

View File

@@ -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
}

View File

@@ -1,3 +0,0 @@
- name: Test filter plugin
debug:
msg: "{{ 'ignore me' | my_cool_test }}"

View File

@@ -1,11 +0,0 @@
- tenant:
name: tenant-one
source:
gerrit:
config-projects:
- common-config
untrusted-projects:
- org/project
- org/project2
- org/project3
- org/projectrole