Commit Graph

529 Commits

Author SHA1 Message Date
AlanCoding
edda2beded apply optimization to avoid query for count of JT labels 2016-11-11 08:26:03 -05:00
Aaron Tan
5c5d1b7748 Enable notification endpoints. 2016-11-08 15:53:37 -05:00
AlanCoding
a87a56f518 workflow JT survey and launch serializer in functional state 2016-11-08 13:39:10 -05:00
AlanCoding
8ff671bfd6 finish editing the WFJT launch validate method 2016-11-08 13:39:09 -05:00
AlanCoding
9b7d046cec move job tests to new survey testing file 2016-11-08 13:39:09 -05:00
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
Aaron Tan
1a960229d7 Basic architecture added. 2016-11-08 11:31:06 -05:00
Aaron Tan
428447a22a Merge pull request #3891 from jangsutsr/3517_implement_workflow_schedules
Implement workflow JT schedule
2016-11-07 16:31:03 -05:00
Aaron Tan
91986d904a Fix project serializer timeout field misplacement. 2016-11-07 11:58:56 -05:00
Aaron Tan
45df199703 Implement workflow JT schedule. 2016-11-07 11:37:11 -05:00
sundeep-co-in
4237b2e207 resolve conflict: index.html 2016-10-31 23:40:56 +05:30
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
Chris Church
c18b6c1352 Add support for capturing stdout associated with job events and ad hoc command events.
* New event types for stdout lines not associated with a callback event.
* New stdout, start_line, end_line and verbosity fields for job/ahc events.
* Callback plugins to wrap Ansible default/minimal stdout callbacks and embed callback event data using ANSI escape sequences.
* Callback plugin library to wrap ansible.display.Display class methods.
* Output filter to extract event data from stdout and create job/ahc events.
* Update stdout formats to strip new ANSI escape sequences.
2016-10-28 21:58:24 -04:00
sundeep-co-in
d65e121b19 flake8 compliance 2016-10-28 14:07:08 +05:30
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
AlanCoding
6e228248c1 remove fail_on_job_failure from the workflow status PR 2016-10-27 12:58:27 -04:00
sundeep-co-in
e908bc34e6 Merge branch 'devel' of https://github.com/sundeep-co-in/ansible-tower into STAGE 2016-10-27 22:23:39 +05:30
AlanCoding
a2c972e513 Workflow status original commit 2016-10-27 12:52:07 -04:00
Alan Rominger
76fae6c052 Revert "Introduce workflow failure condition" 2016-10-27 12:21:31 -04:00
Aaron Tan
432242bdd2 Null check added. 2016-10-27 11:20:45 -04:00
sundeep-co-in
c1a5fb3312 resolve conflict 2016-10-27 08:13:02 +05:30
Aaron Tan
7c9e1c91db Ensure workflow_job_template being set during node creation. 2016-10-26 15:52:49 -04:00
AlanCoding
0e99d150bb correct error in workflow unit tests 2016-10-26 10:47:09 -04:00
AlanCoding
2794d62b4a fix null problem with char_prompts 2016-10-26 09:35:00 -04:00
AlanCoding
04013e4d9f fix problems with OPTIONS for char_prompts 2016-10-25 16:34:36 -04:00
AlanCoding
10c847e804 docs feedback for fojf incorporated 2016-10-25 09:14:55 -04:00
AlanCoding
56a9978d56 Introduce workflow failure condition 2016-10-25 09:14:52 -04:00
sundeep-co-in
d7b3b90f4d update strings 2016-10-25 16:12:41 +05:30
AlanCoding
3c24105271 update JT playbook validation for HA 2016-10-24 16:31:33 -04:00
Matthew Jones
7c7d2e37ed Fix some issues syncing playbooks
* Build a list of playbooks and store it in the database at sync time
* Fix an issue running playbook sync on jobs for scan jobs
* Remove a TODO that was unneeded
2016-10-24 11:32:21 -04:00
Matthew Jones
6e22460f1e Add scm revision to the job model
This also cleans up flake8 issues
2016-10-20 15:18:05 -04:00
Matthew Jones
e6bcc039f2 Rearchitect project update strategy
* Instead of using a fanout for project updates initial project
  updates will sync the latest commit hash
* Prior to a node running a job it will ensure that the latest project
  is synced
2016-10-20 13:30:44 -04:00
Matthew Jones
b906469b40 Add execution node information 2016-10-20 13:27:36 -04:00
Aaron Tan
22329e5b72 Merge pull request #3502 from jangsutsr/2363_implement_job_timeout
Implement job timeout
2016-10-19 23:54:51 -04:00
sundeep-co-in
78a8ce9479 django i18n 2016-10-18 18:10:39 +05:30
AlanCoding
41d7bd84a8 implement labels for workflows JT and workflow jobs 2016-10-17 17:38:42 -04:00
Aaron Tan
701c23171f Remove timeout fields from sys job & adhoc cmd. 2016-10-17 16:56:39 -04:00
Aaron Tan
2eda6b9528 Implement timeout on other unified jobs/JTs. 2016-10-17 16:56:39 -04:00
Aaron Tan
d52e237ea0 Implement timeout on job/job-template. 2016-10-17 16:56:39 -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
21a04f196c workflow serializer fixes 2016-10-10 17:13:02 -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
Chris Meyers
649bf08edf add workflow root endpoints 2016-10-03 08:15:39 -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
Chris Meyers
9cafebd8db remove job to jt allow_simultaneous dependency
* Foreshadowing of what's to come with the task manager. When deciding
on what job to run in our task manager, we can't depend on job template
fields. Otherwise, this would cost us a query.
2016-09-29 16:19:19 -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