1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00
Commit Graph

110 Commits

Author SHA1 Message Date
AlanCoding
3172176940
By default, give status code in exception representation 2020-02-11 13:08:20 -05:00
Apurva Bakshi
2de37ce5df add convergence attribute to awxkit 2020-02-05 14:28:35 -05:00
Rebeccah
780f104ab2 shifted from dependants/dependencies to children/parents for clarity in function names, also added in toggle logic 2020-02-05 14:28:34 -05:00
Rebeccah
cf24c81b3e updated syntax from python2 to 3 2020-02-05 14:28:34 -05:00
Ryan Petrello
1800b49822
fix a py2/py3 compat bug in the settings CLI 2020-02-03 11:37:39 -05:00
Hideki Saito
437d9843d1 Fix to handle Str and JSON mix-in data correctly with settings API
- Fixed issue #5528

Signed-off-by: Hideki Saito <saito@fgrep.org>
2020-01-28 11:51:35 -05:00
Elijah DeLee
2a77b8b4b9 Fix overzealous cleanup in awxkit
Introduced this problem with 1e796076f5
2020-01-22 10:23:40 -05:00
Elijah DeLee
1e796076f5 Scan jobs have been removed, clean up old refs
see https://github.com/ansible/awx/issues/5603
2020-01-21 12:11:53 -05:00
Elijah DeLee
d82180605c Raise a more informative error when timeout
Right now we are often left with very little info if we do get a timeout on something that HasStatus.

Take advantage of the assert_status function that is also available on items using the HasStatus mixin to show
more info.
2020-01-08 12:47:17 -05:00
Bill Nottingham
ac9bf1afcf Don't error on a trailing slash, just fix it up 2019-12-13 15:59:40 -05:00
Daniel Sami
c11a8b8ae1 added cryptography as optional awxkit dep
added cryptography as optional dep
2019-12-05 08:52:59 -05:00
Christian Adams
4f8b624b96 Make spelling of canceled consistent 2019-11-26 00:31:15 -05:00
AlanCoding
1a85874964
Raise specific exception if migration in progress 2019-11-25 21:48:05 -05:00
Ryan Petrello
78d715efed
merge downstream branch 2019-11-25 10:05:05 -05:00
Ryan Petrello
9c2797b34c
fix a typo in the CLI usage docs 2019-11-18 11:21:34 -05:00
Ryan Petrello
2ec90f17d0
fix broken sphinx docs build 2019-11-04 09:32:04 -05:00
Ryan Petrello
c882cda586
properly parse CLI arguments for launch endpoints
see: https://github.com/ansible/awx/issues/5093
2019-10-30 13:49:37 -04:00
Ryan Petrello
171f0d6340
Merge branch 'downstream' into devel 2019-10-29 13:02:17 -04:00
Jim Ladd
1e9173e8ef
In awxkit, add support for wf approval notification templates 2019-10-29 11:24:13 -04:00
Jim Ladd
d985b1215a In awxkit, add support for wf approval notification templates 2019-10-23 10:57:18 -07:00
Ryan Petrello
c8a29bac66
warn about endpoint deprecation in the CLI 2019-10-16 15:26:59 -04:00
Ryan Petrello
1adf5ee51d
Merge pull request #3805 from beeankha/cli_approval_notification_support
Enable Approval Notification Support for CLI
2019-10-16 13:09:22 -04:00
Ryan Petrello
b559860c78
Merge pull request #3804 from jbradberry/cli-no-truncate
Do not truncate job event list stdout when called from the CLI
2019-10-16 10:36:29 -04:00
beeankha
62e4ebb85d Minor change to README, plus a rebase. 2019-10-16 09:50:00 -04:00
beeankha
aa4f5ccca9 Add blank line (flake8) 2019-10-16 09:50:00 -04:00
beeankha
fdddba18be Update code to be compatible with py2 2019-10-16 09:50:00 -04:00
beeankha
ad89c5eea7 Enable approval notification support for CLI 2019-10-16 09:50:00 -04:00
AlanCoding
2123092bdc
Avoid unnecessary OPTIONS redirect 2019-10-16 09:08:22 -04:00
Jeff Bradberry
cf89108edf Force the CLI to use no_truncate for the monitor calls 2019-10-14 11:21:11 -04:00
Mat Wilson
ad1e7c46c3
add k8s cred type to awxkit 2019-10-04 13:21:28 -04:00
softwarefactory-project-zuul[bot]
2786395808
Merge pull request #4436 from jbradberry/webhook-receivers
Webhook receivers

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-03 22:23:22 +00:00
Ryan Petrello
fccd6a2286
attempt to properly map more foreign keys to named lookups
this is imperfect, but it's at least an improvement until we can come up
with a better solution

