Commit Graph

20 Commits

Author SHA1 Message Date
David Arthur 03f812aa4a
Add log message in release.py (#8461)
When building a release candidate with release.py, if it's not the first RC, we need to drop the previous RC's artifacts from the staging repository before closing the new ones. This adds a log message to remind the release manager of this
2020-04-16 09:00:12 -04:00
Manikumar Reddy 747ef08d47 MINOR: Remove unwanted regexReplace on tests/kafkatest/__init__.py
Author: Manikumar Reddy <manikumar.reddy@gmail.com>

Reviewers: Colin P. McCabe <cmccabe@apache.org>, Ismael Juma <ismael@juma.me.uk>

Closes #8072 from omkreddy/release-script
2020-02-21 20:17:52 +05:30
David Arthur 0780f0043d
Add retries to release.py script (#8021) 2020-01-30 14:29:14 -05:00
Matthias J. Sax 47b51260fd HOTFIX: Change header back to http instead of https to path license header test (#6347)
Reviewers: Jason Gustafson <jason@confluent.io>
2019-02-28 13:33:51 -08:00
Matthias J. Sax a7ce7e37f3
MINOR: fix release.py script (#6317)
Reviewer: Ewen Cheslack-Postava <ewen@confluent.io>
2019-02-28 11:55:29 -08:00
Colin P. Mccabe e942e294f0 MINOR: release.py: fix some compatibility problems.
Rather than using sed, use built-in Python regular expressions to strip
the SNAPSHOT expression from the pom.xml files.  Sed has different flags
on different platforms, such as Linux.  Using Python directly here is
more compatible, as well as being more efficient, and not requiring an
rm command afterwards.

When running release_notes.py, use the current Python interpreter.
This is needed to prevent attempting to run release_notes.py with
Python 3 on some systems.  release_notes.py will not (yet) work with
Python 3.

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Magnus Edenhill <magnus@edenhill.se>, David Arthur <mumrah@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com>

Closes #6198 from cmccabe/release_py
2019-02-04 14:27:50 -08:00
Dong Lin 938e6aa22a MINOR: Improve maven artifactory url in release.py (#5931) 2018-11-20 12:17:02 +05:30
Ismael Juma b4722cc16f
KAFKA-7524: Recommend Scala 2.12 and use it for development (#5530)
Scala 2.12 has better support for newer Java versions and includes additional
compiler warnings that are helpful during development. In addition, Scala 2.11
hasn't been supported by the Scala community for a long time, the soon to be
released Spark 2.4.0 will finally support Scala 2.12 (this was the main reason
preventing many from upgrading to Scala 2.12) and Scala 2.13 is at the RC stage.
It's time to start recommending the Scala 2.12 build as we prepare support for
Scala 2.13 and start thinking about removing support for Scala 2.11.

In the meantime, Jenkins will continue to build all supported Scala versions (including
Scala 2.11) so the PR and trunk jobs will fail if people accidentally use methods
introduced in Scala 2.12.

Reviewers: Ewen Cheslack-Postava <me@ewencp.org>
2018-10-28 11:31:39 -07:00
Bibin Sebastian 83e98334a9 KAFKA-7131: Update release script to generate announcement email text
Author: Bibin Sebastian <bisebastian@DELC02QP51SG8WN.sea.corp.expecn.com>
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Matthias J. Sax <mjsax@apache.org>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #5572 from bibinss/release_mail
2018-10-20 20:43:22 -07:00
John Eismeier 83c3996974 MINOR: Fix some typos
Just a doc change

Author: John Eismeier <john.eismeier@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #4573 from jeis2497052/trunk
2018-10-20 19:40:53 -07:00
Rajini Sivaram 10a0b8a6ba
MINOR: Update build.gradle and release.py to upload streams-scala_2.12 (#5368)
Reviewers: Ismael Juma <ismael@juma.me.uk>, Guozhang Wang <wangguoz@gmail.com>
2018-07-19 11:33:34 +01:00
Matthias J. Sax 41abfcb642
MINOR: update release.py (#5374)
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>, Dong Lin <dolin@linkedin.com>
2018-07-17 13:12:13 -07:00
Ismael Juma e70a191d30
KAFKA-4423: Drop support for Java 7 (KIP-118) and update deps (#5046)
* Set --source, --target and --release to 1.8.
* Build Scala 2.12 by default.
* Remove some conditionals in the build file now that Java 8
is the minimum version.
* Bump the version of Jetty, Jersey and Checkstyle (the newer
versions require Java 8).
* Fixed issues uncovered by the new version if Checkstyle.
* A couple of minor updates to handle an incompatible source
change in the new version of Jetty.
* Add dependency to jersey-hk2 to fix failing tests caused
by Jersey upgrade.
* Update release script to use Java 8 and to take into account
that Scala 2.12 is now built by default.
* While we're at it, bump the version of Gradle, Gradle plugins,
ScalaLogging, JMH and apache directory api.
* Minor documentation updates including the readme and upgrade
notes. A number of Streams Java 7 examples can be removed
subsequently.
2018-05-21 23:17:42 -07:00
Ewen Cheslack-Postava f582a7515c MINOR: Extend release.py with a subcommand for staging docs into the kafka-site repo
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Damian Guy <damian.guy@gmail.com>

Closes #3917 from ewencp/stage-docs
2018-02-28 10:28:55 -08:00
Ewen Cheslack-Postava 6541ab1993 MINOR: Update release script with new remote, better error handling, correct mvn deploy profile
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Damian Guy <damian.guy@gmail.com>, Ismael Juma <github@juma.me.uk>

Closes #4528 from ewencp/update-release-script
2018-02-06 09:38:35 -08:00
Guozhang Wang 54ed3435bf HOTFIX: Updates on release.py before 1.0.0
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #4054 from guozhangwang/KMinor-pre-1.0-release
2017-10-11 14:20:41 -07:00
Damian Guy c587905954 MINOR: update release script for streams quickstart
Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Guozhang Wang <wangguoz@gmail.com>

Closes #3846 from dguy/minor-release-script
2017-09-20 17:57:07 +08:00
Ismael Juma 49b992dd8b MINOR: Use sha512 instead of sha2 suffix in release artifacts
As per Apache guidelines:

http://www.apache.org/dev/release-distribution#sigs-and-sums

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Damian Guy <damian.guy@gmail.com>

Closes #3844 from ijuma/fix-sha512-naming
2017-09-13 12:42:05 +01:00
Ismael Juma b1871e5adf MINOR: Fix sftp_mkdir in release.py
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Damian Guy <damian.guy@gmail.com>

Closes #3789 from ijuma/ftp-release-py-fixes
2017-09-05 10:27:36 +01:00
Ewen Cheslack-Postava 0eedd6d806 MINOR: Add a release script that helps generate release candidates.
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Gwen Shapira

Closes #2795 from ewencp/release-script and squashes the following commits:

f1d0590 [Ewen Cheslack-Postava] Don't expose promotion to the user since it is not implemented yet.
1a6947a [Ewen Cheslack-Postava] Handle cleanup if there's a failure during generation of release notes.
fa58401 [Ewen Cheslack-Postava] Fix hard-coded uses of trunk
639bcca [Ewen Cheslack-Postava] Try to cleanup after most failures.
a3a7245 [Ewen Cheslack-Postava] Fix SCRIPT_DIR to be an absolute path so git clones against the REPO work when it is also your cwd
de54c97 [Ewen Cheslack-Postava] Load/save preferences in a .release-settings.json file so you don't have to keep entering the same info repeatedly
b559a61 [Ewen Cheslack-Postava] Check that the user doesn't have any oustanding diffs before starting the rest of the script
ff0b330 [Ewen Cheslack-Postava] Store original starting branch to switch back to instead of using a default.
b793562 [Ewen Cheslack-Postava] Use 2.12 instead of specific Scala version so we use the default 2.12 version.
382b7f9 [Ewen Cheslack-Postava] MINOR: Add a release script that helps generate release candidates.
2017-05-10 13:09:25 -07:00