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

Publish to both main and master for the time being #1129

Merged

Conversation

triarius
Copy link
Contributor

@triarius triarius commented Jun 8, 2023

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.

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.
@triarius triarius force-pushed the pdp-1109-publish-to-both-master-and-main-for-the-time-being branch from 4596f0e to bd08fa2 Compare June 9, 2023 00:46
@triarius triarius marked this pull request as ready for review June 9, 2023 00:46
@triarius triarius changed the base branch from master to v6 June 9, 2023 03:48
@triarius triarius requested a review from a team June 15, 2023 00:22
exit 0
fi

# TODO: remove "master" from this list
Copy link
Contributor

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?

Copy link
Contributor

@moskyb moskyb Jun 15, 2023

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

Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

@DrJosh9000 DrJosh9000 left a comment

Choose a reason for hiding this comment

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

I like it!

@triarius triarius merged commit e8774e7 into v6 Jun 15, 2023
@triarius triarius deleted the pdp-1109-publish-to-both-master-and-main-for-the-time-being branch June 15, 2023 06:39
triarius added a commit that referenced this pull request Jun 16, 2023
@triarius triarius mentioned this pull request Jun 18, 2023
Merged
triarius added a commit that referenced this pull request Jun 26, 2023
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.

3 participants