Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding b790b50a1a Fail job run if project is failed
provide message in traceback and explanation fields

add log messages for dependency spawns
2018-11-20 07:55:37 -05:00
AlanCoding 9cd8aa1667 further update of workflow docs for inventory feature 2018-11-19 17:35:39 -05:00
AlanCoding bca9bcf6dd fix prompts contradiction: should be non-functional change 2018-11-19 12:52:54 -05:00
AlanCoding e0a28e32eb Tweak of error message wording for model-specific name 2018-11-19 12:52:47 -05:00
AlanCoding c105885c7b Do not count template variables as prompted 2018-11-19 12:52:43 -05:00
AlanCoding c1d85f568c fix survey vars bug and inventory defaults display 2018-11-19 12:52:35 -05:00
AlanCoding 7178fb83b0 migration number bumped again 2018-11-19 12:51:51 -05:00
AlanCoding 3c980d373c bump migration number 2018-11-19 12:51:37 -05:00
AlanCoding 5b3ce1e999 add test for WFJT schedule inventory prompting 2018-11-19 12:51:33 -05:00
AlanCoding 6d4469ebbd handle inventory for WFJT editing RBAC 2018-11-19 12:51:29 -05:00
AlanCoding eb58a6cc0e add test for launching with deleted inventory 2018-11-19 12:51:26 -05:00
AlanCoding a60401abb9 fix bug with WFJT launch validation 2018-11-19 12:51:22 -05:00
AlanCoding 1203c8c0ee feature docs for workflow-level inventory 2018-11-19 12:51:18 -05:00
AlanCoding 0c52d17951 fix bug, handle RBAC, add test 2018-11-19 12:51:13 -05:00
AlanCoding 44fa3b18a9 Adjust prompt logic and views to accept workflow inventory 2018-11-19 12:50:57 -05:00
AlanCoding 33328c4ad7 initial model changes for workflow inventory 2018-11-19 12:50:29 -05:00
AlanCoding 5b274cfc2a include survey_spec in activity stream 2018-11-19 12:07:48 -05:00
AlanCoding 0ed50b380a Implement deprecation of groups_with_active_failures 2018-11-19 08:29:46 -05:00
AlanCoding 53716a4c5a include migration middleware in timings and profiling 2018-11-18 10:55:37 -05:00
AlanCoding f30bbad07d License check for slicing >1 2018-11-17 22:48:46 -05:00
AlanCoding 7417f9925f Minor cleanup of task environment vars 2018-11-16 13:28:42 -05:00
AlanCoding a9d88f728d Pre-delete bulk delete related, fix parallel request conflicts 2018-11-15 11:39:48 -05:00
AlanCoding 758a488aee Add task manager rescheduling hooks, de-duplication, lifecycle tests 2018-11-14 11:31:34 -05:00
AlanCoding 5443e10697 Fix bug with non-sliced JT job spawn 2018-11-13 15:20:40 -05:00
AlanCoding cee7ac9511 get rid of star import in unified_jobs.py 2018-11-12 13:38:58 -05:00
AlanCoding 658f87953e coalesce data without setting 2018-11-09 14:00:45 -05:00
AlanCoding 5562e636ea Coalesce host and group A.S. deletion entries 2018-11-09 13:58:31 -05:00
AlanCoding 1bed5d4af2 avoid nested on_commit use 2018-11-07 13:22:41 -05:00
AlanCoding 0783d86c6c adjust recursion error text 2018-11-07 13:22:41 -05:00
AlanCoding d068481aec link workflow job node based on job type, not UJT type 2018-11-07 13:22:40 -05:00
AlanCoding 4428dbf1ff Allow use of role_level filter in UJT list 2018-11-07 13:22:39 -05:00
AlanCoding e225489f43 workflows-in-workflows add docs and tests 2018-11-07 13:22:39 -05:00
AlanCoding 5169fe3484 safeguard against infinite loop if jobs have cycles 2018-11-07 13:22:38 -05:00
AlanCoding 01d1470544 workflow variables processing, recursion detection 2018-11-07 13:22:38 -05:00
AlanCoding faa6ee47c5 allow use of workflows in workflows 2018-11-07 13:22:38 -05:00
AlanCoding 951ebf146a remove unused project field 2018-11-05 10:40:53 -05:00
AlanCoding 7a67e0f3d6 Implement deprecation of duplicated ask_ fields in job view 2018-11-05 10:38:55 -05:00
AlanCoding 6ae1e156c8 do not block superusers with MANAGE_ORGANIZATION_AUTH setting 2018-11-02 14:13:05 -04:00
AlanCoding 47fc0a759f fix bug where grandparent groups were excluded 2018-11-02 10:10:38 -04:00
AlanCoding d8d710a83d get rid of decorator dependency 2018-10-31 11:37:10 -04:00
AlanCoding f435e577b2 Adjust slicing tooltip text 2018-10-31 11:04:14 -04:00
AlanCoding 236b332a8b bump migration number 2018-10-31 11:04:13 -04:00
AlanCoding affacb8ab5 revert change of including slice wfj ids in recent_jobs list 2018-10-31 11:04:13 -04:00
AlanCoding 37f9024940 fix slicing task_impact and script gen bugs 2018-10-31 11:04:13 -04:00
AlanCoding 6dc58af8e1 slicing rename test cleanup and bugfix 2018-10-31 11:04:12 -04:00
AlanCoding bbd3edba47 rename to slicing and schema tweaks 2018-10-31 11:04:12 -04:00
AlanCoding 475a701f78 Allow use of credential password prompting with split JTs
also
*update test to work with new JT callback call pattern
*fix spelling in template
2018-10-31 11:04:11 -04:00
AlanCoding dccd7f2e9d do not split JT callback jobs 2018-10-31 11:04:11 -04:00
AlanCoding c8d76dbe78 update migration after rebase 2018-10-31 11:04:11 -04:00
AlanCoding 20226f8984 Polish split jobs API info & add fields to UI
*clarify help text and squash migrations
*adds new internal_limit field to Job model for faster reference
*if field is non-blank, populate shard params in summary_fields
*add summary information to UI job/wfj details, JT selector
2018-10-31 11:04:10 -04:00
AlanCoding 7ff04dafd3 Fix IntegrityError deleting job splitting JT
misc:
*show sharded jobs in recent_jobs
*test updates
2018-10-31 11:04:10 -04:00
AlanCoding f9bdb1da15 Job splitting access logic and more feature development
*allow sharding with prompts and schedules
*modify create_unified_job contract to pass class & parent_field name
*make parent field name instance method & set sharded UJT field
*access methods made compatible with job sharding
*move shard job special logic from task manager to workflows
*save sharded job prompts to workflow job exclusively
*allow using sharded jobs in workflows
2018-10-31 11:04:10 -04:00
AlanCoding dab678c5cc Implement splitting logic in inventory & job task code 2018-10-31 11:04:10 -04:00
AlanCoding e513f8fe31 do 2-pass cancel for workflow jobs 2018-10-26 10:28:30 -04:00
AlanCoding 482395eb6a reduce default verbosity of devel-specific callback logging 2018-10-26 10:03:46 -04:00
AlanCoding 19030b9d5f apply docker-compose fix to cluster target too 2018-10-26 09:36:11 -04:00
AlanCoding 526ca3ae42 automatically delete project files in entire cluster 2018-10-25 16:36:58 -04:00
AlanCoding 8965f1934e fix bug with relaunching with changed JT 2018-10-25 11:45:47 -04:00
AlanCoding 8b3e49cb24 fix server error using 2 creds of same type 2018-10-24 14:59:01 -04:00
AlanCoding 72ce7b194f allow UI to filter by type again 2018-10-24 13:35:04 -04:00
AlanCoding 6117f8297e remove changelog 2018-10-18 09:52:08 -04:00
AlanCoding cfa93b52b7 Always allow resource creation via global list 2018-10-11 12:21:45 -04:00
AlanCoding bdc7efb274 humble beginnings of survey question type validation 2018-10-11 12:10:40 -04:00
AlanCoding a4dfd96a8d Validate ANSIBLE_ injectors on save and increase verbosity 2018-10-09 13:46:51 -04:00
Alan Rominger 2d642b95ae Merge pull request #2369 from AlanCoding/flake8_setup
Fix flake8 errors in setup.py
2018-10-04 12:45:34 -04:00
AlanCoding b94d5c7f20 fix flake8 errors in setup.py 2018-10-04 12:25:07 -04:00
AlanCoding 5900af726b log no-op operation and changed status 2018-09-21 15:23:02 -04:00
Alan Rominger 50a9f0be6b Merge pull request #2960 from AlanCoding/bad_locks
Put atomic block inside lock block
2018-08-30 14:53:01 -04:00
AlanCoding 786e907e3b put atomic block inside lock block 2018-08-30 12:54:53 -04:00
Alan Rominger f175d6dfae Merge pull request #2931 from AlanCoding/more_licenses_yay
Add missing API licenses
2018-08-30 08:09:51 -04:00
Alan Rominger b742746e5d Merge pull request #2928 from AlanCoding/even_more_diff
Prefetch prior list of instances at start of policy calc task
2018-08-24 16:44:08 -04:00
AlanCoding 74fc0fef04 Manually pin reference list at start of pg_lock block 2018-08-24 15:28:28 -04:00
AlanCoding bb8025c1af add missing API licenses 2018-08-24 15:16:56 -04:00
Alan Rominger b35d6b7425 Merge pull request #2911 from AlanCoding/mo_text
Document inventory script towervars
2018-08-23 09:18:36 -04:00
AlanCoding a3d0e10f51 remove added-in tags that reference old AWX 2018-08-22 15:17:47 -04:00
AlanCoding 5e8f7b76f1 document inventory script towervars 2018-08-22 15:16:39 -04:00
Alan Rominger 598449c2ce Merge pull request #2882 from AlanCoding/just_credential2
[option2] move inventory source vault credential validation from view to model
2018-08-21 13:24:50 -04:00
Alan Rominger ee139b306c Merge pull request #2881 from AlanCoding/log_cul_de_sacs
Change loggers from non-propagating to INFO filter
2018-08-21 07:36:52 -04:00
AlanCoding 3f841180da Change loggers from non-propagating to INFO filter 2018-08-20 09:02:55 -04:00
AlanCoding 9a85578925 move inv src vault cred validation from view to model 2018-08-20 08:53:55 -04:00
Alan Rominger fad568c960 Merge pull request #2801 from AlanCoding/register_queue
Only add instances to policy list via CLI command
2018-08-09 10:43:21 -04:00
AlanCoding df05cff850 only add instances to policy list via CLI command 2018-08-09 09:32:09 -04:00
AlanCoding 7aa7cc1c98 add current workflow job to running list 2018-08-08 07:49:02 -04:00
Alan Rominger c2f60f35b4 Merge pull request #2733 from AlanCoding/policy_changes_test
Apply policy task more selectively
2018-08-03 10:59:53 -04:00
AlanCoding a99ebbb02f Apply policy task more selectively 2018-08-03 06:56:15 -04:00
Alan Rominger 0c0d5d4eba Merge pull request #2719 from AlanCoding/differential_policy
Apply policy results differentially
2018-07-31 16:25:14 -04:00
Alan Rominger 9ff249f5c4 Merge pull request #2438 from AlanCoding/ask_user_input_creds
Ask user input if credential prompting enabled
2018-07-31 15:48:19 -04:00
AlanCoding 8eaae97768 Apply policy results differentially
This avoids client-side scripting problems
where they grab the instance list during the
re-calculation which leads to incorrect assumptions
2018-07-31 15:03:36 -04:00
Alan Rominger 0004c42f6d Merge pull request #2628 from AlanCoding/all_projects
Apply lock file to all project updates
2018-07-31 10:36:12 -04:00
Alan Rominger ebfae01aaa Merge pull request #2712 from AlanCoding/easy_way
[openstack option 2] cherry pick only openstack critical fix for empty group
2018-07-30 19:23:08 -04:00
AlanCoding 415f91dca0 cherry pick only openstack critical fix for empty group 2018-07-30 11:35:21 -04:00
Alan Rominger 979eaeddfa Merge pull request #2687 from AlanCoding/play_nice
fix conflicting migrations
2018-07-26 10:45:08 -04:00
AlanCoding d1b89815f7 fix conflicting migrations 2018-07-26 10:38:26 -04:00
Alan Rominger e96706b2fa Merge pull request #2090 from christoph-kluge/patch-1
Upgrade ansible-tower-cli if it was preinstalled
2018-07-26 09:26:13 -04:00
Alan Rominger 5a7119759a Merge pull request #2672 from AlanCoding/popin_locking
Lock IG for updating list
2018-07-25 15:48:41 -04:00
AlanCoding 39cb9f2652 lock IG for updating list 2018-07-25 11:08:40 -04:00
Alan Rominger f0252f67dc Merge pull request #2625 from AlanCoding/just_role
Write special cases for object_association field
2018-07-24 07:46:22 -04:00
Alan Rominger 4c023d21af Merge pull request #2639 from AlanCoding/cool_as_isolated
Disallow adding or removing instance from iso-IG
2018-07-23 15:57:23 -04:00
AlanCoding 6d305c60d5 Disallow adding or removing instance from iso-IG 2018-07-23 15:39:30 -04:00
Alan Rominger c878c027f5 Merge pull request #2631 from AlanCoding/host_dne
Handle does-not-exist errors in JobHostSummary unicode method
2018-07-23 10:37:37 -04:00