Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pipeline - Fixing "delete env when PR is closed" (#2245)
* Pipeline - Adding acr img clean up TODO Fixed #2210 * Adding step to login into Azure * Updating job name and order of azure login step * Updating cli command * Updating cli to get the list of acr images * Adding ACR name and correct image name to get the list * removing show-tags from the cmd * Adding image tag for the list * removing extra tags for the list * updating cmd to get the tags * Filtering out the tags * Adding order by command for the repo * Updating the variable name * Removing limit on the query * Adding comparison for the active PR and images * Adding pipeline to run the matrix * Adding output for the comparison step * Adding prop as JSON param * Deleting test image * Adding image name with tag to delete it * Updating schedule and adding login steps for Azure * cleaning weekly check and adding updated checks * removing the tags limit * Adding limiting to 250 * Adding deletion step to clean up the image * Adding comment and reducing noise * Adding non-pr prefixed tags * Tags - Wrapping it with quote * Updating the variable name * echoing non-pr tags * merging non-pr tags * Fixing the variable name * updating variable name * Adding prefix condition for non-pr tags * wrapping text around input values * Adding additional checks to not delete production and staging acr * Adding staging and production sha * removing PRs for temporary * deleting based on digest value * Getting digest data for specific ACR * replacing repository with registery * manifest for the specific tag * getting digest value in a different way * removing test docker image * Adding github sha to track it * adding period with the output * Removing sha tag from the docker img * Adding prs tags only to delete * prefixing with dollar sign * Adding non-prs tags * Changing the limit of tag list * Cleaning up the steps for the delete slots * Removing redundant steps * wrapping the tags within a quote * Removing acr login * Adding condition to stop the second flow * Removing PR trigger * Passing JSON to call delete pr flow * Adding step to remove untagged digests * Adding PR trigger * Updating the query to retrieve the manifest * Adding acr tag * Updating the props for the list * adding delete command to delete untagged shas * Adding yes prop to confirm delete * removing PR trigger * Removing testing scripts * Fixing - Pipeline for the delete PR TODO * Adding condition to check the template
- Loading branch information