Skip to content

Commit

Permalink
Automates pre-release steps for release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dkliban committed Jun 14, 2021
1 parent 8828b40 commit cc4df91
Show file tree
Hide file tree
Showing 23 changed files with 378 additions and 769 deletions.
6 changes: 6 additions & 0 deletions CHANGES/8119.feature
@@ -0,0 +1,6 @@
Automated the pre-release steps for the release workflow

The release workflow for plugins now expects a release branch to exist with the correct
.dev version and correct pulpcore requirements. The release workflow needs to be run
against the release branch being released. It takes one parameter: release tag (a.k.a
version string).
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -191,6 +191,10 @@ The following settings are stored in `template_config.yml`.
This is used during commit validation to make sure the commit is attached to
an issue in the correct project.
release_user The GitHub user that is associated with the RELEASE_TOKEN secret on GitHub.
The username and token are used to push the Changelog and version bump commits
created by the release workflow. The default is 'pulpbot'.
test_bindings Include a job that runs a script to test generated client
library.
Expand Down
7 changes: 7 additions & 0 deletions plugin-template
Expand Up @@ -51,6 +51,7 @@ DEFAULT_SETTINGS = {
'pydocstyle': True,
'pypi_username': None,
'redmine_project': None,
'release_user': 'pulpbot',
'test_bindings': True,
'test_cli': False,
'test_performance': False,
Expand All @@ -63,7 +64,13 @@ DEFAULT_SETTINGS = {
DEPRECATED_FILES = {
"github": [
".ci/scripts/cherrypick.py",
".ci/scripts/docs-builder.py",
".ci/scripts/publish_docs.sh",
".ci/scripts/publish_client_gem.sh",
".ci/scripts/publish_client_pypi.sh",
".ci/scripts/publish_plugin_pypi.sh",
".ci/scripts/release_requirements.txt",
".ci/scripts/release.py",
".github/workflows/fips.yml",
".travis",
".travis.yml",
Expand Down
212 changes: 0 additions & 212 deletions templates/github/.ci/scripts/docs-builder.py.j2

This file was deleted.

46 changes: 0 additions & 46 deletions templates/github/.ci/scripts/publish_client_gem.sh.j2

This file was deleted.

43 changes: 0 additions & 43 deletions templates/github/.ci/scripts/publish_client_pypi.sh.j2

This file was deleted.

27 changes: 0 additions & 27 deletions templates/github/.ci/scripts/publish_docs.sh.j2

This file was deleted.

24 changes: 0 additions & 24 deletions templates/github/.ci/scripts/publish_plugin_pypi.sh.j2

This file was deleted.

0 comments on commit cc4df91

Please sign in to comment.