summaryrefslogtreecommitdiffstats
path: root/awxkit (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Update to comply with new black rulesAlan Rominger2023-02-0148-157/+2
| |
* | add '--order-by' option as supplied by the awx apiRyan Mahaffey2023-01-281-0/+9
|/
* Update to include pip install command and PyPI linkCody Gula2023-01-181-2/+6
| | | | Signed-off-by: Cody Gula <cgula7@gmail.com>
* Remove unneeded pass_env in tox configShane McDonald2022-12-161-1/+0
| | | | | | I don't recall us ever using Travis so I'm not sure why this is here. https://tox.wiki/en/latest/changelog.html#v4-0-6-2022-12-10
* Merge pull request #13252 from max-len/patch-1Seth Foster2022-12-031-1/+1
|\ | | | | Update install.rst
| * Update install.rstMax Lendrich2022-11-301-1/+1
| | | | | | Fix doc for current pip==22.3
* | Remove update_on_project_update from awxkitJeff Bradberry2022-12-011-1/+0
| | | | | | | | This was removed from the InventorySource model a bit ago.
* | add new fields to awxkitElijah DeLee2022-11-301-1/+1
| |
* | Merge pull request #13168 from ↵Jeff Bradberry2022-11-302-2/+14
|\ \ | |/ |/| | | | | ArtsiomMusin/feature_13055_add_multiple_assert_export Add multiple asset export for awx cli
| * Resolve review commentsArtsiom Musin2022-11-092-4/+14
| |
| * Add multiple assert export for awx cliArtsiom Musin2022-11-081-0/+2
| |
* | Update conf.pyTVo2022-11-101-2/+3
| | | | | | Updated variables to reflect automation controller name.
* | Avoid adding the 'config' subparser twiceJeff Bradberry2022-11-081-2/+4
| | | | | | | | | | | | | | Once since it is defined as a CustomCommand subclass, and once because it is an endpoint at the /api/v2/ level. With Python 3.11 argparse has become more strict and will raise an exception when you try to inject duplicate subparsers.
* | Expand the dependencies of the Schedule page typeJeff Bradberry2022-10-282-3/+10
|/ | | | | | | | | Really these could get any of the unified job template types, not just system job templates, so importing e.g. a project with a schedule was doing them in the wrong order. Also, bump the timeout of the project update and make sure that we stash it in the page cache even if it doesn't finish in 5 minutes.
* Add prevent_instance_group_fallback to awxkitJohn Westcott IV2022-09-292-1/+2
|
* Register pages for the Instance peers and install bundle endpointsJeff Bradberry2022-09-233-11/+35
| | | | | This includes exposing a new interface for Page objects, Page.bytes, to return the full bytestring contents of the response.
* Get more specific as to which timeout caused the issueJohn Westcott IV2022-09-221-2/+2
|
* Altering --timeout from awxkit to --action-timeout to remove conflict with ↵John Westcott IV2022-09-222-7/+7
| | | | new launch timeout
* Add additional schedule fields for new promptsOleksii Baranov2022-09-221-0/+4
|
* Added instance_groups method to the awxkit modelsOleksii Baranov2022-09-222-6/+15
| | | | Also added additional payload fields to the wfjt model.
* Add new add_label method to the wfjt node and schedules awxkit modelsOleksii Baranov2022-09-222-0/+12
|
* Add awxkit optional fields for new promptsOleksii Baranov2022-09-222-0/+9
| | | | | | | | | | Added additional fields for the awskit to support prompts: * ee * labels * forks * timeout * ig * job_slices
* Add GPG credential support to awxkitLuiz Costa2022-09-062-0/+3
|
* Make schedule teardown more reliableAlan Rominger2022-08-192-8/+7
|
* Suppress 204 No Content results causing an error during importJeff Bradberry2022-07-191-1/+3
|
* fix WorkflowJobTemplate export where WorkflowApprovalTemplate is not ↵Hao Liu2022-07-134-19/+80
| | | | | | | | | | | | | | | | | | properly exported fixes https://github.com/ansible/awx/issues/7946 - added WorkflowApprovalTemplate page type to allow URL registration - added resources regex that’s associated resource URL with WorkflowApprovalTemplate - registered the new resource regex with WorkflowApprovalTemplate page type - modified `DEPENDENT_EXPORT` handling (insisted by @jbradberry) - added special case handling for WorkflowApprovalTemplate due to its unique nature unique nature of WorkflowApprovalTemplate - when exporting WorkflowJobTemplate with approval node the WorkflowJobTemplateNode need to contain a related "create_approval_template" the POST data for "create_approval_template" need to come from the "workflow_approval_template" - during the export of a WorkflowJobTemplateNode that is an approval node we need to get the data from "workflow_approval_template" and use that to populate the "create_approval_template" Co-Authored-By: Jeff Bradberry <685957+jbradberry@users.noreply.github.com> Signed-off-by: Hao Liu <haoli@redhat.com>
* Merge pull request #12408 from ↵Sarabraj Singh2022-06-232-3/+26
|\ | | | | | | | | sarabrajsingh/feature/new-awx-cli-import-export-error-codes [new] bubble up an error code when something goes wrong with import/export
| * bubble up an error code when something goes wrong with import/exportSarabraj Singh2022-06-222-3/+26
| | | | | | | | (cherry picked from commit babd6f0975fc81c4524a0d6a35a334a75aa623bb)
* | Merge pull request #12351 from AlexSCorey/5673-t-importExportSchedulesJeff Bradberry2022-06-223-16/+8
|\ \ | |/ |/| Adds import export to awx cli for schedules as a top level object
| * Adds import export to awx cli for schedules as a top level objectAlex Corey2022-06-093-16/+8
| |
* | Merge pull request #12404 from ↵Sarabraj Singh2022-06-222-26/+3
|\ \ | | | | | | | | | | | | ansible/revert-12335-feature/awx-cli-import-export-error-codes Revert "import/export error codes when something bad happens"
| * | Revert "import/export error codes when something bad happens"Sarabraj Singh2022-06-212-26/+3
| | |
* | | Merge pull request #12309 from jbradberry/cli-multiple-extra-varsJessica Steurer2022-06-221-6/+19
|\ \ \ | |/ / |/| | Allow for multiple --extra_vars or --variables flags in awx-cli
| * | Allow for multiple --extra_vars or --variables flags in awx-cliJeff Bradberry2022-06-011-6/+19
| |/ | | | | | | | | | | | | | | This is particularly useful when you are using the @filepath version of the flag, since otherwise there would be no way to issue the command with multiple vars files. Also, add `-e` as an alias to `--extra_vars`
* | bubble up an error code when something goes wrong with import/exportSarabraj Singh2022-06-212-3/+26
| |
* | Merge pull request #11921 from jbradberry/fix-export-reconstruct-endpointJeff Bradberry2022-06-061-1/+7
|\ \ | |/ |/| Look up the correct top-level resource name when reconstructing foreign keys
| * Look up the correct top-level resource name when reconstructing foreign keysJeff Bradberry2022-03-181-1/+7
| | | | | | | | during an awx-cli export.
* | Merge pull request #12049 from fosterseth/awxkit_import_help_textSeth Foster2022-05-162-10/+33
|\ \ | | | | | | Improve awxkit import -h
| * | Improve help text for import and exportSeth Foster2022-05-102-10/+33
| | |
* | | set all_pages to True by default in get_methodJose Angel Morena2022-05-111-1/+1
| | |
* | | set all_pages to True by default in get_methodJose Angel Morena2022-05-111-1/+1
|/ /
* | awxkit log which resource failed to importSeth Foster2022-04-111-1/+2
| |
* | Fixing import of projects issue due to local_path (#11889)John Westcott IV2022-03-211-0/+4
| |
* | Support the new Inventory.labels in awxkit / awx-cliJeff Bradberry2022-03-183-1/+5
|/
* Merge pull request #11654 from jbradberry/django-3.2-upgradeJeff Bradberry2022-03-171-1/+1
|\ | | | | Django 3.2 upgrade
| * Deal with breaking tests for 3.1Jeff Bradberry2022-03-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | - Django's PostgreSQL JSONField wraps values in a JsonAdapter, so deal with that when it happens. This goes away in Django 3.1. - Setting related *_id fields clears the actual relation field, so trying to fake objects for tests is a problem - Instance.objects.me() was inappropriately creating stub objects every time while running tests, but some of our tests now create real db objects. Ditch that logic and use a proper fixture where needed. - awxkit tox.ini was pinned at Python 3.8
* | Enabling export of applications through awxkit (#11887)John Westcott IV2022-03-102-0/+2
|/
* Expand out the early membership role assignmentJeff Bradberry2022-03-071-9/+15
| | | | | | The Member role can derive from e.g. the Org Admin role, so basically all organization and team roles should be assigned first, so that RBAC conditions are met when assigning later roles.
* Changing session cookie name and added a way for clients to know what the ↵John Westcott IV2022-02-273-9/+20
| | | | | | | name is #11413 (#11679) * Changing session cookie name and added a way for clients to know what the key name is * Adding session information to docs * Fixing how awxkit gets the session id header
* Fix newly-added black rulesAlan Rominger2022-01-301-1/+1
|