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

Get environments from Kubernetes #79

Merged
merged 4 commits into from
Dec 13, 2024

Conversation

t-persson
Copy link
Collaborator

Applicable Issues

Preparatory change for: eiffel-community/etos#306

Description of the Change

Update so that the ESR will get the sub suite definition from Kubernetes instead of Eiffel when running using the ETOS controller.

Alternate Designs

I would want the ETOS controller to pass in an environment to the ESR when it has been created, thus creating one ESR for each environment just to manage and keep track of the ETR execution. This would, however, be a bigger change and I want to fix the problems we are seeing where the environment provider complains about a missing activity triggered (which this change can enable a fix for) first.

Possible Drawbacks

Another branch in the code, making the ESR a bit more complex.

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Tobias Persson [email protected]

@t-persson t-persson requested a review from a team as a code owner December 12, 2024 08:19
@t-persson t-persson requested review from fredjn and andmat900 and removed request for a team December 12, 2024 08:19
@t-persson t-persson force-pushed the get-sub-suites-from-k8s branch from db08af6 to c5a2bf3 Compare December 12, 2024 08:55
"Start collecting sub suite definitions (timeout=%ds).",
self.etos.config.get("WAIT_FOR_ENVIRONMENT_TIMEOUT"),
)
if os.getenv("IDENTIFIER") is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IDENTIFIER is set in v1+? If so, please add a comment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to esr_parameters.

@t-persson t-persson merged commit ce3e3b4 into eiffel-community:main Dec 13, 2024
3 checks passed
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.

2 participants