Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

🎨 Improved templates.py structure #5

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

Conversation

djagoda881
Copy link
Contributor

An amendment has been made by adding a tag to each flow. This change is crucial because adding a tag with the file name is necessary for identifying the deployment during deletion.

@djagoda881 djagoda881 requested a review from trymzet July 4, 2023 08:58
Comment on lines +60 to +64
Saves the file name from which the deployment was created in a list under the parameter "tags".
The file name is necessary in the tags to automatically delete the deployment based on that information,
as Prefect does not store any information about the file from which the deployment originated.
Automatic deletion is performed using Azure Pipeline "Prefect automatic deployments", which fetches the script during execution
from the following repository. https://github.com/dyvenia/nesso-starter-project/blob/main/.github/scripts/prefect_deployments.py
Copy link
Contributor

Choose a reason for hiding this comment

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

I think from this script, all we know is this adds a filename tag for use by eg. CI/CD pipelines. There should be no reference to any particular pipeline, but it makes sense to say this feature is used by the prefect_deployments.py script.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants