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

Create multiple versions of a task instead of having backwards-compatibility code in it #56

Open
2 tasks
christian-kreuzberger-dtx opened this issue Dec 2, 2021 · 0 comments
Labels
type:chore Provides value to the (dev) team type:feature New feature or request that provides value to the stakeholders/end-users

Comments

@christian-kreuzberger-dtx
Copy link
Contributor

Right now the tasks in this repo have backwards-compatible code in them.

It's better to have multiple versions of a task, e.g.:
image

https://github.com/microsoft/azure-pipelines-extensions/tree/master/Extensions/ServiceNow/Src/Tasks/UpdateChangeRequest

Note: We only aim to support the last 2-3 Keptn versions (e.g., 0.11.x, 0.10.x and 0.9.x).

Definition of Done

  • Each task has a sub-folder for the current version (e.g., ${TaskName}v2, ${TaskName}v3) with the respective backwards compatibility
  • Documentation added which task + version is compatible with which Keptn version
@christian-kreuzberger-dtx christian-kreuzberger-dtx added type:feature New feature or request that provides value to the stakeholders/end-users type:chore Provides value to the (dev) team labels Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:chore Provides value to the (dev) team type:feature New feature or request that provides value to the stakeholders/end-users
Projects
None yet
Development

No branches or pull requests

1 participant