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

Unify script/steps approach #276

Closed
michaelsauter opened this issue Apr 27, 2020 · 4 comments · Fixed by #334
Closed

Unify script/steps approach #276

michaelsauter opened this issue Apr 27, 2020 · 4 comments · Fixed by #334
Assignees
Labels
enhancement New feature or request

Comments

@michaelsauter
Copy link
Member

MRO used an interface, IPipelineSteps, the ODS lib used duck-typing. Both works, but we should use just one approach. Previously I thought that the interface approach would not work for e.g. withCredentials as that writes variables to the "script", but, one can also read those variables via env, which is anyway cleaner.

FYI @renedupont

@michaelsauter michaelsauter added the enhancement New feature or request label Apr 27, 2020
@michaelsauter michaelsauter self-assigned this Apr 27, 2020
@michaelsauter michaelsauter added this to To Do in OpenDevStack 3.0 via automation Apr 27, 2020
@metmajer
Copy link
Member

metmajer commented May 10, 2020

@michaelsauter @clemensutschig note that @martsec is an architect in my team who needs to be included in concerting these refactorings. Otherwise, our team needs to play catch up with you. If I remember our strategy correctly, we wanted to keep shared library merging simple for the time being to not disrupt teams. This is a shared code-base with shared responsibilities. Let's tackle this together. Cheers!

@clemensutschig
Copy link
Member

That one i leave anyway... the Base Services are enough work.

@metmajer
Copy link
Member

@clemensutschig I was hoping that I would not need to apply the above demand to all other refactoring tasks. It was. of course, meant to cover all refactoring aspects that touch code my teams are directly depending on in their daily work.

@michaelsauter
Copy link
Member Author

@metmajer I need to work on this ticket this week. Otherwise I cannot really unify the OpenShiftService, and not doing that does not make any sense when I need to implement deployment of OpenShift Templates for the component pipeline (a feature I wanted to do for a long time and promised for v3).

We did agree to make the initial merge as-is, which is what I did. Of course, over time it makes sense to unify the services. I did ask your team if / what they wanted to help but did not see any claims on GitHub issues. I would suggest to make any work that is ongoing visible here. Right now it looks to me like no work on the orchestration part is in progress.

But back to the issue here: I think the good news is that my plan for this ticket is to just adopt the PipelineSteps approach of the orchestration pipeline across the whole shared lib. So the only thing that affects the orchestration part is a move from PipelineSteps to another package.

I'm fine with someone else doing that - but I'd pretty much need a responsible with a delivery date to make that work realistically?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
3 participants