Bill Nottingham
ef7e1afa34
Add migrations for field names.
2019-04-18 15:39:47 -04:00
chris meyers
0c6a522813
remove system tracking
...
* Leave the artisanal handcrafted migration from vendored fact scan to
external fact gathering.
2019-04-12 14:30:29 -04:00
AlanCoding
c4b41a174b
add instance_id for gce imported hosts
2019-04-09 08:20:26 -04:00
Ryan Petrello
dfd4cb55e5
add a unique UUID for identifying an AWX installation
2019-04-05 20:10:55 -04:00
Christian Adams
e033eb5aef
add index for jobevent created
2019-04-03 14:27:22 -04:00
Ryan Petrello
e727909a61
rename the CredentialInputSource related_names so they're plural
2019-04-02 11:21:02 -04:00
Ryan Petrello
69368d874e
move path parameterization to the CredentialInputSource model
2019-04-02 11:20:36 -04:00
Jake McDermott
c209955400
add credential plugin system and minimal working hashivault
2019-04-02 11:19:26 -04:00
AlanCoding
6f150f0362
Set inv src custom virtualenv directly on model
2019-03-29 14:37:28 -04:00
Ryan Petrello
7ef68a03c6
index unified_job.status
...
this is a fairly importantj column that we join on for a number of
queries throughout AWX, particularly the task scheduler and analytics
2019-03-29 12:59:43 -04:00
Christian Adams
636153d92c
add insights setting, optimize and consolidate queries
2019-03-27 19:53:00 -04:00
Christian Adams
ae9377e0e4
add basic job & JT analytics
2019-03-27 19:53:00 -04:00
Ryan Petrello
c586fa9821
add a minimal framework for generating analytics/metrics
...
annotate queries & add license analytics
2019-03-27 19:53:00 -04:00
Jeff Bradberry
c3406748de
Add the new fields to the database
2019-02-28 15:54:03 -05:00
Jim Ladd
8c9544e5ed
Add support for new ansible stats
2019-02-20 17:13:29 -08:00
Ryan Petrello
43ca4526b1
define native CredentialType inputs/injectors in code, not in the DB
...
This has a few benefits:
1. It makes adding new fields to built-in CredentialTypes _much_
simpler. In the past, we've had to write a migration every time we
want to modify an existing type (changing a label/help text,
changing options like the recent become_method changes) or
when adding a new field entirely
2. It paves the way for third party credential plugins support, where
importable libraries will define their own source code-based schema
2019-02-19 10:22:26 -05:00
Vismay Golwala
4af54517d2
Update standalone schedule name uniqueness combining it with unified job template.
...
Signed-off-by: Vismay Golwala <vgolwala@redhat.com >
2019-02-13 12:46:28 -05:00
Ryan Petrello
e4eda3ef0d
remove field size limit on adhoc limit
...
related: 4b669fb16d
2019-02-13 08:34:10 -05:00
Bill Nottingham
4b669fb16d
Remove limit on limit field.
...
This allows 'relaunch-on-failed' on an arbitrary number of failed hosts.
2019-02-05 13:30:51 -05:00
Jeff Bradberry
6560ab0fab
Migrated the inputs schema on existing CredentialTypes
...
to convert the custom become_method into a plain string.
related #2630
Signed-off-by: Jeff Bradberry <jeff.bradberry@gmail.com >
2019-01-29 15:04:35 -05:00
Ryan Petrello
daeeaf413a
clean up unnecessary usage of the six library (awx only supports py3)
2019-01-25 00:19:48 -05:00
Ryan Petrello
f7bc8fb662
record the virtualenv used when a job or inventory sync runs
...
see: https://github.com/ansible/awx/issues/2264
2019-01-23 11:48:06 -05:00
Sebastian
4058d18593
Add grafana notification type
2019-01-20 13:51:23 +01:00
Ryan Petrello
f223df303f
convert py2 -> py3
2019-01-15 14:09:01 -05:00
chris meyers
d8bf82a8cb
add help_text to do_not_run workflow field
2018-11-27 16:12:41 -05:00
AlanCoding
4c14727762
bump migration number
2018-11-27 16:12:41 -05:00
chris meyers
e1e8d3b372
bump migration
2018-11-27 16:12:40 -05:00
chris meyers
9afc38b714
fixup migrations
2018-11-27 16:12:40 -05:00
chris meyers
dfccc9e07d
rework wf cycle detection for convergence
2018-11-27 16:12:40 -05:00
chris meyers
4111e53113
correctly name migration to align with 3.4.0
2018-11-27 16:12:40 -05:00
chris meyers
f5c10f99b0
support workflow convergence nodes
...
* remove convergence restriction in API
* change task manager logic to be aware of and support convergence nodes
2018-11-27 16:12:40 -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
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
951ebf146a
remove unused project field
2018-11-05 10:40:53 -05:00
softwarefactory-project-zuul[bot]
a1fe60da78
Merge pull request #2174 from matburt/jobtemplate_sharding
...
Implement Job Template Sharding/Splitting/Slicing
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2018-10-31 15:49:51 +00:00
Ryan Petrello
479448ff09
remove an old, unused migration file
2018-10-31 11:15:09 -04:00
AlanCoding
236b332a8b
bump migration number
2018-10-31 11:04:13 -04:00
AlanCoding
bbd3edba47
rename to slicing and schema tweaks
2018-10-31 11:04:12 -04:00
Matthew Jones
46d6dce738
Mass rename of shard -> split
2018-10-31 11:04:12 -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
Matthew Jones
0b1776098b
Implement model/view/launch paradigm for shard/split job templates
2018-10-31 11:04:09 -04:00
Ryan Petrello
3b7336c570
drop old celery/djcelery tables we no longer need
2018-10-22 09:20:10 -04:00
Ryan Petrello
67d1267d98
enforce 0 <= Instance.capacity_adjustment
...
see: https://github.com/ansible/tower/issues/2839
2018-08-21 15:34:19 -04:00
Ryan Petrello
14043f792a
fix up remaining Django migrations
...
these don't really change anything in the schema; they just look like
Django ORM idiosyncrancies that `makemigrations` needs to be happy
see: https://github.com/ansible/tower/issues/2203
2018-08-16 13:59:06 -04:00
adamscmRH
da1da6f530
Fix oauth and std out mystery migrations
2018-08-16 13:08:45 -04:00
Ryan Petrello
79a29ebcc8
add indexes for new event types
...
not sure why this didn't happen in the original migration that was
generated - may be related to differences in behavior across Django
versions?
2018-08-14 16:57:13 -04:00