summaryrefslogtreecommitdiffstats
path: root/awxkit (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Apply more rigor to asserting text in stdoutAlan Rominger2020-11-251-1/+3
|
* Avoid invalid group characters in default inventory script factoryAlan Rominger2020-11-181-1/+1
|
* Separate page object for config/attach endpointElyézer Rezende2020-10-303-4/+8
|
* Remove license_key check & fix docker-compose make commandChristian M. Adams2020-10-301-1/+0
|
* remove outdated license referencesChristian M. Adams2020-10-301-15/+0
|
* reimplement licensing to work with RHSM and entitlement uploadsRyan Petrello2020-10-302-0/+4
| | | | Co-authored-by: Christian Adams <chadams@redhat.com>
* Rework the export of full dependent objectsJeff Bradberry2020-10-302-12/+40
| | | | and include hosts and groups in the export.
* Merge branch 'downstream' into develRyan Petrello2020-10-261-0/+3
|\
| * allow the CLI to associate Galaxy credentials to OrganizationsRyan Petrello2020-10-211-0/+3
| | | | | | | | $ awx organizations associate Default --galaxy_credential "Ansible Galaxy"
* | Bump version to 15.0.1Ryan Petrello2020-10-201-1/+1
|/
* Merge pull request #8370 from ryanpetrello/fix-bad-extra-vars-warningsoftwarefactory-project-zuul[bot]2020-10-121-0/+3
|\ | | | | | | | | fix a confusing error message when extra vars aren't valid JSON/YAML Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * fix a confusing error message when extra vars aren't valid JSON/YAMLRyan Petrello2020-10-121-0/+3
| | | | | | | | see: https://github.com/ansible/awx/issues/8359
* | Attempt to infer related pages on export when the link is missingJeff Bradberry2020-10-092-24/+14
| |
* | Serialize Workflow Job Template inventories by natural key - related #7798Rigel Di Scala2020-10-081-0/+21
|/ | | | | | | | | | | | | | | This changeset introduces two changes: 1. Update the API representation of Workflow Job Templates to use the natural key of the Inventory type instead of its id; 2. Override the related property of the CLI's WorkflowJobTemplate page type to patch the related references during the export process, allowing the resource to be serialised using the natural key of the Inventory type instead of the id. Change n.2 is a workaround that is used when exporting resources from AWX/Tower instances that don't have change n.1. It can be removed in the future.
* Bump version to 15.0.0Ryan Petrello2020-09-291-1/+1
|
* Merge pull request #8147 from ryanpetrello/py-pathsoftwarefactory-project-zuul[bot]2020-09-151-1/+1
|\ | | | | | | | | move an optional import for awxkit Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * move an optional import for awxkitRyan Petrello2020-09-151-1/+1
| | | | | | | | | | | | I'm not sure that this function is actually in use anywhere anymore, but it shouldn't be a top-level import because it represents an optional dependency.
* | Add `name` to StringIO object to fix failing testAggelos Kolaitis2020-09-131-0/+1
| |
* | Support `!import` and `!include` in `awx import -f yaml` commandAggelos Kolaitis2020-09-131-2/+2
|/
* Update awxkit to manage Org galaxy credentialsElyézer Rezende2020-09-012-0/+19
| | | | | | Add the new credential type to the Credential page object and helper methods to manage the galaxy credentials for the Organization page object.
* remove source_regionsChris Meyers2020-09-011-1/+0
|
* remove instance_filterChris Meyers2020-09-011-1/+0
|
* remove group_by from inventory sourceChris Meyers2020-09-011-1/+0
| | | | * Does not remove group_by testing
* Bump version to 14.1.0Ryan Petrello2020-08-251-1/+1
|
* clean up old authtoken supportRyan Petrello2020-08-193-6/+5
| | | | just use Bearer tokens - those are the only type of tokens we support
* Merge pull request #7808 from zedr/feat-yaml-importsoftwarefactory-project-zuul[bot]2020-08-114-5/+39
|\ | | | | | | | | Allow YAML as a CLI import format Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * minor cleanup up CLI import -f yaml supportRyan Petrello2020-08-111-4/+4
| |
| * Allow YAML as a CLI import formatRigel Di Scala2020-08-104-5/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changset allows the import of YAML formatted resources. The CLI user can indicate which format to use with the `-f, --format` option. The CLI help text has been amended to reflect the new feature. The AWX CLI `export` subcommand offers the option of formatting the output as YAML or JSON, so it makes sense that the `import` subcommand reflects this. A simple test is also provided. In order to ease the task of testing commands that import resources by reading the stdin, the CLI has been extended to allow specifying an alternative file descriptor for stdin, similarly to stdout and stderr.
* | Merge pull request #7847 from zedr/feat-workflow-labelssoftwarefactory-project-zuul[bot]2020-08-101-1/+2
|\ \ | | | | | | | | | | | | Export Workflow Job Template Node Labels Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * | Export Workflow Job Template Node LabelsRigel Di Scala2020-08-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This change adds related Labels to the Workflow Job Template document that is exported by the AWX CLI. Previously, exporting and then importing Workflow Job Templates would not retain their related Labels.
* | | Fix early return in assign related methodRigel Di Scala2020-08-101-2/+2
|/ / | | | | | | | | | | | | | | This change fixes an erroneus early return in a private method that was preventing more than one type of related object from being correctly assigned to the parent object, and therefore imported. Also, a minor spelling mistake was corrected.
* / Bump version to 14.0.0Ryan Petrello2020-08-051-1/+1
|/
* Fix garbage being printed when exporting as YAML - related #7795Rigel Di Scala2020-08-031-1/+0
| | | | | | | This resolves issue #7795, by passing the `encoding` keyword argument only when the code is run on a Python 2 interpreter. related #7795.
* Merge pull request #7427 from ryanpetrello/awxkit-installsoftwarefactory-project-zuul[bot]2020-06-241-1/+18
|\ | | | | | | | | update instructions and metadata for awxkit/cli installs Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * update instructions and metadata for awxkit/cli installsRyan Petrello2020-06-231-1/+18
| |
* | Don't traceback on KeyboardInterruptGraham Mainwaring2020-06-231-0/+2
|/
* Update awxkit credential creationElyézer Rezende2020-06-231-2/+2
| | | | | | Does not have an organization by default. Let `create_payload` decide if it should be automatically created or not. This will avoid having more than one owner when either user or team is passed to `create`.
* Merge pull request #7379 from AlanCoding/release_13softwarefactory-project-zuul[bot]2020-06-231-1/+1
|\ | | | | | | | | Bump AWX version, after notable inventory deprecation Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
| * Bump AWX version, after notable inventory deprecationAlanCoding2020-06-181-1/+1
| |
* | First cut at examples of the import and export commandsJeff Bradberry2020-06-181-4/+32
| |
* | Continue after failures to grant rolesJeff Bradberry2020-06-111-1/+3
| |
* | Prioritize membership rolesJeff Bradberry2020-06-101-60/+60
| | | | | | | | since certain role grants will not be accepted by the api unless the user or team is part of the correct organization.
* | Return the changed status of importsJeff Bradberry2020-06-091-1/+13
| |
* | Add more loggingJeff Bradberry2020-06-094-15/+28
| |
* | Fix WFJT nodes endpoint to return node pages when postingJeff Bradberry2020-06-093-4/+5
| | | | | | | | not the node list page.
* | Recursively queue up related assets to be created and/or assignedJeff Bradberry2020-06-092-55/+72
| |
* | Make sure we have a cached version of existing objectsJeff Bradberry2020-06-091-1/+1
| | | | | | | | | | even if it isn't an object being directly imported. We might need it for relations of things that are being imported.
* | Deal with exports involving foreign keys where you don't have permissionJeff Bradberry2020-06-091-2/+7
| |
* | Redo waiting until Project updates are completeJeff Bradberry2020-06-091-1/+6
| |
* | Make more use of the PageCache for importsJeff Bradberry2020-06-093-41/+27
| |