-
Notifications
You must be signed in to change notification settings - Fork 272
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
Publish to both main
and master
for the time being
#1129
Publish to both main
and master
for the time being
#1129
Conversation
With v6, we will be renaming the default branch to main using the GitHub UI. When this change is made, the next build on the main branch won't push a stack template to the same location. So let's push to both locations for now.
4596f0e
to
bd08fa2
Compare
exit 0 | ||
fi | ||
|
||
# TODO: remove "master" from this list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is largely a hypothetical, but if we all forget what this was about, when would the right time to remove "master" be? 6 months from now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'm a big fan of time bomb comments for this - eg # If you're reading this and the date is after YYYY-MM-DD the you should delete master from this list
. it's a concrete call to action, and avoids both the bystander effect and the murky who/when/how of a TODO - the who is the reader, the when is right now, the how should be made clear by the comment, ideally
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i remember ages ago finding a rust crate that was able to parse these and automatically fail CI if it found any hanging time bombs... lost to the sands of the internet now though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did make a ticket about it: https://linear.app/buildkite/issue/PDP-1110/remove-publishing-elastic-stack-to-master
I put it in the backlog. I think moving to PDP triage might make it more visible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
…er-and-main-for-the-time-being
…er-and-main-for-the-time-being
With v6, we will be renaming the default branch to main using the GitHub UI. When this change is made, the next build on the main branch won't push a stack template to the same location. So let's push to both locations for now.