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

adding IsLatestReleaseUsingBuildDefinitionArtifact #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

joslat
Copy link

@joslat joslat commented Jun 12, 2023

Summary

Adding IsLatestReleaseUsingBuildDefinitionArtifact to check the release definition for the build's latest releaseand if its latest release contains any artifact regarding the build itself. This is in case the Build Definition has changed (ej. reused to target a monorepo) so even the repo is deprecated, the release is not and should not be deleted.

This is returned in a property inside the pipeline, in the ToPipeline, it will now contain the Properties collection containing the Property "IsReleaseUsingBuildArtifacts" as "True" or "False" (string).

Addresses
That the release definition might have changed (reused) while still having a relation to the Repositoy/Build Pipeline (we might have executed releases with old artifact definitions, when they are not used anymore).

In this case, it is convenient to check this and highlight it in the UI so that the Release is not archived-deleted.

…se definition for the build's latest releaseand if its latest release contains any artifact regarding the build itself. This is in case the Build Definition has changed (ej. reused to target a monorepo) so even the repo is deprecated, the release is not and should not be deleted.

This is returned in a property inside the pipeline, in the ToPipeline, it will now contain the Properties collection containing the Property "IsReleaseUsingBuildArtifacts" as "True" or "False" (string).
@joslat
Copy link
Author

joslat commented Jun 12, 2023

As mentioned tried to test it locally but did not fully work, so maybe I am not building/deploying properly in local...

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.

1 participant