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

fix: Pipeline refactoring #315

Merged
merged 10 commits into from
Oct 18, 2021
Merged

fix: Pipeline refactoring #315

merged 10 commits into from
Oct 18, 2021

Conversation

olblak
Copy link
Member

@olblak olblak commented Oct 18, 2021

Core refactoring

This pull request refactor the core package. The goal is to clean some technical debts like the changelog logic specific to Github release which happened to be in the core instead of Github package. To distinguish input resource parameter provided by a configuration and runtime information. Now each resource has a parameter named "spec" that contains configuration.

  • Move Github changelog logic from the core package to the plugins package where all the similar logic belongs
  • Distinguish between source/condition/target "spec" which can be provided at the configuration level and runtime information

Fix #314

Test

Considering that this pull request modify the core package, we should test it against as many configuration as possible

  make test

Additionnal Information

Tradeoff

Potential improvement

Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak added the bug Something isn't working label Oct 18, 2021
@olblak olblak self-assigned this Oct 18, 2021
Improve test message

Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Signed-off-by: Olivier Vernin <olivier@vernin.me>
Move runsources to pipeline package

Move RunConditions to pipeline package

Move RunTargets to pipeline package

Signed-off-by: Olivier Vernin <olivier@vernin.me>
@olblak olblak changed the title fix: core refactoring fix: Pipeline refactoring Oct 18, 2021
@olblak olblak merged commit f028f51 into updatecli:main Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changelog information processed during configuration update
1 participant