softwarefactory-project-zuul[bot]
c3efb13020
Merge pull request #6325 from AlanCoding/autohack
...
Automatically hack sys.path to make running tests easier
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-18 17:46:59 +00:00
AlanCoding
c054d7c3d7
Automatically hack sys.path to make running tests easier
2020-03-18 09:40:11 -04:00
softwarefactory-project-zuul[bot]
26d5d7afdc
Merge pull request #6304 from AlanCoding/workflow_role
...
Add workflow to tower_role module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-18 03:13:37 +00:00
AlanCoding
8668f2ad46
Add workflow to tower_role
2020-03-16 22:36:27 -04:00
AlanCoding
bdd0b9e4d9
Add more tests for recent WFJT module issues
2020-03-12 15:45:25 -04:00
softwarefactory-project-zuul[bot]
1876849d89
Merge pull request #6186 from AlanCoding/wfjt_vars
...
Modernize types of WFJT module
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-03-12 19:43:04 +00:00
AlanCoding
5c331934e2
Fix server error creating smart inventories
2020-03-10 22:00:31 -04:00
AlanCoding
e80843846e
Modernize types of WFJT module
2020-03-10 16:07:03 -04:00
Alan Rominger
768280c9ba
[last PR stuff] + Add warning if configs specified in 2 params ( #5 )
...
* Lean on API validation for tower_inventory_source arg errors
used for
- validating needed credential is given
- missing source_project for scm sources
* Add warning when config is specified in 2 places
Fix up unit tests, address multiple comments re: backwards compatibility, redundant methods, etc.
Update new_name and variables parameters, update unit tests
2020-02-26 09:26:55 -05:00
Alan Rominger
2e4e687d69
Optional tower cli ( #3 )
...
* Allow running tests without tower_cli
* patch up test mutability
* Fix test import error, warning mock
* flake8 error
Update documentation for non-converted modules
2020-02-26 09:26:22 -05:00
John Westcott IV
0eef67713f
Only try an ID lookup if we can convert the field name_or_id to an integer
...
Fix linting issues, update tower_project unit test
2020-02-26 09:15:04 -05:00
John Westcott IV
9955ee6548
Converting tower_inventory_source
...
Fix up inventory_source module changes, fix import yaml sanity error, change inventory_source unit tests to comply with new structure.
2020-02-26 09:15:04 -05:00
John Westcott IV
1c505beba6
Converted tower_group
...
Splitting out tower_inventory_source from tower_group
Copy/Paste typo fix and README update for breaking backwards compatability
Update credential_type module and unit tests
2020-02-26 09:15:04 -05:00
John Westcott IV
f89061da41
Updating tower_org to use the new tower_api format
...
Pass sanity and unit tests, update tests
Remove placeholder test function, convert tower_host module, fix misc typos
2020-02-26 09:14:01 -05:00
John Westcott IV
e028ed878e
More tower-cli-ish parsing of config files
...
Clear up test failures/linting errors, update unit test
Update module_utils for linter, add wait time to project module
2020-02-26 09:14:00 -05:00
beeankha
7c0ad461a5
Further module conversion changes, unit test changes
...
Multiple module changes
Added on_change callback
Added head_endpoint
Added additional error returns
Respond with a try an ID message if multiple assets found by name via return_none_on_404 kwarg
Diferentiated between login and logout token errors
Added is_job_done method
2020-02-26 09:14:00 -05:00
AlanCoding
b9b6dad0b3
Add test for deprecated vault_credential
2020-01-15 09:44:28 -05:00
beeankha
f37ac1dcc9
Add extra_vars example to Job Launch module, update extra_vars type to dict,
...
update unit test, add details to Collections release notes.
2020-01-08 14:50:41 -05:00
beeankha
3cc9139c6d
Add a more specific assertion statement
2019-12-05 16:49:23 -05:00
beeankha
6d595cbda6
Add extra_vars parameter to tower_job_template module
2019-12-05 15:37:00 -05:00
AlanCoding
081a0fc04e
fix other assorted sanity failures
2019-11-26 09:45:54 -05:00
David Moreau Simard
2171823846
Finish JT.credentials functionality, add test
...
Original commit:
commit 3ec6196477135230c4b90b175310bdc2eaff36ed
Author: David Moreau Simard <dmsimard@redhat.com >
Date: Tue Oct 23 22:21:33 2018 -0400
Add support for "credentials" in the tower_job_template module
Job templates might require more than one credential.
There's credential, vault_credential, machine_credential, etc.
"credentials" is a thing, let's support it.
2019-11-21 14:30:08 -05:00
softwarefactory-project-zuul[bot]
57f9b31b2b
Merge pull request #5163 from AlanCoding/custom_venv
...
Add custom virtualenv param to various modules
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-21 11:45:19 +00:00
softwarefactory-project-zuul[bot]
34ba858e3b
Merge pull request #5191 from AlanCoding/tower_group_id
...
Make tower_group idempotent
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-21 04:26:16 +00:00
AlanCoding
5e24cee0ae
Add custom_virtualenv param to inventory source and tests
2019-11-20 22:39:12 -05:00
softwarefactory-project-zuul[bot]
fed6a86170
Merge pull request #5194 from AlanCoding/inventory_organization
...
Add organization parameter to tower_inventory_source (and add test logging)
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-11-20 18:23:27 +00:00
beeankha
eff46dbc71
Make playbook wait for project sync...
...
...*before* running the associated job template.
Set "wait" default to True so CI doesn't time out
Change default back to "False", put in new "if"...
...block, explicitly set "wait" to "False" in test file.
Change if block
Update README
Update 'wait' option description
2019-11-20 08:43:19 -05:00
AlanCoding
1402a2c8a5
Run and fix all sanity tests
2019-11-14 14:45:16 -05:00
softwarefactory-project-zuul[bot]
43bf370f8c
Merge pull request #5195 from AlanCoding/job_fail_json
...
In tower_job_wait intentionally fail module for failure
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-31 17:53:53 +00:00
softwarefactory-project-zuul[bot]
6982a8aee7
Merge pull request #5176 from AlanCoding/collection_project_create
...
Fix and test for warning when creating project
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-31 16:50:59 +00:00
AlanCoding
5095816762
In tower_job_wait intentionally fail module for failure
2019-10-31 12:41:53 -04:00
AlanCoding
24eae09ed9
Make tower_inventory_source org optional, add tests
2019-10-31 09:46:49 -04:00
AlanCoding
da1e43dc12
Make tower_group idempotent
2019-10-31 07:53:43 -04:00
AlanCoding
db33c0e4fa
Add test coverage for launch with multiple prompted creds
2019-10-30 20:41:14 -04:00
AlanCoding
f8b64f2222
Fix and test for warning when creating project
2019-10-30 15:40:49 -04:00
AlanCoding
59e1c6d492
Add collection test coverage for creating vault credential
2019-10-29 15:34:32 -04:00
Alan Rominger
98d3f3dc8a
Add tests for AWX collection credential fixes ( #3893 )
2019-10-29 11:24:16 -04:00
Alan Rominger
70269d9a0d
Add support for credential_type in tower_credential module ( #3820 )
...
* Add support for credential_type
* Finish up credential_type parameter with tests
* make inputs mutually exclusive with other params
* Test credential type with dict input
2019-10-29 11:24:12 -04:00
AlanCoding
98619c5e23
rename awx modules folder to collection
2019-09-27 14:29:04 -04:00