[Release][1.9.4] Release tasks #1788
Labels
Post plan issue
Added to a quarter after planning wsa completed, thus unaplanned.
Release
Release work item
Milestone
Release new version 1.9.4 with #1780 changes in place.
Release Requirements Checklist
This checklist is a chronological ordering of the release tasks to complete for an IBM Ansible z/OS core collection. This template is for a GA release that will release to Ansible Automation Platform and Galaxy as well. If you are following this issue, note that the version number is subject to change based on the certification outcome.
By this point the
stagging-v<version>
had been code frozen and releases tasks must only be meta data related, for example, updating galaxy.yml, runtime.yml, generating module doc if needed, release notes etc.You should be checking off each task as it completes.
General workflow
This a subsequent release (not a patch) thus these releases tasks will eventually be merged into
main
and intodev
to allow for the meta data updates to propagate as well as the release tag.(1) Technical Writer Tasks
(2) Release Tasks for
release-tasks-v<version>
branch:galaxy.yml
meta/runtime.yml
meta/ibm_zos_core_meta.yml
README.md
.ansible-lint
config such thatgalaxy.yml
andbuild_ignore
entries are in sync./changelog
directory for this release:- Create a file called "v<major>.<minor>.<patch>_summary.yml", eg
v1.6.0_summary.yml
- Place it under
ibm_zos_core/changelogs/fragments/
- Add contents (update the date, don't go past the current day):
antsibull-changelog lint
antsibull-changelog release
orantsibull-changelog release -v
docs/source/release_notes.rst
)pymarkdownlnt scan README.md
(3) Quality assurance
Run a Mend scan and check the results into the designated repository
release-tasks-v<version>
branch provides opportunity to make last minute changes if needed.Run a Bandit scan and check the results into the designated repository
Ansible-lint validation , manual step at the moment, choose from one of the below to run ansible-lint:
Sanity tests, use the pipeline option and choose to run only the sanity tests by checking
ANSIBLE_TEST_ONLY
which specifies only Ansible Certification tests and security scan run, meaning no functional tests run." As a backup option, you can use the./ac
tool with similar options./ac --ac-sanity --version 3.10
to run sanity.Run the galaxy importer (currently a manual step as its not part of the pipeline yet)
python -m galaxy_importer.main ibm-ibm_zos_core-<version>.tar.gz
. You can perform this with commands:Check output log for any errors/issues. For success, look for the following msg:
Full pipeline regression at 100% success on either
release-tasks-v<version>
orstagging-v<version>
:ansible-core v2.15.x
or latest supported by Ansible Automation PlatformRUN_ALL_TESTS
is selected(5) Validation
staging-v<version>
branch, unpack it up, inspect the contents. Ensure only the required files are contained in the package.staging-v<version>
. This first build test is to alert you to any issues that might need to be made before opening a pull request.(6) GitHub
staging-v<version>
againstmain
.staging-v<version>
branch by uploading it to the Ansible development Galaxy Server. (Do not merge the pull request till after AAP and Galaxy success.)(7) Release tasks (In this order)
staging-v<version>
againstmain
and DO NOT delete thestaging-v<version>
branch, you will need thestaging-v<version>
branch soon enough.v<version>
, egv1.6.0
main
release-v<version>
, egrelease-v1.6.0
doc/source/release_notes.rst
, you may need to remove trailing_
from the RST you paste since the description is supposed to be Markdown.stagging-v<version>
changes intodev
to ensure any fixes and meta are propagated upstream. There are different ways to do this, I find a merge ends up complicating things becausedev
will have received an entire quarters of changes and now old changes are pushed upstream. Generally, when performing the release tasks from bullet (2), I commit each separately so that I can cherry pick them later.All that should change is metadata , eggalaxy.yml
,release_notes.rst
, etc, no source. In case there is a source change, separate commits makes it easy to cherry pick. Optionally (usually what i do), you can cherry pick the PR which will have by default squashed all the individual commits. For example, if you want to cherry-pick the squashed PR, get the commit id from the PR then perform the following commands:(8) Log collection
git log --pretty=oneline
) into the release folderThe text was updated successfully, but these errors were encountered: