Skip to content
Merged
Show file tree
Hide file tree
Changes from 64 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
b0a3ae9
Add empty update-openhands-chart script
openhands-agent Jan 21, 2026
b744af0
rename to py
aivong-openhands Jan 21, 2026
58257e7
Add PyGithub to fetch latest tag from OpenHands repo
openhands-agent Jan 21, 2026
4f98c72
Filter tags to match semantic version format (x.y.z)
openhands-agent Jan 21, 2026
cd11761
Add functionality to update Chart.yaml appVersion with latest tag
openhands-agent Jan 21, 2026
2978a17
Replace ruamel.yaml with PyYAML
openhands-agent Jan 21, 2026
f55479b
Change repo reference to OpenHands/OpenHands to prevent redirection
openhands-agent Jan 21, 2026
ef5a4bd
Use regex to update appVersion without reformatting YAML
openhands-agent Jan 21, 2026
bf5ac44
Use ruamel.yaml to preserve original YAML formatting
openhands-agent Jan 21, 2026
8524dea
Add README with script usage instructions
openhands-agent Jan 21, 2026
ee17c9f
remove note
aivong-openhands Jan 21, 2026
3de9479
Add patch version bump for chart version field
openhands-agent Jan 21, 2026
463fe2c
Add runtime-api version update from OCI registry
openhands-agent Jan 21, 2026
8035e1a
Add message when runtime-api version is already latest
openhands-agent Jan 21, 2026
3b90cd5
Add unit tests for update-openhands-chart script
openhands-agent Jan 21, 2026
cfc66d2
Remove __pycache__ from version control
openhands-agent Jan 21, 2026
91ff6e7
Add deploy repo tag fetching with GITHUB_TOKEN support
openhands-agent Jan 22, 2026
13e13de
Fetch deploy config values from deploy.yaml workflow
openhands-agent Jan 22, 2026
fcdad69
Update enterprise-server image tag from deploy config
openhands-agent Jan 22, 2026
2da7239
Update runtime-api image tag from deploy config
openhands-agent Jan 22, 2026
94ad52b
Update runtime image tag from deploy config
openhands-agent Jan 22, 2026
96b024f
Add unit tests for DeployConfig and update_values
openhands-agent Jan 22, 2026
6034e28
Remove __pycache__ from version control
openhands-agent Jan 22, 2026
d4f67b6
Add get_short_sha helper function and unit tests
openhands-agent Jan 22, 2026
52e739e
Add __pycache__ to .gitignore
openhands-agent Jan 22, 2026
9d5e3cb
Add console output separation between fetched and updated values
openhands-agent Jan 22, 2026
494ef14
Remove __pycache__ files
openhands-agent Jan 22, 2026
7fbd647
Fix .gitignore format
openhands-agent Jan 22, 2026
b8d6cc3
Add console output distinction between Chart.yaml and values.yaml upd…
openhands-agent Jan 22, 2026
7fc496e
Add format_sha_tag helper function and unit tests
openhands-agent Jan 22, 2026
63bf050
Add --dry-run flag to show changes without modifying files
openhands-agent Jan 22, 2026
432c2a6
Automate draft PR creation with branch update-openhands-chart-VERSION
openhands-agent Jan 22, 2026
127a806
Fix PR to only include Chart.yaml and values.yaml changes
openhands-agent Jan 22, 2026
0ba8894
update README
aivong-openhands Jan 22, 2026
db860a8
clean up README
aivong-openhands Jan 22, 2026
7856924
Merge branch 'main' into aivong/openhands-chart-script
aivong-openhands Jan 22, 2026
6310e5a
add instructions to use dry run mode
aivong-openhands Jan 22, 2026
20ebe58
update readme
aivong-openhands Jan 22, 2026
f191da0
add instructions on running tests
aivong-openhands Jan 22, 2026
171dc68
general title in readme
aivong-openhands Jan 22, 2026
ef072c3
add note on getting the github token
aivong-openhands Jan 22, 2026
d226b61
Check for uncommitted changes instead of using stash
openhands-agent Jan 22, 2026
3059cc6
Add --deploy-tag optional argument to specify deploy tag
openhands-agent Jan 23, 2026
15c9cd5
Bump runtime-api version to 0.1.21 and update warmRuntimes image
openhands-agent Jan 23, 2026
b091677
set charts to be publish sequentially due to runtime api dependency
aivong-openhands Jan 23, 2026
d32a9c3
Revert "Bump runtime-api version to 0.1.21 and update warmRuntimes im…
openhands-agent Jan 23, 2026
38b8162
Add runtime-api chart version bump and warmRuntimes image update to s…
openhands-agent Jan 23, 2026
3cf83e6
elaborate on help
aivong-openhands Jan 23, 2026
07fcdc4
Merge branch 'main' into aivong/openhands-chart-script
aivong-openhands Jan 23, 2026
03b3542
Remove commit and PR creation logic from update script
openhands-agent Jan 23, 2026
09b9f30
Use semver tag containing OPENHANDS_SHA for appVersion
openhands-agent Jan 23, 2026
c57c2b0
Improve console output to distinguish openhands vs runtime-api chart …
openhands-agent Jan 23, 2026
0d64d0b
add help command in readme
aivong-openhands Jan 23, 2026
7139d3d
rename openhands specific functions
aivong-openhands Jan 23, 2026
982abc6
Update runtime-api chart before openhands chart
openhands-agent Jan 23, 2026
6efe680
specify var name instead of sha to reduce duplicated values
aivong-openhands Jan 23, 2026
9acaa0a
Checkout main branch before getting semver tag containing commit
openhands-agent Jan 23, 2026
54cda22
update readme
aivong-openhands Jan 23, 2026
a969ccb
Rename script to update_openhands_charts.py
openhands-agent Jan 23, 2026
832316f
Merge branch 'main' into aivong/openhands-chart-script
aivong-openhands Jan 23, 2026
b9f8491
Move script files to scripts/update_openhands_charts/ folder
openhands-agent Jan 23, 2026
38e0943
run PR checks sequentially
aivong-openhands Jan 23, 2026
f88ebab
Revert "run PR checks sequentially"
aivong-openhands Jan 23, 2026
d90f73d
Merge branch 'main' into aivong/openhands-chart-script
aivong-openhands Jan 23, 2026
65cfcd9
Update runtime-api image tag with sha-SHORT_SHA from RUNTIME_API_SHA
openhands-agent Jan 23, 2026
8d7cbc2
exit when github token envvar is not set
aivong-openhands Jan 23, 2026
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
3 changes: 2 additions & 1 deletion .github/workflows/publish-helm-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
path: charts/image-loader
- name: openhands
path: charts/openhands

# because openhands depends on runtime-api
max-parallel: 1

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I believe this PR needs to be merged before #264 so that the runtime-api chart publish can happen before the openhands chart publish

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good thinking.

steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
charts/**/charts

**/.DS_Store
__pycache__/

# Files generated by JetBrains IDEs, e.g. IntelliJ IDEA
.idea/
Expand Down
58 changes: 58 additions & 0 deletions scripts/update_openhands_charts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Description

Updates the OpenHands and runtime-api helm charts to cut a new enterprise chart release.

## Prerequisites

- [uv](https://docs.astral.sh/uv/) must be installed
- A GitHub token with read access to the OpenHands repository

## Usage

1. Set the `GITHUB_TOKEN` environment variable:

```bash
export GITHUB_TOKEN=your_github_token
Comment thread
aivong-openhands marked this conversation as resolved.
```

> Try getting with: `gh auth status --show-token`

2. Run the script:

```bash
./scripts/update_openhands_charts/update_openhands_charts.py
```

Or using uv directly:

```bash
uv run scripts/update_openhands_charts/update_openhands_charts.py
```

> View help for available arguments: `uv run scripts/update_openhands_charts/update_openhands_charts.py --help`

### DRY RUN mode

```bash
./scripts/update_openhands_charts/update_openhands_charts.py --dry-run
```

Or using uv directly:

```bash
uv run scripts/update_openhands_charts/update_openhands_charts.py --dry-run
```

## Tests

Run the tests:

```bash
./scripts/update_openhands_charts/test_update_openhands_charts.py
```

Or using uv directly:

```bash
uv run scripts/update_openhands_charts/test_update_openhands_charts.py
```
Loading