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

Add build-official-release.sh (take two) #10910

Merged

Conversation

zmerlynn
Copy link
Member

@zmerlynn zmerlynn commented Jul 8, 2015

This is a redo of #10687:

  • Adds a script which will: clone from a git tag, make release, and give you very detailed instructions as to what to do from that point.
  • Changes push-official-release.sh so we can't push "dirty" releases anymore (which build-official-release.sh also double checks at the end.)
    Fixes kubernetes directory in release tarballs is not world-readable #9576 by ensuring a correct umask.
  • Changes common.sh to gtar all the way through, to ensure that bloody OS X tar never touches the release process, because I don't want to have to understand two tar programs and how release artifacts are created from both (c.f. Fix build/release.sh with enabled unit tests on Mac #10615.)

The two additional commits are fixes on top of #10687, to make it transparent what changed past the original PR.

Related to #1883.

@zmerlynn
Copy link
Member Author

zmerlynn commented Jul 8, 2015

cc @brendandburns (original) @ixdy @quinton-hoole

@k8s-bot
Copy link

k8s-bot commented Jul 8, 2015

GCE e2e build/test passed for commit 3bb2c776de5515cc0b1d771e6e683f90fe8458cf.

@thockin
Copy link
Member

thockin commented Jul 8, 2015

The text for each release should include a link to docs and examples for that release:

e.g.

## [Documentation](http://releases.k8s.io/v0.21.0/docs)
## [Examples](http://releases.k8s.io/v0.21.0/examples)

@zmerlynn
Copy link
Member Author

zmerlynn commented Jul 8, 2015

@thockin: Fixed in 79766ae5822d6dcca87ac8fde7fa8f9dfb8c09d8

@k8s-bot
Copy link

k8s-bot commented Jul 8, 2015

GCE e2e build/test passed for commit 79766ae5822d6dcca87ac8fde7fa8f9dfb8c09d8.

@ixdy
Copy link
Member

ixdy commented Jul 8, 2015

LGTM

@ixdy
Copy link
Member

ixdy commented Jul 8, 2015

... but maybe squash before merge?

This commit does 4 things:
* Adds a script which will: (a) clone from a git tag, make release,
and give you very detailed instructions as to what to do from that
point.
* Changes `push-official-release.sh` so we can't push "dirty"
releases anymore (which `build-official-release.sh` also double
checks at the end.)
* Fixes kubernetes#9576 by ensuring a correct umask.
* Changes common.sh to gtar all the way through, to ensure that
bloody OS X tar never touches the release process, because I don't
want to have to understand two tar programs and how release
artifacts are created from both (c.f. kubernetes#10615.)
@zmerlynn zmerlynn force-pushed the redo_build_official_release branch from 79766ae to d638604 Compare July 8, 2015 22:20
@zmerlynn
Copy link
Member Author

zmerlynn commented Jul 8, 2015

Squashed.

@zmerlynn
Copy link
Member Author

zmerlynn commented Jul 8, 2015

@brendandburns: Can we try to get this in ASAP, so I can break the world again while I'm still around?

@k8s-bot
Copy link

k8s-bot commented Jul 8, 2015

GCE e2e build/test passed for commit d638604.

@brendandburns brendandburns added lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-merge labels Jul 8, 2015
@brendandburns
Copy link
Contributor

LGTM + ok-to-merge

@zmerlynn
Copy link
Member Author

zmerlynn commented Jul 8, 2015

cc @vmarmol .. I'll be watching

brendandburns added a commit that referenced this pull request Jul 9, 2015
Add `build-official-release.sh` (take two)
@brendandburns brendandburns merged commit 7ccc0a4 into kubernetes:master Jul 9, 2015
zmerlynn added a commit to zmerlynn/kubernetes that referenced this pull request Jul 9, 2015
This updates releasing.md with actual instructions on how to cut a
release, leaving the theory section of that document alone. Along the
way, I streamlined tiny bits of the existing process as I was
describing them.

The instructions are possibly pedantic, but should be executable by
anyone at this point, versus taking someone versant in the dark arts.

Relies on kubernetes#10910. Fixes kubernetes#1883.
xingzhou pushed a commit to xingzhou/kubernetes that referenced this pull request Dec 15, 2016
This updates releasing.md with actual instructions on how to cut a
release, leaving the theory section of that document alone. Along the
way, I streamlined tiny bits of the existing process as I was
describing them.

The instructions are possibly pedantic, but should be executable by
anyone at this point, versus taking someone versant in the dark arts.

Relies on kubernetes#10910. Fixes kubernetes#1883.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

kubernetes directory in release tarballs is not world-readable
6 participants