summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/ansible-galaxy-collection-scm/templates
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/ansible-galaxy-collection-scm/templates')
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/git_prefix_name.yml2
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/name_and_type.yml3
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/name_without_type.yml3
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name.yml4
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name_and_type.yml5
-rw-r--r--test/integration/targets/ansible-galaxy-collection-scm/templates/source_only.yml3
6 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/git_prefix_name.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/git_prefix_name.yml
new file mode 100644
index 0000000..8b0e788
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/git_prefix_name.yml
@@ -0,0 +1,2 @@
+collections:
+ - name: git+file://{{ scm_path }}/amazon.aws/.git
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/name_and_type.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/name_and_type.yml
new file mode 100644
index 0000000..8f6be46
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/name_and_type.yml
@@ -0,0 +1,3 @@
+collections:
+ - name: file://{{ scm_path }}/amazon.aws/.git
+ type: git
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/name_without_type.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/name_without_type.yml
new file mode 100644
index 0000000..9d340b5
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/name_without_type.yml
@@ -0,0 +1,3 @@
+collections:
+ # should not work: git prefix or type is required
+ - name: file://{{ scm_path }}/amazon.aws/.git
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name.yml
new file mode 100644
index 0000000..b7bdb27
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name.yml
@@ -0,0 +1,4 @@
+collections:
+ # should not work: source is expected to be a galaxy server name or URL
+ - source: git+file://{{ scm_path }}/amazon.aws/.git
+ name: ansible.nope
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name_and_type.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name_and_type.yml
new file mode 100644
index 0000000..01a2ea2
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_and_name_and_type.yml
@@ -0,0 +1,5 @@
+collections:
+ # should not work: source is expected to be a galaxy server name or URL
+ - source: git+file://{{ scm_path }}/amazon.aws/.git
+ name: ansible.nope
+ type: git
diff --git a/test/integration/targets/ansible-galaxy-collection-scm/templates/source_only.yml b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_only.yml
new file mode 100644
index 0000000..74f8708
--- /dev/null
+++ b/test/integration/targets/ansible-galaxy-collection-scm/templates/source_only.yml
@@ -0,0 +1,3 @@
+collections:
+ # should not work: source is expected to be a galaxy server name or URL
+ - source: git+file://{{ scm_path }}/amazon.aws/.git