Skip to content

feat: extend update_chart_version.py for downstream charts#731

Merged
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:feat/extend-update-chart-script
Jan 19, 2026
Merged

feat: extend update_chart_version.py for downstream charts#731
chrisburr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:feat/extend-update-chart-script

Conversation

@chrisburr

Copy link
Copy Markdown
Member

Summary

Add new CLI arguments to support updating downstream Helm charts (like lhcbdiracx-charts) that depend on diracx charts:

  • --app-version: renamed from --diracx-version (kept as deprecated alias)
  • --chart-subdir: support charts at root level or subdirectory (default: diracx)
  • --image-tag-path: configurable YAML path to image tag (default: global.images.tag)
  • --update-dependency: update a dependency version in Chart.yaml
  • --dependency-app-version: app version to look up in chart index
  • --dependency-chart-index: URL to chart index (default: https://charts.diracgrid.org/index.yaml)

The script can now look up chart versions from a Helm repository index.yaml based on the desired appVersion.

Example usage for diracx (unchanged behavior)

python update_chart_version.py --app-version v0.0.2
# or using deprecated alias
python update_chart_version.py --diracx-version v0.0.2

Example usage for lhcbdiracx

python update_chart_version.py \
  --app-version v0.0.1a50 \
  --chart-subdir . \
  --image-tag-path diracx.global.images.tag \
  --update-dependency diracx \
  --dependency-app-version v0.0.2

@read-the-docs-community

read-the-docs-community Bot commented Jan 19, 2026

Copy link
Copy Markdown

Documentation build overview

📚 diracx | 🛠️ Build #31061217 | 📁 Comparing f9cb3a6 against latest (83d943b)


🔍 Preview build

Show files changed (1 files in total): 📝 1 modified | ➕ 0 added | ➖ 0 deleted
File Status
admin/reference/values/index.html 📝 modified

Add new CLI arguments to support updating downstream Helm charts
(like lhcbdiracx-charts) that depend on diracx charts:

- --app-version: renamed from --diracx-version (kept as alias)
- --chart-subdir: support charts at root level or subdirectory
- --image-tag-path: configurable YAML path to image tag
- --update-dependency: update a dependency version in Chart.yaml
- --dependency-app-version: app version to look up in chart index
- --dependency-chart-index: URL to chart index (defaults to diracx)

The script can now look up chart versions from a Helm repository
index.yaml based on the desired appVersion.
@chrisburr
chrisburr force-pushed the feat/extend-update-chart-script branch from 0120fdf to f9cb3a6 Compare January 19, 2026 15:41
@chrisburr
chrisburr merged commit b1a293b into DIRACGrid:main Jan 19, 2026
24 checks passed
@chrisburr
chrisburr deleted the feat/extend-update-chart-script branch January 19, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant