Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/release-chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Release Charts

on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
# This workflow is meant to be triggered manually from the Actions tab
workflow_dispatch:

jobs:
release:
Expand Down Expand Up @@ -33,3 +31,6 @@ jobs:
skip_existing: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Publish to GH Pages
uses: ./.github/workflows/gh-pages-static.yml
20 changes: 20 additions & 0 deletions tools/pytorchjob-generator/release-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Release Instructions

1. Create a release prep branch

2. Update the version number in chart/Chart.yaml

3. Do a `helm unittest -u chart` and then run precommit to
regenerate the helmdocs. Inspect the diff and make sure
the only changes are the Chart version

4. Update the chart version number in the example
of `helm repo search` in the main README.md

5. Submit & merge a PR with these changes

6. Manually trigger the `Release Charts` workflow in the Actions
tab of the MLBatch GitHub project. This action will automatically
generate and push tags for the newly released chart and trigger an
update of the GH Pages (which contains the helm repo).