Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding 21c6dd6b1e move survey models to mixins, start WFJT launch endpoint 2016-11-08 13:39:09 -05:00
AlanCoding 020144d1ee add surveys on workflow models 2016-11-08 13:39:08 -05:00
Alan Rominger 5a78095e05 Merge pull request #3913 from AlanCoding/reimplement_sjta
Remerge: only allow superusers to start a job from a SystemJobTemplate
2016-11-08 11:06:36 -05:00
Alan Rominger 549274f97b Merge pull request #3909 from AlanCoding/un_db_ify
Remove db access from unit test
2016-11-08 10:21:11 -05:00
AlanCoding c49200a024 remove db access from unit test 2016-11-08 10:12:53 -05:00
Alan Rominger 5a3fa395d6 Merge pull request #3908 from AlanCoding/indent_comment
flake8 fix
2016-11-08 09:42:47 -05:00
AlanCoding 74a118b447 flake8 fix 2016-11-08 09:37:07 -05:00
Alan Rominger 3c60e254b9 Merge pull request #3877 from AlanCoding/related_access
[RBAC] Refactor of ForeignKey access checks
2016-11-08 09:30:15 -05:00
Alan Rominger 6bcd0f5259 Merge pull request #3907 from AlanCoding/rename_migraiton
Rename migration file to use the v prefix
2016-11-08 08:27:43 -05:00
AlanCoding 2d88d9a573 rename migration file to use the v prefix 2016-11-08 08:25:15 -05:00
AlanCoding 9c30058abe improvements to related access unit tests 2016-11-07 17:01:22 -05:00
AlanCoding 2afdc04ac0 cleanup inventory admin access syntax 2016-11-07 11:56:11 -05:00
AlanCoding cae2cdaad8 check related method small fixups 2016-11-07 08:53:04 -05:00
AlanCoding f2846101a3 deal with a special null null case 2016-11-05 14:24:04 -04:00
AlanCoding 2279e1e8dc unit test related field checks, finialize scenarios 2016-11-05 13:45:07 -04:00
AlanCoding 2ddda56f09 expand check_related to polymorphic related fields 2016-11-05 11:01:59 -04:00
AlanCoding db890b5759 interpret absent related field as a unchanged state in permissions check 2016-11-04 22:08:00 -04:00
AlanCoding 5c2c46c5aa Consolidate related field access checks into BaseAccess method 2016-11-04 22:07:59 -04:00
Alan Rominger eaca67af18 Merge pull request #3811 from AlanCoding/ctit_timeout_second_try
Move timeout settings into 3 different settings vars
2016-11-02 15:12:33 -04:00
AlanCoding aaf3a89a64 fixed typo in project timeout setting 2016-11-02 14:59:51 -04:00
AlanCoding 83e31b8618 remove timeout settings example, attach minimum timeout values 2016-11-02 14:59:51 -04:00
AlanCoding de66318381 move timeout settings into 3 different settings vars 2016-11-02 14:59:51 -04:00
Alan Rominger a5aa2df681 Merge pull request #3838 from AlanCoding/wf_dag_prefetch
Keep queries for building WF DAG to a minimum
2016-11-02 14:47:16 -04:00
Alan Rominger 7855d314c5 Merge pull request #3839 from ansible/AlanCoding-patch-4
Remove incorrect use of user capabilities prefetch
2016-11-02 14:42:03 -04:00
Alan Rominger c6bbc63058 flake8 fix from release branch merge 2016-11-02 14:13:16 -04:00
Alan Rominger dd14e51c7c Remove incorrect use of user capabilities prefetch
Connect #3574
2016-11-02 08:10:55 -04:00
Alan Rominger 43fbff7e8c Merge pull request #3813 from AlanCoding/stdout_fix
Fix bug blocking jobs from running
2016-10-31 16:09:36 -04:00
AlanCoding 23af9d6b72 fix bug blocking jobs from running 2016-10-31 14:54:45 -04:00
Alan Rominger f74a3c75de Merge pull request #3794 from AlanCoding/workflow_status_8
Reimplement select workflow status items
2016-10-31 13:36:59 -04:00
AlanCoding 47de8c5963 keep queries for building WF DAG to a minimum 2016-10-28 11:20:25 -04:00
Alan Rominger fb33878d64 Merge pull request #3770 from AlanCoding/playbook_files
Update JT playbook validation for HA
2016-10-27 16:05:09 -04:00
Alan Rominger f406b00b79 Merge pull request #3795 from AlanCoding/timeout_ctit
Add job timeouts to CTiT
2016-10-27 16:00:42 -04:00
Alan Rominger d4f0fd2c50 Merge pull request #3789 from AlanCoding/rm_compat
Delete awx.lib
2016-10-27 15:28:52 -04:00
AlanCoding 3ae5a4b9a8 add job timeouts to CTiT 2016-10-27 13:22:01 -04:00
AlanCoding 6e228248c1 remove fail_on_job_failure from the workflow status PR 2016-10-27 12:58:27 -04:00
AlanCoding a2c972e513 Workflow status original commit 2016-10-27 12:52:07 -04:00
Alan Rominger 88edff521e Merge pull request #3791 from ansible/revert-3711-workflow_status
Revert "Introduce workflow failure condition"
2016-10-27 12:38:13 -04:00
Alan Rominger 76fae6c052 Revert "Introduce workflow failure condition" 2016-10-27 12:21:31 -04:00
AlanCoding 1fec29dcb3 remove awx.compat, since it looks like it is not necessary 2016-10-26 17:22:03 -04:00
Alan Rominger 57b1666abe Merge pull request #3711 from AlanCoding/workflow_status
Introduce workflow failure condition
2016-10-26 16:46:18 -04:00
Alan Rominger 0900c4fbbc Merge pull request #3771 from AlanCoding/job_unit_tests
Make job unit tests pass
2016-10-26 15:55:39 -04:00
AlanCoding 0e99d150bb correct error in workflow unit tests 2016-10-26 10:47:09 -04:00
AlanCoding 6b4737b5f0 more WFJT node docs feedback 2016-10-26 09:53:54 -04:00
AlanCoding 2794d62b4a fix null problem with char_prompts 2016-10-26 09:35:00 -04:00
AlanCoding 8165141210 expand documentation for WFJT node list 2016-10-26 09:28:20 -04:00
AlanCoding 04013e4d9f fix problems with OPTIONS for char_prompts 2016-10-25 16:34:36 -04:00
Alan Rominger 9f15fc3873 fix spelling of disassociated 2016-10-25 11:53:43 -04:00
AlanCoding 836c13f857 bump migration dependency 2016-10-25 09:18:14 -04:00
AlanCoding e0173a5ca2 bump migration file number 2016-10-25 09:16:09 -04:00
AlanCoding 10c847e804 docs feedback for fojf incorporated 2016-10-25 09:14:55 -04:00
AlanCoding 48fc9eb773 update workflow model unit tests 2016-10-25 09:14:55 -04:00
AlanCoding 56a9978d56 Introduce workflow failure condition 2016-10-25 09:14:52 -04:00
AlanCoding 7da6d2978a remove test imports 2016-10-24 21:30:03 -04:00
AlanCoding 3b4b1412fc fix tests for project playbook mocking 2016-10-24 21:04:01 -04:00
AlanCoding bb34ca662f update job unit tests to HA project update changes 2016-10-24 16:45:37 -04:00
AlanCoding 3c24105271 update JT playbook validation for HA 2016-10-24 16:31:33 -04:00
AlanCoding 18cb20ebb6 remove code that checks for local project directory to give status 2016-10-24 12:42:04 -04:00
Alan Rominger 3121839704 only fill scm_revision var if project for job exists 2016-10-24 09:43:17 -04:00
Alan Rominger 88409bcc3e Merge pull request #3713 from AlanCoding/job_can_read
Add can_read method to JobAccess
2016-10-20 14:20:54 -04:00
Alan Rominger 56c8ddd9cb Merge pull request #3724 from AlanCoding/3669
Get node-node sublists to show for Workflow job nodes
2016-10-20 14:18:05 -04:00
Alan Rominger 532ee059ea Merge pull request #3746 from AlanCoding/uwsgi_reload
Hopefully get uwsgi to auto reload
2016-10-20 09:08:34 -04:00
AlanCoding e7f16620bb Attempt to get uwsgi to auto reload 2016-10-19 10:39:17 -04:00
Alan Rominger 4ba8b87065 Merge pull request #3728 from AlanCoding/workflow_labels
Workflow Labels
2016-10-18 08:40:09 -04:00
AlanCoding 41d7bd84a8 implement labels for workflows JT and workflow jobs 2016-10-17 17:38:42 -04:00
AlanCoding f3cbf71457 WFJ node-node relationships should work correctly now 2016-10-17 15:08:06 -04:00
AlanCoding 5e4a4b9722 refactor Job can_read to allow for org admins and auditors to read 2016-10-14 15:52:41 -04:00
AlanCoding 9a44dc4ba0 add can_read method to JobAccess 2016-10-14 15:06:54 -04:00
Alan Rominger 330d3d3f6c Merge pull request #3717 from AlanCoding/flake8_31
flake8 fixes
2016-10-14 10:08:16 -04:00
AlanCoding 8d89d68d5e flake8 fixes for Jenkins 2016-10-14 09:46:41 -04:00
Alan Rominger 1979d63c25 Merge pull request #3708 from AlanCoding/ancestors_PR
Store vars from set_artifact tasks, pipe data through workflows
2016-10-13 15:59:58 -04:00
Alan Rominger 7022edc646 Merge pull request #3701 from AlanCoding/wf_socket
Get workflows and channels to work together
2016-10-13 15:32:43 -04:00
AlanCoding 7472fbae8f insert back in REPLACE_STR import that was lost 2016-10-13 11:05:06 -04:00
AlanCoding 638b07e17b remove yaml and json imports from workflow 2016-10-13 10:47:11 -04:00
AlanCoding ef861e5256 move set_artifact module to its own repository 2016-10-12 17:54:35 -04:00
AlanCoding 5d4cf9d4fc Add job artifacts and workflow artifact passing
artifacts redact from job when no_log is set
parent no_log artifacts treated as survey passwords
2016-10-12 17:45:50 -04:00
AlanCoding 3cfe544ada update workflows to work with new channels implementation 2016-10-12 13:54:13 -04:00
Alan Rominger 7bd19b8e98 Merge pull request #3687 from AlanCoding/wf_fixes
Workflow serializer fixes
2016-10-11 08:39:01 -04:00
AlanCoding 21a04f196c workflow serializer fixes 2016-10-10 17:13:02 -04:00
Alan Rominger cd8aeac5c3 Merge pull request #3644 from AlanCoding/3559_manual_proj
Set `start` capability to False for manual projects
2016-10-06 12:04:35 -04:00
Alan Rominger c1b87baced Merge pull request #3649 from AlanCoding/WJ_license
extend license fix to workflow jobs
2016-10-04 09:41:21 -04:00
AlanCoding e1ace0ba0a extend license fix to workflow jobs 2016-10-03 20:32:11 -04:00
Alan Rominger f23a87e5a0 Merge pull request #3553 from AlanCoding/wf_rbac_prompt
workflows RBAC and prompting
2016-10-03 15:34:47 -04:00
AlanCoding 0154c41eb2 switch to UJT method of creating new jobs 2016-10-03 15:22:15 -04:00
Alan Rominger 03d97792ed Merge pull request #3640 from AlanCoding/3597_start_license
Make validate_license common to all start access checks
2016-10-03 14:13:58 -04:00
AlanCoding d734145c38 start capability to return False for manual projects 2016-10-03 11:41:42 -04:00
AlanCoding 3d38637b2d update migration name 2016-10-03 11:16:08 -04:00
AlanCoding 020c66f6ce make validate_license common to all can_start methods 2016-10-03 10:09:41 -04:00
AlanCoding b2fb7694dc Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-10-03 08:43:05 -04:00
AlanCoding 2faafa8071 Merge branch 'devel' of https://github.com/ansible/ansible-tower into wf_rbac_prompt 2016-09-30 10:06:23 -04:00
AlanCoding 2776a56043 bump migration after another one was merged 2016-09-30 09:03:31 -04:00
Alan Rominger 61fabbd92e Merge pull request #3621 from AlanCoding/3605_relaunch_perm
Involve prompted fields in job relaunch permissions
2016-09-29 17:07:23 -04:00
AlanCoding 115dfac471 do not introspect extra_vars, speed up tests, add base case test 2016-09-29 16:42:41 -04:00
AlanCoding f82b10f018 Job relaunch permissions made consistent with JT prompts 2016-09-29 13:35:47 -04:00
Alan Rominger e8903456f8 Merge pull request #3616 from AlanCoding/capabilities_fixes
Fixes to user_capabilities from QE bugs
2016-09-28 16:29:42 -04:00
Alan Rominger 29308b08f0 Merge pull request #3571 from AlanCoding/3570_user_self_access_list
Fix user access_list bug
2016-09-28 16:20:04 -04:00
AlanCoding 2f205a6862 show capabilities on launch and relaunch, remove unintended capabilities 2016-09-28 16:02:00 -04:00
AlanCoding 37270bfb13 block system JT from being used in workflows 2016-09-28 15:14:27 -04:00
AlanCoding 78fc6df59d fix up the PATCH scenario with the char_prompts in WFJT node 2016-09-28 15:02:05 -04:00
AlanCoding 8036e294dd move vars validation method into validators.py 2016-09-28 09:49:17 -04:00
AlanCoding 166053e0eb Merge branch 'devel' into wf_rbac_prompt 2016-09-28 09:10:13 -04:00