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
d8513a4e86
Making variables work for hosts
...
Clear up sanity test and remove redundant import statement
2020-02-26 09:15:04 -05:00
John Westcott IV
badd667efa
Removing manual and file source types and correcting default for custom_virtualenv
2020-02-26 09:15:04 -05:00
John Westcott IV
7908f25747
Remove reference to default check mode
2020-02-26 09:15:04 -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
6591efc160
Fixed issue that caused warning message to always display
...
Because scm_update_cache_timeout has a default and thus will always be != None
2020-02-26 09:15:04 -05:00
beeankha
fcc679489e
Update inventory_source module source_script parameter to be optional
...
Unitied comment
Fix up inventory_source example, misc comment edits
2020-02-26 09:15:04 -05:00
Caleb Boylan
94df58a55b
Fix strtobool casting
2020-02-26 09:15:04 -05:00
John Westcott IV
0685b2fa35
Updates to config file loading
...
Now supports json or yaml
Depricated multiple k=v on a single line
Remove assert statement and unused import from module_util
2020-02-26 09:15:04 -05:00
beeankha
232ea1e50c
Properly cast verify_ssl type to a bool
2020-02-26 09:15:04 -05:00
beeankha
3423db6ed0
Attempt to make validate_certs work in Python2
2020-02-26 09:15:04 -05:00
beeankha
c32452d6b6
Fix Python2 config incompatibility issue
2020-02-26 09:15:04 -05:00
John Westcott IV
018dd4c1c3
Fixing config loading issues when the config has no [general] section
...
Fixed typo in help documentation
Fix up sanity errors and update converted modules
Remove unnecessary test playbook file
2020-02-26 09:15:04 -05:00
John Westcott IV
4fc2c58ae7
Converted tower_job_cancel
2020-02-26 09:15:04 -05:00
John Westcott IV
b4014ebabf
Converted tower_job_launch.py
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
c08d402e66
Adding mutually exclusive if functionality to support tower_inventory_source
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
beeankha
8a0432efb7
Change config file loading function, add py2 and py3 compatibility
2020-02-26 09:14:01 -05:00
beeankha
320276f8ca
Remove JSONDecodeError exception, fix tower_host variable issue
2020-02-26 09:14:01 -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
c23d605a7a
Modified modules to use new tower_api format
...
Fixed variable name typo
2020-02-26 09:14:01 -05:00
John Westcott IV
6d90cac3f9
Bug fixes for username and delete data
2020-02-26 09:14:01 -05:00
John Westcott IV
89e92bd337
Updating call to create_or_update_if_needed
2020-02-26 09:14:00 -05:00
John Westcott IV
9271127c53
Standardizing CRUD methods
...
Fixing linting and conversion issues
2020-02-26 09:14:00 -05:00
beeankha
9fa5942791
Fix superclass syntax for < Python3
2020-02-26 09:14:00 -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
John Westcott IV
838b2b7d1e
Converted tower_project
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
John Westcott IV
68926dad27
Adding team_fields
...
Convert job_list and inventory modules, other changes to make sanity tests pass
2020-02-26 09:14:00 -05:00
John Westcott IV
ceb6f6c47d
Converted tower_settings
...
Changed comments
2020-02-26 09:14:00 -05:00
John Westcott IV
167e99fce9
Converted tower_user
2020-02-26 09:14:00 -05:00
John Westcott IV
c930011616
Removing default_check_mode
2020-02-26 09:14:00 -05:00
John Westcott IV
aaaca63f83
Converted tower_organization
2020-02-26 09:14:00 -05:00
John Westcott IV
d8a9f663b1
Converted tower_credential_type.py
2020-02-26 09:14:00 -05:00
John Westcott IV
b0d0ccf44f
Fix fail_json and remove redundant handle check mode
2020-02-26 09:14:00 -05:00
John Westcott IV
c57754a29b
Logout is now handled by exit_json
2020-02-26 09:14:00 -05:00
John Westcott IV
65057c1fb7
Auto-handle check_mode on post, patch, delete and update_if_needed methods
2020-02-26 09:14:00 -05:00
John Westcott IV
d8be6490c2
Only warn if we can't release a tower token
2020-02-26 09:14:00 -05:00
John Westcott IV
b34208d1b6
Attempting to fix logout loop
2020-02-26 09:14:00 -05:00
John Westcott IV
0d5a9e9c8c
Initial implementation of Pull #5337
2020-02-26 09:14:00 -05:00
softwarefactory-project-zuul[bot]
22d4e60028
Merge pull request #6080 from ryanpetrello/django-upgrade
...
update Django to address a few open CVEs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-26 14:09:12 +00:00
Ryan Petrello
eaa766df77
update Django to address a few open CVEs
...
https://github.com/advisories/GHSA-hmr4-m2h5-33qx
https://github.com/advisories/GHSA-vfq6-hq5r-27r6
2020-02-26 08:18:14 -05:00
softwarefactory-project-zuul[bot]
7e5776c66f
Merge pull request #6077 from Spredzy/fix_linting
...
awx-api-lint: Fix setup.cfg syntax for linter test
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-26 13:10:21 +00:00
Yanis Guenane
07232f3694
awx-api-lint: Fix setup.cfg syntax for linter test
...
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
2020-02-26 11:07:46 +01:00
softwarefactory-project-zuul[bot]
4912cbd2da
Merge pull request #6046 from rooftopcellist/update_translations_awx
...
add translations from memsource
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-25 23:19:07 +00:00
softwarefactory-project-zuul[bot]
4c40819791
Merge pull request #5965 from benthomasson/improve_awx_kit_error_message
...
Works around bad error message when authentication fails
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-25 23:16:58 +00:00
softwarefactory-project-zuul[bot]
a65fd497c6
Merge pull request #6060 from wenottingham/todo-or-todont
...
Remove the rax support specified in the linked TODO
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-25 23:11:23 +00:00
softwarefactory-project-zuul[bot]
d824209485
Merge pull request #6063 from philipsd6/setuid-brwap-dev
...
Set setuid bit on bwrap in development Dockerfile
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-25 21:07:44 +00:00