-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
594 additions
and
5 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
...s/integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[00-cd /tmp && ansible-navigator collections --ee True --ll debug --mode interactive --eev $ANSIBLE_COLLECTIONS_PATH/collections:/tmp/collections_to_volmount:Z --senv ANSIBLE_COLLECTIONS_PATH=/tmp/collections_to_volmount-ansible-navigator collections top window]", | ||
"index": 0, | ||
"comment": "ansible-navigator collections top window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" NAME VERSION SHADOWED TYPE PATH", | ||
"0│company_name.coll_1 1.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_1", | ||
"1│company_name.coll_2 2.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
15 changes: 11 additions & 4 deletions
15
...s/integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
{ | ||
"name": "test[1-:0-Browse company_name.coll_1 plugins window]", | ||
"name": "test[01-:0-Browse company_name.coll_1 plugins window]", | ||
"index": 1, | ||
"comment": "Browse company_name.coll_1 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 1 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_1 lookup 1.0.0 False This is test lookup plugin", | ||
"1│mod_1 module 1.0.0 False This is a test module", | ||
" COMPANY NAME.COLL 1 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_1 lookup 1.0.0 False This is test lookup plugin", | ||
"1│mod_1 module 1.0.0 False This is a test module", | ||
"2│role_full role Unknown Unknown Complete sample role.", | ||
"3│role_minimum role Unknown Unknown Minimal sample role.", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/10.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[10-:back-Back to ansible-navigator collections browse window]", | ||
"index": 10, | ||
"comment": "Back to ansible-navigator collections browse window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" NAME VERSION SHADOWED TYPE PATH", | ||
"0│company_name.coll_1 1.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_1", | ||
"1│company_name.coll_2 2.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/11.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[11-:1-Browse company_name.coll_2 plugins window]", | ||
"index": 11, | ||
"comment": "Browse company_name.coll_2 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 2 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_2 lookup 2.0.0 False This is test lookup plugin", | ||
"1│mod_2 module 2.0.0 False This is a test module", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
58 changes: 58 additions & 0 deletions
58
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/12.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"name": "test[12-:0-lookup_2 plugin docs window]", | ||
"index": 12, | ||
"comment": "lookup_2 plugin docs window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
"COMPANY_NAME.COLL_2.LOOKUP_2: This is test lookup plugin", | ||
" 0│---", | ||
" 1│additional_information: {}", | ||
" 2│collection_info:", | ||
" 3│ authors:", | ||
" 4│ - Ansible team (ansible-navigator)", | ||
" 5│ license_file: LICENSE", | ||
" 6│ name: company_name.coll_2", | ||
" 7│ namespace: company_name", | ||
" 8│ path: /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
" 9│ readme: README.md", | ||
"10│ shadowed_by: []", | ||
"11│ version: 2.0.0", | ||
"12│doc:", | ||
"13│ author: test", | ||
"14│ description:", | ||
"15│ - This is test lookup plugin", | ||
"16│ name: lookup_2", | ||
"17│ notes:", | ||
"18│ - This is a dummy lookup plugin", | ||
"19│ options:", | ||
"20│ bar:", | ||
"21│ default: candidate", | ||
"22│ description:", | ||
"23│ - Dummy option I(bar)", | ||
"24│ type: str", | ||
"25│ foo:", | ||
"26│ description:", | ||
"27│ - Dummy option I(foo)", | ||
"28│ required: true", | ||
"29│ type: str", | ||
"30│ plugin_type: lookup", | ||
"31│ short_description: This is test lookup plugin", | ||
"32│ version_added: 2.0.0", | ||
"33│ version_added_collection: company_name.coll_2", | ||
"34│examples: |-", | ||
"35│ - name: Retrieve a value deep inside a using a path", | ||
"36│ ansible.builtin.set_fact:", | ||
"37│ value: \"{{ lookup('company_name.coll_2.lookup_2', var1, var2) }}\"", | ||
"38│full_name: company_name.coll_2.lookup_2", | ||
"39│metadata: null", | ||
"40│returndocs:", | ||
"41│ _raw:", | ||
"42│ description:", | ||
"43│ - One or more zero-based indices of the matching list items.", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/13.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[13-:back-Back to browse company_name.coll_2 plugins window]", | ||
"index": 13, | ||
"comment": "Back to browse company_name.coll_2 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 2 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_2 lookup 2.0.0 False This is test lookup plugin", | ||
"1│mod_2 module 2.0.0 False This is a test module", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
67 changes: 67 additions & 0 deletions
67
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/14.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
{ | ||
"name": "test[14-:1-mod_2 plugin docs window]", | ||
"index": 14, | ||
"comment": "mod_2 plugin docs window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
"COMPANY_NAME.COLL_2.MOD_2: This is a test module", | ||
" 0│---", | ||
" 1│additional_information: {}", | ||
" 2│collection_info:", | ||
" 3│ authors:", | ||
" 4│ - Ansible team (ansible-navigator)", | ||
" 5│ license_file: LICENSE", | ||
" 6│ name: company_name.coll_2", | ||
" 7│ namespace: company_name", | ||
" 8│ path: /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
" 9│ readme: README.md", | ||
"10│ shadowed_by: []", | ||
"11│ version: 2.0.0", | ||
"12│doc:", | ||
"13│ author:", | ||
"14│ - test", | ||
"15│ description:", | ||
"16│ - This is a test module", | ||
"17│ module: mod_2", | ||
"18│ notes:", | ||
"19│ - This is a dummy module", | ||
"20│ options:", | ||
"21│ bar:", | ||
"22│ aliases:", | ||
"23│ - bam", | ||
"24│ choices:", | ||
"25│ - candidate", | ||
"26│ - running", | ||
"27│ default: candidate", | ||
"28│ description:", | ||
"29│ - Dummy option I(bar)", | ||
"30│ type: str", | ||
"31│ foo:", | ||
"32│ description:", | ||
"33│ - Dummy option I(foo)", | ||
"34│ type: str", | ||
"35│ short_description: This is a test module", | ||
"36│ version_added: 2.0.0", | ||
"37│ version_added_collection: company_name.coll_2", | ||
"38│examples: |-", | ||
"39│ - name: test task-1", | ||
"40│ company_name.coll_2.mod_2:", | ||
"41│ foo: somevalue", | ||
"42│ bar: candidate", | ||
"43│full_name: company_name.coll_2.mod_2", | ||
"44│metadata: null", | ||
"45│returndocs:", | ||
"46│ baz:", | ||
"47│ description: test return 1", | ||
"48│ returned: success", | ||
"49│ sample:", | ||
"50│ - a", | ||
"51│ - b", | ||
"52│ type: list", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/15.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[15-:back-Back to browse company_name.coll_2 plugins window]", | ||
"index": 15, | ||
"comment": "Back to browse company_name.coll_2 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 2 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_2 lookup 2.0.0 False This is test lookup plugin", | ||
"1│mod_2 module 2.0.0 False This is a test module", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/16.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[16-:back-Back to ansible-navigator collections browse window]", | ||
"index": 16, | ||
"comment": "Back to ansible-navigator collections browse window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" NAME VERSION SHADOWED TYPE PATH", | ||
"0│company_name.coll_1 1.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_1", | ||
"1│company_name.coll_2 2.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
16 changes: 16 additions & 0 deletions
16
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/17.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "test[17-:collections --ee FFFFF-Provide an invalid ee value]", | ||
"index": 17, | ||
"comment": "Provide an invalid ee value", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" NAME VERSION SHADOWED TYPE PATH", | ||
"0│company_name.coll_1 1.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_1", | ||
"1│company_name.coll_2 2.0.0 False bind_mount /tmp/collections_to_volmount/ansible_collections/company_name/coll_2", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/18.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "test[18-:0-Browse company_name.coll_1 plugins window]", | ||
"index": 18, | ||
"comment": "Browse company_name.coll_1 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 1 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_1 lookup 1.0.0 False This is test lookup plugin", | ||
"1│mod_1 module 1.0.0 False This is a test module", | ||
"2│role_full role Unknown Unknown Complete sample role.", | ||
"3│role_minimum role Unknown Unknown Minimal sample role.", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
58 changes: 58 additions & 0 deletions
58
.../integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/19.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"name": "test[19-:0-lookup_1 plugin docs window]", | ||
"index": 19, | ||
"comment": "lookup_1 plugin docs window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
"COMPANY_NAME.COLL_1.LOOKUP_1: This is test lookup plugin", | ||
" 0│---", | ||
" 1│additional_information: {}", | ||
" 2│collection_info:", | ||
" 3│ authors:", | ||
" 4│ - Ansible team (ansible-navigator)", | ||
" 5│ license_file: LICENSE", | ||
" 6│ name: company_name.coll_1", | ||
" 7│ namespace: company_name", | ||
" 8│ path: /tmp/collections_to_volmount/ansible_collections/company_name/coll_1", | ||
" 9│ readme: README.md", | ||
"10│ shadowed_by: []", | ||
"11│ version: 1.0.0", | ||
"12│doc:", | ||
"13│ author: test", | ||
"14│ description:", | ||
"15│ - This is test lookup plugin", | ||
"16│ name: lookup_1", | ||
"17│ notes:", | ||
"18│ - This is a dummy lookup plugin", | ||
"19│ options:", | ||
"20│ bar:", | ||
"21│ default: candidate", | ||
"22│ description:", | ||
"23│ - Dummy option I(bar)", | ||
"24│ type: str", | ||
"25│ foo:", | ||
"26│ description:", | ||
"27│ - Dummy option I(foo)", | ||
"28│ required: true", | ||
"29│ type: str", | ||
"30│ plugin_type: lookup", | ||
"31│ short_description: This is test lookup plugin", | ||
"32│ version_added: 1.0.0", | ||
"33│ version_added_collection: company_name.coll_1", | ||
"34│examples: |-", | ||
"35│ - name: Retrieve a value deep inside a using a path", | ||
"36│ ansible.builtin.set_fact:", | ||
"37│ value: \"{{ lookup('company_name.coll_1.lookup_1', var1, var2) }}\"", | ||
"38│full_name: company_name.coll_1.lookup_1", | ||
"39│metadata: null", | ||
"40│returndocs:", | ||
"41│ _raw:", | ||
"42│ description:", | ||
"43│ - One or more zero-based indices of the matching list items.", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back - previous + next [0-9] goto :help help" | ||
] | ||
} |
7 changes: 6 additions & 1 deletion
7
...s/integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...s/integration/actions/collections/test_direct_interactive_ee_with_volmount.py/test/3.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "test[03-:back-Back to browse company_name.coll_1 plugins window]", | ||
"index": 3, | ||
"comment": "Back to browse company_name.coll_1 plugins window", | ||
"additional_information": { | ||
"present": [], | ||
"absent": [], | ||
"compared_fixture": true | ||
}, | ||
"output": [ | ||
" COMPANY NAME.COLL 1 TYPE ADDED DEPRECATED DESCRIPTION", | ||
"0│lookup_1 lookup 1.0.0 False This is test lookup plugin", | ||
"1│mod_1 module 1.0.0 False This is a test module", | ||
"2│role_full role Unknown Unknown Complete sample role.", | ||
"3│role_minimum role Unknown Unknown Minimal sample role.", | ||
"^f/PgUp page up ^b/PgDn page down ↑↓ scroll esc back [0-9] goto :help help" | ||
] | ||
} |
Oops, something went wrong.