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

delete tag script filters by prefix instead of substring #1942

Merged
merged 1 commit into from
Apr 15, 2020

Conversation

owen-d
Copy link
Member

@owen-d owen-d commented Apr 15, 2020

What

Changes delete tags script to filter based on prefix rather than any substring match

Why

Currently we'll delete any old tags matching master- by default. This is problematic because it will match tags such as keepalive-master-x, which we use to pin in helm charts. This PR changes the logic such that it uses a prefix match instead.

Copy link
Member

@rfratto rfratto left a comment

Choose a reason for hiding this comment

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

LGTM!

@owen-d owen-d merged commit fee58f1 into grafana:master Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants