Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5 Release #292

Merged
merged 12 commits into from
May 29, 2024
Merged

0.5 Release #292

merged 12 commits into from
May 29, 2024

Conversation

JacobCallahan
Copy link
Member

This PR includes all the changes currently in the 0.5 branch.

tpapaioa and others added 10 commits April 15, 2024 15:35
This was previously deprecated and we received no feedback to keep it
in.
I also updated the podman python binding to the newly active name.
* Fix file logging level issue.

Fixes #223

* Patch awx logging to allow trace logging in all cases.
* added optional label support

* provider/container - support labels, skip envars as labels

* label formatting logic moved to commands.py

* labels arg renamed to provider-labels

* labels - AT provider - fix label value parsing

* add provider_label support to execute command

* fix provider_labels parsing for container provider

* provider_labels are nested for AT provider

* append label asserts to test_container_e2e

* Add parsing of eventual settings.provider_labels for AT, Container providers

* add e2e provider_labels fn test for AA
Instead of wrapping everything under a single ProviderError, let's add
some nuance.
This change fills the gap previously seen for podman's inability execute
commands on containers.
A large part of this was handling the returned output from podman's
exec_run, which is a tuple containing the return code and a bytes string
containing both the stdout and stderr.
Due to this, we needed to implement a demuxer.

Also made some minor tweaks to the functional tests
@dosas
Copy link
Contributor

dosas commented May 15, 2024

@JacobCallahan Do you think we could get this #291 into the 0.5 release?

@JacobCallahan
Copy link
Member Author

@dosas With the recent updates made to that PR, it is highly likely that it will make it in to 0.5. This PR is based on that branch so anything merged before this will make it in.

JacobCallahan and others added 2 commits May 20, 2024 16:18
There are cases, like github actions, where it is preferable for
broker's settings to come from a local repo clone than from github.
This change starts with a check for the local clone with a fallback to
the source on github.
* Add foreman broker

* add example settings for Foreman broker

* Reorganize classes

- Rename ForemanAPI to ForemanBind
- Put Foreman Bind in a separate file
- Create exception for FormanBind
- Make internal method private
- Add method to query hostgroup information

* Apply organizational changes in tests too

* Get rid of constructor call in provider_help

* Hotfix for github action

---------

Co-authored-by: Jan Bundesmann <[email protected]>
@JacobCallahan JacobCallahan marked this pull request as ready for review May 29, 2024 13:14
@JacobCallahan JacobCallahan merged commit f575187 into master May 29, 2024
4 checks passed
@JacobCallahan JacobCallahan deleted the 0.5 branch May 29, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants