AlanCoding
5c331934e2
Fix server error creating smart inventories
2020-03-10 22:00:31 -04:00
AlanCoding
54b553b78c
Simplify syntax for loop labels
2020-03-04 08:07:10 -05:00
AlanCoding
3e08bbeb93
Make wording on running less perscriptive and more general
2020-03-04 07:42:52 -05:00
AlanCoding
22524589e3
Employ the collection_package var in a few missing places
2020-03-03 22:19:38 -05:00
AlanCoding
85ec73bf4b
Unify collection targets for install and ansible-test
2020-03-03 20:19:41 -05:00
AlanCoding
07807c2dec
Fail on launch for scenario where job cannot run
2020-03-02 13:14:03 -05:00
AlanCoding
5dba49a7bc
Lower level of log about skipped project update
2020-02-27 14:20:36 -05:00
AlanCoding
7b880c6552
Cancel jobs if they were deleted in the database
2020-02-27 14:12:47 -05:00
AlanCoding
c5079607aa
Fail early processing project factory
2020-02-26 14:21:38 -05: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
AlanCoding
866dd6b259
Make job batch size configurable, fix _by fields
2020-02-21 14:49:45 -05:00
AlanCoding
06eb1b6683
Randomize JT for each job batch
...
Populate some more fields just to have them populated
Include some missing ForeignKey links for data integrity
Add some more to fields from JT set
2020-02-20 22:49:11 -05:00
AlanCoding
d62994ec02
Update metadata for the AWX collection
2020-02-20 22:36:55 -05:00
AlanCoding
a5e3d9558f
Handle case of deleted inventory
2020-02-13 08:29:52 -05:00
AlanCoding
3172176940
By default, give status code in exception representation
2020-02-11 13:08:20 -05:00
AlanCoding
e59cb07064
Add wording for control message log
2020-02-11 10:01:25 -05:00
AlanCoding
0234df055d
Raise errors with public galaxy setting early
2020-02-11 09:46:07 -05:00
AlanCoding
519956f779
Remove argument no longer accepted by computed fields task
2020-02-11 08:55:56 -05:00
AlanCoding
1558c6f942
Bump openstacksdk version
2020-02-05 11:31:24 -05:00
AlanCoding
3bbce18173
Remove computed fields artifacts no longer used
...
Remove deleted field from notification payload
2020-02-04 20:23:37 -05:00
AlanCoding
d2289fe9c6
add pycurl to container images
2020-02-04 14:41:51 -05:00
AlanCoding
d759aff4e9
Do not allow state where no Galaxy servers are enabled
2020-01-28 16:01:55 -05:00
AlanCoding
a94b30be9f
Reduce logging complexity with setting DB errors
2020-01-27 18:08:09 -05:00
AlanCoding
5db6906212
pin zipp to avoid setuptools upgrade
2020-01-20 13:39:48 -05:00
AlanCoding
ceed6f8d9b
Allow CTiT log level to log bulk_create lines
2020-01-20 12:41:10 -05:00
AlanCoding
b0722311e8
dDo not apply distinct for series of only static fields
2020-01-16 14:36:38 -05:00
AlanCoding
9a420820eb
Remove event hosts relationship
...
and parent event-event ForeignKey relationship
2020-01-16 08:44:36 -05:00
AlanCoding
b9b6dad0b3
Add test for deprecated vault_credential
2020-01-15 09:44:28 -05:00
AlanCoding
eec08fdcca
Log case of duplicate UUIDs
2020-01-09 07:31:32 -05:00
AlanCoding
18bb910e33
Fallback to globals for these tests
2020-01-07 17:14:34 -06:00
AlanCoding
ca8dcced8b
update paramiko source
2020-01-07 17:14:34 -06:00
AlanCoding
0b9b8832a8
Get rid of hacks to simplify process
...
Remove poetry and wheel from bootstrap installs
Cleanup some docs around them
2020-01-07 17:14:34 -06:00
AlanCoding
271b3f00b7
Attempts to simplify build environment
...
Remove build isolation flag
Do not use --ignore-installed for any pip install commands
Add Makefile comments
do not use system site packages for awx venv
Consolidate bootstrap pins
Do another upgrade, properly document wheel
2020-01-07 17:14:33 -06:00
AlanCoding
477f566da0
Bump Django version which recently updated
2020-01-07 17:14:33 -06:00
AlanCoding
a2acf4d61f
Back off setuptools version due to allow_hosts option error
2020-01-07 17:14:33 -06:00
AlanCoding
3dc8c789fb
Avoid system site packages and add more setup things
2020-01-07 17:14:33 -06:00
AlanCoding
807f4ea757
Remove incorrect activity stream entries related to managed types
2020-01-02 11:37:33 -05:00
AlanCoding
8d4425f056
Revert "Reduce API response times by caching migration flag"
...
This reverts commit 5433af6716 .
2020-01-02 09:08:51 -05:00
AlanCoding
1f46878652
Revert "Apply migration flag check to task manager"
...
This reverts commit a0910eb6de .
2020-01-02 09:08:17 -05:00
AlanCoding
a0910eb6de
Apply migration flag check to task manager
2019-12-15 22:56:57 -05:00
AlanCoding
5433af6716
Reduce API response times by caching migration flag
2019-12-15 22:56:57 -05:00
Alan Rominger
266a4e71c5
Merge pull request #4027 from AlanCoding/ryan_hosts_36
...
[alan] use a computed inventory field for task impact math
2019-12-09 14:51:02 -05:00
AlanCoding
be5a12a318
Compute fields in smart task_impact tests
2019-12-09 11:46:12 -05:00
AlanCoding
dfc4a0c0e0
Compute fields in smart task_impact tests
2019-12-09 10:59:59 -05:00
AlanCoding
55a19ffe6a
Fix project sync errors when project branch is commit
2019-12-06 13:04:04 -05:00
AlanCoding
419d32d3e3
Fix project sync errors when project branch is commit
2019-12-05 14:26:24 -05:00
AlanCoding
922ea67541
Fix situation were error happened before lock was released
2019-12-05 10:41:23 -05:00
AlanCoding
695eab1fdd
fix duplicate exception sanity error
2019-11-26 09:47:07 -05:00
AlanCoding
081a0fc04e
fix other assorted sanity failures
2019-11-26 09:45:54 -05:00
AlanCoding
48f10669d6
fix duplicate exception sanity error
2019-11-26 09:39:05 -05:00
AlanCoding
1a85874964
Raise specific exception if migration in progress
2019-11-25 21:48:05 -05:00
AlanCoding
9c86f521e9
Add notes for ./upgrade.sh
2019-11-21 15:52:47 -05:00
AlanCoding
5e24cee0ae
Add custom_virtualenv param to inventory source and tests
2019-11-20 22:39:12 -05:00
Alan Rominger
8e7d607a47
Only turn off Galaxy cert verification via toggle ( #3933 )
2019-11-19 08:54:40 -05:00
AlanCoding
7b1b656455
Remove forks no longer needed from dependencies
2019-11-18 15:39:39 -05:00
AlanCoding
ddf9fd581e
Run and fix all sanity tests
2019-11-14 20:56:06 -05:00
AlanCoding
35a565d09f
In tower_job_wait intentionally fail module for failure
2019-11-14 20:56:05 -05:00
AlanCoding
b878aed400
Add test coverage for launch with multiple prompted creds
2019-11-14 20:56:04 -05:00
AlanCoding
1961a8ba15
Fix and test for warning when creating project
2019-11-14 20:56:04 -05:00
AlanCoding
a40398e6a1
Remove sanity exceptions no longer needed
2019-11-14 20:56:03 -05:00
AlanCoding
97e2fbbe27
Add collection test coverage for creating vault credential
2019-11-14 20:56:03 -05:00
AlanCoding
1c74773eac
Delay inputs comparision to after field validation
2019-11-14 20:28:33 -05:00
AlanCoding
1402a2c8a5
Run and fix all sanity tests
2019-11-14 14:45:16 -05:00
AlanCoding
f64d0dde5a
Use tags to reduce project update output
...
Handle folder deletion as tag
remove -v use by default
Change meaning of roles_enabled playbook var to
value of AWX global setting
2019-11-12 12:52:39 -05:00
AlanCoding
c96e88877f
Add ignore list for Ansible 2.10
2019-11-11 22:07:22 -05:00
AlanCoding
c4b4a4c21a
Remove venv symlink hack no longer needed
2019-11-01 09:46:27 -04:00
Alan Rominger
871d87374b
Only turn off Galaxy cert verification via toggle ( #3933 )
2019-10-31 22:56:48 -04: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
0160dbe8bc
Remove sanity exceptions no longer needed
2019-10-30 12:56:36 -04:00
AlanCoding
59e1c6d492
Add collection test coverage for creating vault credential
2019-10-29 15:34:32 -04:00
AlanCoding
cf168b27d2
apply username ordering to more views
2019-10-29 14:20:33 -04:00
Alan Rominger
98d3f3dc8a
Add tests for AWX collection credential fixes ( #3893 )
2019-10-29 11:24:16 -04:00
AlanCoding
1bdae2d1f7
Fully rely on error ignoring for sanity rel imports
2019-10-29 11:24:16 -04:00
AlanCoding
2bc2e26cc7
Ignore import errors due to bugs in Ansible core
2019-10-29 11:24:16 -04:00
AlanCoding
5010602e6b
add release note
2019-10-29 11:24:16 -04:00
AlanCoding
c103a813bf
declare types in Ansible Tower module options
2019-10-29 11:24:16 -04:00
AlanCoding
e097bc61c8
New target for sanity testing of the collection
...
Do not run in Zuul
2019-10-29 11:24:15 -04:00
Alan Rominger
acba5306c6
Fix bug where SCM inventory did not have a collections destination ( #3795 )
...
* update inventory path to be in tmp project clone
* copy project folder for inventory scm launch type
* Optionally accept inventory collection paths from ansible.cfg
2019-10-29 11:24:14 -04:00
Alan Rominger
3f49d2c455
RBAC relaunch 403 updates ( #3835 )
...
* RBAC relaunch 403 updates
Addresses 2 things
1. If WFJ relaunch is attempted, and relaunch is denied
because the WFJ had encrypted survey answers,
a generic message was shown, this changes it to show
a specific error message
2. Org admins are banned from relaunching a job
if the job has encrypted survey answers
* update tests to raises access pattern
* catch PermissionDenied for user_capabilities
2019-10-29 11:24:12 -04:00
Alan Rominger
a0fb9bef3a
Disable activity stream and speed up host group bulk deletion ( #3817 )
2019-10-29 11:24:12 -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
Alan Rominger
3cab73c574
Add tests for AWX collection credential fixes ( #3893 )
2019-10-28 09:58:00 -04:00
AlanCoding
a6404bdd0d
Move development PROJECTS_ROOT
2019-10-25 15:48:07 -04:00
AlanCoding
609528e8a3
Fix bug: WFJT-type node YAML vars broke task manager
2019-10-25 11:41:58 -04:00
AlanCoding
e40f29092b
Fully rely on error ignoring for sanity rel imports
2019-10-24 15:10:38 -04:00
AlanCoding
b394862210
Ignore import errors due to bugs in Ansible core
2019-10-24 14:58:55 -04:00
AlanCoding
0434c611f0
add release note
2019-10-24 14:50:45 -04:00
AlanCoding
201ae5f948
declare types in Ansible Tower module options
2019-10-24 14:50:45 -04:00
AlanCoding
9d93b78296
New target for sanity testing of the collection
...
Do not run in Zuul
2019-10-24 14:50:44 -04:00
Alan Rominger
8f5d25a5df
Fix bug where SCM inventory did not have a collections destination ( #3795 )
...
* update inventory path to be in tmp project clone
* copy project folder for inventory scm launch type
* Optionally accept inventory collection paths from ansible.cfg
2019-10-23 19:26:10 -04:00
Alan Rominger
653ec0ffab
RBAC relaunch 403 updates ( #3835 )
...
* RBAC relaunch 403 updates
Addresses 2 things
1. If WFJ relaunch is attempted, and relaunch is denied
because the WFJ had encrypted survey answers,
a generic message was shown, this changes it to show
a specific error message
2. Org admins are banned from relaunching a job
if the job has encrypted survey answers
* update tests to raises access pattern
* catch PermissionDenied for user_capabilities
2019-10-23 10:59:35 -04:00
Alan Rominger
28228a3b57
Disable activity stream and speed up host group bulk deletion ( #3817 )
2019-10-23 08:25:00 -04:00
Alan Rominger
fb67b8edf9
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-22 14:39:27 -04:00
AlanCoding
86ef81cebf
API deprecation of inventory script views
2019-10-16 09:34:21 -04:00
AlanCoding
2123092bdc
Avoid unnecessary OPTIONS redirect
2019-10-16 09:08:22 -04:00