Dave
12843eccf7
AAP-13369 Python 3.9 -> 3.11 upgrade ( #14771 )
...
* Python 3.9 -> 3.11 upgrade
* Test: updating azure-keyvault to 4.2.0
* Revert "Test: updating azure-keyvault to 4.2.0"
This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88.
* Test: updating azure-keyvault to latest and adding azure-identity
* Fix licenses
* Adding new licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
* Test: updating azure-keyvault to 4.2.0
* Fix licenses
* Revert "Fix licenses"
This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228.
* Fixing dependencies
---------
Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com>
2024-03-13 14:41:40 +01:00
Hao Liu
b076cb00a9
Revert "Implement project pulling from Azure DevOps using Service Pri… ( #14977 )
...
Revert "Implement project pulling from Azure DevOps using Service Principals (#14628 )"
This reverts commit 2e2cd7f2de52a02a7bbf343f26bf8d0177dcdec3.
2024-03-11 14:05:24 +00:00
Patrick Uiterwijk
2e2cd7f2de
Implement project pulling from Azure DevOps using Service Principals ( #14628 )
...
* Credential Lookup with multiple types
Allow looking up a credential with one of multiple type IDs.
* Allow Azure cred for SCM
Allow selecting an Azure Resource Manager credential for Git-based SCMs.
This is in order to enable using Azure Service Principals for project updates.
* Implement Azure Service Principal Git
This adds support for using an Azure Service Principal for project updates.
---------
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2024-03-07 10:07:03 -05:00
Cesar Francisco San Nicolas Martinez
f4e13af056
Add support for terraform credentials in awxkit ( #14902 )
2024-02-20 13:42:25 +00:00
César Francisco San Nicolás Martínez
f78ba282a6
Ability to user awxkit with websocket custom urls
2024-02-20 11:58:18 +00:00
Daniel Gonçalves
a14cc8199d
Add python 3.12 dependency ( #14869 )
...
Signed-off-by: Daniel Gonçalves <daniel.gonc@lves.fr>
2024-02-14 15:12:51 -05:00
Cesar Francisco San Nicolas Martinez
068e6acbd5
Fix the way we are passing the awxkit base path to resources ( #14862 )
2024-02-09 15:31:52 +01:00
Jeff Bradberry
2300b8fddf
Fix linting problem
2024-02-07 15:55:19 -05:00
Lorenzo Tanganelli
3a3284b5df
rework with check if POST exists
2024-02-07 15:55:19 -05:00
Lorenzo Tanganelli
2359004cc1
fix decription extraction on export
2024-02-07 15:55:19 -05:00
Lorenzo Tanganelli
694d7e98e7
leave $encrypted$ on export
...
add encrypted removal from import when object not exists
2024-02-07 14:29:30 -05:00
Julen Landa Alustiza
8c9c02c975
awxkit: allow to modify api base url ( #14835 )
...
Signed-off-by: Julen Landa Alustiza <jlanda@redhat.com>
2024-02-07 12:26:42 +01:00
TVo
bb1922cdbb
Update conf.py to 2024 ( #14743 )
...
* Update conf.py to 2023
* Update awxkit/awxkit/cli/docs/source/conf.py
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
---------
Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
2024-01-04 12:38:21 -07:00
Avi Layani
df24cb692b
Adding hosts bulk deletion feature ( #14462 )
...
* Adding hosts bulk deletion feature
Signed-off-by: Avi Layani <alayani@redhat.com>
* fix the type of the argument
Signed-off-by: Avi Layani <alayani@redhat.com>
* fixing activity_entry tracking
Signed-off-by: Avi Layani <alayani@redhat.com>
* Revert "fixing activity_entry tracking"
This reverts commit c8eab52c2ccc5abe215d56d1704ba1157e5fbbd0.
Since the bulk_delete is not related to an inventory, only hosts which
can be from different inventories.
* get only needed vars to reduce memory consumption
Signed-off-by: Avi Layani <alayani@redhat.com>
* filtering the data to reduce memory increase the number of queries
Signed-off-by: Avi Layani <alayani@redhat.com>
* update the activity stream for inventories
Signed-off-by: Avi Layani <alayani@redhat.com>
* fix the changes dict initialiazation
Signed-off-by: Avi Layani <alayani@redhat.com>
---------
Signed-off-by: Avi Layani <alayani@redhat.com>
2023-12-13 10:28:31 -06:00
Jeff Bradberry
4822dd79fc
Revert "Improve performance for awx cli export ( #13182 )"
2023-08-15 15:55:10 -04:00
Alan Rominger
755e55ec70
Remove reference to unmaintained runner image ( #14143 )
2023-06-23 10:15:11 -04:00
Gabriel Muniz
721a2002dc
Add --interval to launch monitor command ( #14068 )
...
Co-authored-by: Jessica Steurer <70719005+jay-steurer@users.noreply.github.com>
2023-06-22 11:07:26 -03:00
Jesse Wattenbarger
897a19e127
Add None check back to get_post_fields ( #14155 )
2023-06-21 12:37:59 -04:00
Artsiom Musin
4bae961b5f
Improve performance for awx cli export ( #13182 )
...
Co-authored-by: Jesse Wattenbarger <jwattenb@redhat.com>
2023-06-21 10:49:22 -04:00
Alan Rominger
433c28caa8
Materialize label page after getting 204 code ( #14010 )
2023-05-16 16:12:18 -04:00
Alan Rominger
0d5c0bcb91
Skip constructed_inventory in a more correct loop ( #14004 )
2023-05-15 13:48:59 -04:00
John Westcott IV
ba7f97f84b
Skip constructed_inventory endpoint in awxkit import
2023-05-10 14:24:27 -04:00
Shane McDonald
f1196fc019
Clean up string formatting issues from black migration
2023-05-10 08:19:23 -04:00
Lorenzo Tanganelli
479d0c2b12
add instance_groups on cli and awx.awx.role ( #13784 )
2023-04-04 10:09:48 -04:00
Oleksii Baranov
598f9e2a55
Add host_metrics page to the awxkit
2023-03-30 08:46:17 +02:00
Alan Rominger
c2fe06dd95
[constructed-inventory] Use control plane EE for constructed inventory and hack temporary image ( #13474 )
...
* Use control plane EE for constructed inventory and hack temporary image
* Update page registry to work with new endpoints
2023-03-28 11:20:24 -05:00
Sarah Akus
d2aa1b94e3
Merge pull request #13644 from fosterseth/inv_source_scm_branch
...
Add scm_branch to inventory source and inventory update
2023-03-11 10:57:21 -05:00
Alan Rominger
7cb16ef91d
Make the bulk endpoint templates work in API browser
...
Various fixes
- Don't skip checking resource RBAC permissions for admins
Necessary to handle bad input, e.g. providing a
unified_job_template id that doesn't exit
- In awxkit, only "walk" if we get 'url' in the result
- Bulk host create should return url pointing to inventory,
not inventory/hosts
dont do org check for superuser
2023-03-08 12:58:12 -05:00
Elijah DeLee
9e037f1a02
fixup return values for bulk launch and host create in awxkit
...
Enabled the params bulk job
make black
make black again
Fixed inventory and organization input params for bulk modules
add collection integration tests
Fix cli return errors
fix test completeness
2023-03-08 12:58:12 -05:00
Seth Foster
34834252ff
awxkit cli support
...
fixes for awx cli
2023-03-08 12:58:12 -05:00
Seth Foster
a952ab0a75
Add scm_branch to inventory source and inventory update
...
add scm_branch as optional field awxkit
2023-03-07 17:49:57 -05:00
Gabe Muniz
0d7bbb4389
[AAP-8682] adding Schedule to dependent_export to allow previous behavior on job template export
2023-02-08 16:19:29 -05:00
Alan Rominger
93d84fe2c9
Merge pull request #13502 from AlanCoding/new_black
...
Update to comply with new black rules
2023-02-01 16:18:50 -05:00
Alan Rominger
f5785976be
Update to comply with new black rules
2023-02-01 14:59:38 -05:00
Ryan Mahaffey
c9d931ceee
add '--order-by' option as supplied by the awx api
2023-01-27 18:21:34 -08:00
Cody Gula
7e55305c45
Update to include pip install command and PyPI link
...
Signed-off-by: Cody Gula <cgula7@gmail.com>
2023-01-17 19:04:57 -08:00
Shane McDonald
f04ac3c798
Remove unneeded pass_env in tox config
...
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
2022-12-15 19:44:02 -05:00
Seth Foster
e5057691ee
Merge pull request #13252 from max-len/patch-1
...
Update install.rst
2022-12-02 22:46:26 -05:00
Jeff Bradberry
48eba60be4
Remove update_on_project_update from awxkit
...
This was removed from the InventorySource model a bit ago.
2022-12-01 13:44:10 -05:00
Elijah DeLee
6508ab4a33
add new fields to awxkit
2022-11-30 17:14:33 -05:00
Jeff Bradberry
7fa9dcbc2a
Merge pull request #13168 from ArtsiomMusin/feature_13055_add_multiple_assert_export
...
Add multiple asset export for awx cli
2022-11-30 15:01:42 -05:00
Max Lendrich
eaccf32aa3
Update install.rst
...
Fix doc for current pip==22.3
2022-11-30 16:54:42 +01:00
TVo
332c433b6e
Update conf.py
...
Updated variables to reflect automation controller name.
2022-11-10 14:18:25 -07:00
Artsiom Musin
c39172f516
Resolve review comments
2022-11-09 15:54:16 +01:00
Jeff Bradberry
3d3e4ad150
Avoid adding the 'config' subparser twice
...
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.
2022-11-08 15:13:35 -05:00
Artsiom Musin
9b047c2af6
Add multiple assert export for awx cli
2022-11-08 15:42:25 +01:00
Jeff Bradberry
b57ae592ed
Expand the dependencies of the Schedule page type
...
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.
2022-10-28 12:56:35 -04:00
John Westcott IV
84d00722b9
Add prevent_instance_group_fallback to awxkit
2022-09-29 14:19:37 -04:00
Jeff Bradberry
68a44529b6
Register pages for the Instance peers and install bundle endpoints
...
This includes exposing a new interface for Page objects, Page.bytes,
to return the full bytestring contents of the response.
2022-09-23 09:46:14 -04:00
John Westcott IV
86e7151508
Get more specific as to which timeout caused the issue
2022-09-22 16:08:21 -04:00