Commit Graph
229 Commits
Author SHA1 Message Date
Chris Church 4ee092152b Fix intermediate migrations to reflect modifications to 0055_v210_changes. 2014-12-16 18:02:04 -05:00
Matthew Jones 2ef4ee0987 Change up older custom inventory script migration to not set unique on
the name field
2014-12-11 13:26:41 -05:00
Matthew Jones ff2c82ce72 Include the migration for the custom inventory script change to support
activity stream
2014-12-10 11:34:08 -05:00
Matthew Jones c04ac45296 Add a unique constraint on 'name' and 'organization' for the custom scripts 2014-12-08 15:49:45 -05:00
Matthew Jones 19c0d04885 Adding organization reference to the custom inventory script 2014-12-03 15:05:44 -05:00
Luke Sneeringer d6699353e5 Save hostnames, not IP addresses, for HA. 2014-12-02 10:34:25 -06:00
Chris Church 35c392ab17 Add instance filters and group by options for EC2 inventory sources. Implements https://trello.com/c/QOVhP0mH 2014-11-26 03:20:45 -05:00
Matthew Jones 309dba9693 Wording changes for the system job descriptions as proposed by @mpdehaan 2014-11-10 13:58:29 -05:00
Matthew Jones ede6142cea New permission for users and teams that allow creating job templates,
this makes Deployment permissions more granular.  Includes unit tests
and a migration to promote existing "run" permissions to "create".

Also some slight doc updates to denote that this implies "run" and "check"
2014-10-31 15:04:46 -04:00
Matthew Jones 08fc24c9e5 Create data migration for new system job templates and revise endpoints 2014-10-28 15:34:47 -04:00
Luke Sneeringer fa82ed56e2 Adding Instance/JobOrigin migration 2014-10-20 10:43:08 -05:00
Luke Sneeringer 4045a1e4fa Migration, again! :) 2014-10-20 08:46:39 -05:00
Luke Sneeringer 841d5ab085 Merging migrations sucks. 2014-10-20 08:05:30 -05:00
Luke Sneeringer 1bdd1f4c34 Remove migration...again. 2014-10-20 08:05:30 -05:00
Luke Sneeringer b18303be20 Readd migration for instances and job origins. 2014-10-20 08:05:29 -05:00
Luke Sneeringer ec7aa1867f Adding JobOrigin model and migration. 2014-10-20 08:04:16 -05:00
Luke Sneeringer 072ab2118f Instance model (for HA) 2014-10-20 08:04:15 -05:00
Matthew Jones 103929c9ee Allow passing variables with schedules to support extra data on system jobs 2014-10-17 14:41:00 -04:00
Matthew Jones fbf9a4957e Initial system job implementation 2014-10-14 11:11:17 -04:00
Matthew Jones 8848cbfa1e Add schema migration of custom inventory scripts and related fields 2014-10-01 09:54:12 -04:00
Chris Church e427234aec Implements https://trello.com/c/bEMQtVjz - API/UI changes to support su username/password. Adds force_handlers, skip_tasks and start_at_task options to jobs, only exposed via API. 2014-09-11 17:34:38 -04:00
Luke Sneeringer c6d374d12a Add autocommit to migration 36 if it's off. 2014-09-10 15:07:30 -05:00
Matthew Jones 514cd4a1db Initial api side implementation of the survey spec 2014-09-09 11:08:40 -04:00
Matthew Jones bdd4290fe7 Create some useful indexes based on UI consideration and overall tower
usage and performance needs
2014-09-08 15:17:03 -04:00
Matthew Jones 3f54778111 Add index on counter 2014-08-19 16:03:48 -04:00
Matthew Jones 046561ecaa add counter to jobevent object sourced from callback ansible plugin 2014-08-19 15:50:41 -04:00
Luke Sneeringer dd35df7255 Adding project to credentials. 2014-07-25 11:12:11 -05:00
Luke Sneeringer 7789ccd3eb Ability to add VMWare host. 2014-07-16 16:43:17 -04:00
Chris Church 4f33a01b02 Removed print statement that was just printing 'JHS: Host: Host object' for every object when running migration. 2014-07-14 18:33:21 -04:00
Matthew Jones f56a8c16b0 Give a distinct hostname to satisfy the new unique constraint for job
host summary, show that it is derived from a removed host
2014-07-14 16:08:10 -04:00
Matthew Jones 6ee61d6c72 Make it to where we can track JobHostSummary objects for hosts that don't necessarily exist in inventory 2014-07-14 15:34:46 -04:00
Matthew Jones f93e60979f Add a host_name field to JobHostSummary and migrate to it, so we have at
least that information in job data if the host has been removed
2014-07-11 16:03:14 -04:00
Matthew Jones c7ed154149 Implement AC-1279, rename vars_prompt_on_launch to ask_variables_on_launch
Conflicts:
	awx/main/models/jobs.py
2014-05-15 10:26:11 -04:00
Matthew Jones 69aa991499 Check for null attributes related to an inventory update when performing
the name migration
2014-05-14 23:03:46 -04:00
Matthew Jones 89b034b5b8 Data migration for AC-1164, make names make more sense 2014-05-14 13:43:22 -04:00
Chris Church fcdcf8e988 AC-1262 Add vars_prompt_on_launch field to job template. 2014-05-11 23:03:46 -04:00
Matthew Jones 808b82bd33 Break out the data migration from the schema migration for the job event hostname 2014-05-05 10:38:26 -04:00
Matthew Jones e4afaeb2a6 Add migration for including host name with the top level job event
detail if it's available
2014-05-02 13:19:03 -04:00
Chris Church a49c627e53 AC-504 Migration to add roles to existing job events. 2014-04-16 23:54:03 -04:00
Chris Church 9b33057042 AC-1122 Fixed inventory source name (and therefore inventory update name) to pull from group/inventory name. 2014-04-03 14:19:48 -04:00
Chris Church 47218c17e4 AC-1040 Added progress output for unified jobs data migration. 2014-03-31 16:26:29 -04:00
Chris Church 67b8f57518 AC-1040 Add some output while running large unified jobs migration. 2014-03-31 16:26:29 -04:00
Chris Church e1d3da731e AC-1040 Model cleanup/refactor, add and use job_explanation field. 2014-03-30 22:57:45 -04:00
Chris Church 5d6dbc6e6b AC-1040 Make it work on Python 2.6. 🐍 2014-03-25 13:12:46 -04:00
Chris Church 1a7dc83479 AC-1040 Inserted migration 34 from master, defined additional model changes needed, regenerated previous migrations 34/35/36/37 as 35/36/37/38. 2014-03-24 17:11:09 -04:00
Chris Church e6f3032b94 AC-1040 Give unified jobs a copy of config from unified job templates to capture the settings as they were when the job is run. 2014-03-24 17:11:09 -04:00
Chris Church fba3b1e09d AC-1040 Fix migrations to work when creating an empty database for testing. 2014-03-24 17:04:27 -04:00
Chris Church 691942cac3 AC-1040 Unified jobs updates to get unit tests to pass (hopefully). 2014-03-24 17:04:26 -04:00
Chris Church 0ee5c07738 AC-1040 Update jobs models and migrations (work in progress). 2014-03-24 17:02:43 -04:00
Matthew Jones 5ae324960e Add migration for including encrypted start args in the task tables 2014-03-12 14:29:27 -04:00