in order to really do this right, the API itself probably needs to grow
some more metadata that allows us to specify *actual* `type`s that
relate to API resources

see: https://github.com/ansible/awx/issues/4874
2019-10-03 12:59:06 -04:00
softwarefactory-project-zuul[bot]
fec67a3545
Merge pull request #4888 from ryanpetrello/cli-send-receive-note
cli: add a note about send/receive

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-03 14:17:08 +00:00
Ryan Petrello
35fe127891
cli: add a note about send/receive 2019-10-02 14:06:56 -04:00
Bill Nottingham
ac12a9cfe1 Apply some minor copy edits 2019-10-02 13:46:10 -04:00
Ryan Petrello
6c1488ed00
cli: warn users if they specify a missing file with @ 2019-10-02 10:28:04 -04:00
Ryan Petrello
da23c4e949
template CLI install documentation into a separate file 2019-10-02 09:41:11 -04:00
Ryan Petrello
a4047e414f
cli: make awx login respect the -f flag
see: https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/awx-project/ZAlhpLMBzVw/fUSqujoWBQAJ
2019-09-30 15:38:08 -04:00
Elijah DeLee
d4c8167b1b add arguments to awxkit for webhooks on jt or wfjt 2019-09-30 13:32:22 -04:00
Ryan Petrello
4adf9bab67
cli: fix awx unified_job_templates
this endpoint doesn't return an HTTP Allow header at all (because you
can't really do anything other than list templates)
2019-09-30 09:32:58 -04:00
Christian Adams
9548c8ae19 add link to awxkit docs 2019-09-23 15:38:51 -04:00
AlanCoding
01bb32ebb0
Deal with limit prompting in factory 2019-09-16 14:51:56 -04:00
AlanCoding
e8581f6892
Implement WFJT prompting for limit & scm_branch
add feature to UI and awxkit

restructure some details of create_unified_job
  for workflows to allow use of char_prompts
  hidden field
avoid conflict with sliced jobs in char_prompts copy logic

update developer docs

update migration reference

bump migration
2019-09-16 14:51:53 -04:00
Ryan Petrello
662033db44
fix some awxkit flake8 failures 2019-09-13 12:14:33 -04:00
Elijah DeLee
eba69142f1
add subscriptions endpoint to awxkit 2019-09-13 12:14:33 -04:00
Ryan Petrello
9d93cf8021
cli: show a better error if AWX is migrating
see: https://github.com/ansible/awx/issues/4721
2019-09-12 17:16:16 -04:00
Ryan Petrello
3eecda4edc
cli: add instructions for using awx -h 2019-09-11 20:43:20 -04:00
Ryan Petrello
83ee4fb289
add a bit more detail to the awx CLI README 2019-09-11 16:24:13 -04:00
softwarefactory-project-zuul[bot]
19d6941034
Merge pull request #4697 from ryanpetrello/cli-human-uniqueness
cli: fix a minor bug in uniqueness rule detection

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-10 15:01:34 +00:00
Ryan Petrello
39ee60a913
cli: fix a minor bug in uniqueness rule detection 2019-09-10 10:17:09 -04:00