compose/script/release
alexrecuenco 1285960d3c Removed Python2 support
Closes: #6890

Some remarks,

- `# coding ... utf-8` statements are not needed
- isdigit on strings instead of a try-catch.
- Default opening mode is read, so we can do `open()` without the `'r'` everywhere
- Removed inheritinng from `object` class, it isn't necessary in python3.
- `super(ClassName, self)` can now be replaced with `super()`
- Use of itertools and `chain` on a couple places dealing with sets.
- Used the operator module instead of lambdas when warranted
    `itemgetter(0)` instead of `lambda x: x[0]`
    `attrgetter('name')` instead of `lambda x: x.name`
- `sorted` returns a list, so no need to use `list(sorted(...))`
- Removed `dict()` using dictionary comprehensions whenever possible
- Attempted to remove python3.2 support

Signed-off-by: alexrecuenco <alejandrogonzalezrecuenco@gmail.com>
2020-08-21 18:32:29 +02:00
..
cherry-pick-pr Fix release script notes about software and typos. 2015-10-28 12:10:30 -04:00
const.py Fixed new things that came after the PR 2020-06-03 18:08:23 +02:00
generate_changelog.sh Merge pull request #7163 from ndeloof/changelog 2020-01-23 19:01:19 +01:00
README.md Update release docs 2020-06-03 18:31:05 +02:00
release.md.tmpl Reffer Docker for Mac and Windows as Docker Desktop 2018-09-29 21:17:26 -03:00
utils.py Removed Python2 support 2020-08-21 18:32:29 +02:00
utils.sh fix a typo in script/release/utils.sh 2017-02-16 11:14:49 +08:00

Release HOWTO

The release process is fully automated by Release.Jenkinsfile.

Usage

  1. In the appropriate branch, run ./script/release/release.py tag <version>

By appropriate, we mean for a version 1.26.0 or 1.26.0-rc1 you should run the script in the 1.26.x branch.

The script should check the above then ask for changelog modifications.

After the executions, you should have a commit with the proper bumps for docker-compose version and run.sh

  1. Run git push --tags upstream <version_branch> This should trigger a new CI build on the new tag. When the CI finishes with the tests and builds a new draft release would be available on github's releases page.

  2. Check and confirm the release on github's release page.

  3. In case of a GA version, please update docker-composes release notes and version on github documentation repository: