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

Release automation #9687

Merged
merged 2 commits into from
Jul 18, 2024
Merged

Release automation #9687

merged 2 commits into from
Jul 18, 2024

Conversation

ko3n1g
Copy link
Collaborator

@ko3n1g ko3n1g commented Jul 11, 2024

What does this PR do ?

Adds two workflows:

  • "NeMo Code freeze"
  • "NeMo Code release"

"NeMo Code freeze"

Started via workflow dispatch. Input is the next version number. Does the following:

  • Reads $CURRENT_VERSION from main, check out new branch r$CURRENT_VERSION and pushes to origin and opens PR. Comments in that PR serve as platform for documenting changelog
  • Bumps package_info.py with $NEXT_VERSION and pushes to main

"NeMo Code release"

Started via comment to PR. Creates GH release/tag, builds and pushes the wheel, closes PR

Additional Information

This automation requires a couple of secrets like Twine credentials or Personal Access Tokens. We an environment main and couple these secrets to it such that they are only exposed when running on that protected branch. Secrets are secure as only code-owners permit changes to main and on other branches the secrets are not interpolated.

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Copy link
Collaborator

@ericharper ericharper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@ericharper ericharper merged commit f01cbe2 into NVIDIA:main Jul 18, 2024
9 checks passed
ertkonuk pushed a commit that referenced this pull request Jul 19, 2024
* ci: Add workflow for code-freeze

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

* ci: Add workflow for releasing NeMo Tookit

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

---------

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Signed-off-by: Tugrul Konuk <ertkonuk@gmail.com>
tonyjie pushed a commit to tonyjie/NeMo that referenced this pull request Jul 24, 2024
* ci: Add workflow for code-freeze

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

* ci: Add workflow for releasing NeMo Tookit

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

---------

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
akoumpa pushed a commit that referenced this pull request Jul 25, 2024
* ci: Add workflow for code-freeze

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

* ci: Add workflow for releasing NeMo Tookit

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

---------

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Signed-off-by: Alexandros Koumparoulis <akoumparouli@nvidia.com>
malay-nagda pushed a commit to malay-nagda/NeMo that referenced this pull request Jul 26, 2024
* ci: Add workflow for code-freeze

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

* ci: Add workflow for releasing NeMo Tookit

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>

---------

Signed-off-by: Oliver Koenig <okoenig@nvidia.com>
Signed-off-by: Malay Nagda <malayn@malayn-mlt.client.nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants