Skip to content

feat: add gubbins-charts Helm chart for gubbins extension - #691

Merged
chaen merged 2 commits into
DIRACGrid:mainfrom
chrisburr:feat/add-gubbins-charts
Oct 28, 2025
Merged

feat: add gubbins-charts Helm chart for gubbins extension#691
chaen merged 2 commits into
DIRACGrid:mainfrom
chrisburr:feat/add-gubbins-charts

Conversation

@chrisburr

@chrisburr chrisburr commented Oct 27, 2025

Copy link
Copy Markdown
Member

Summary

Add Helm charts for the gubbins DiracX extension and update the CI to use it.

This PR creates:

  1. gubbins-charts - An umbrella Helm chart that extends the base diracx chart
  2. Updates to the gubbins pytest-integration CI to use gubbins-charts
  3. Simplifies gubbins_values.yaml to only contain CI-specific overrides

Changes

New Files

  • extensions/gubbins-charts/Chart.yaml - Chart metadata with diracx dependency
  • extensions/gubbins-charts/values.yaml - Gubbins-specific configuration
  • extensions/gubbins-charts/README.md - Documentation and usage instructions
  • extensions/gubbins-charts/.gitignore - Standard Helm ignores

Modified Files

  • extensions/gubbins_values.yaml - Simplified to only CI-specific overrides (imagePullPolicy)
  • .github/workflows/main.yml - Updated to download helm deps and use --chart-path

How It Works

The pytest-integration CI workflow now:

  1. Downloads helm/kubectl/kind using run_demo.sh --only-download-deps
  2. Uses the downloaded helm binary to build gubbins-charts dependencies
  3. Runs the demo with --chart-path /tmp/gubbins-charts

This provides clean separation:

  • Base gubbins configuration lives in gubbins-charts/values.yaml
  • CI-specific overrides remain in gubbins_values.yaml
  • Pattern is reusable for other community extensions (lhcbdiracx, etc.)

Related PRs

Add umbrella Helm chart for the gubbins DiracX extension following the
lhcbdiracx-charts pattern. This chart extends the base diracx chart with
gubbins-specific configuration including:

- Gubbins container image registry configuration
- LollygagDB database setup
- Developer mode enabled for testing
- Example hostname configuration

The chart serves as a tutorial and test example for community extensions.
@chrisburr
chrisburr marked this pull request as draft October 27, 2025 12:51
@read-the-docs-community

read-the-docs-community Bot commented Oct 27, 2025

Copy link
Copy Markdown

Documentation build overview

📚 diracx | 🛠️ Build #30111962 | 📁 Comparing 81a1d9d against latest (f28a32e)


🔍 Preview build

Show files changed (1 files in total): 📝 1 modified | ➕ 0 added | ➖ 0 deleted
File Status
dev/explanations/extensions/index.html 📝 modified

Update the gubbins pytest-integration CI to use the gubbins-charts umbrella
chart instead of directly using the diracx chart with value overrides.

Changes:
- Copy gubbins-charts to /tmp/ during CI setup
- Run helm dependency build on gubbins-charts before starting demo
- Add --chart-path argument to run_demo.sh pointing to gubbins-charts
- Simplify gubbins_values.yaml to only contain CI-specific overrides
- Move base gubbins configuration to gubbins-charts/values.yaml

This approach provides better separation of concerns:
- Base configuration lives in gubbins-charts (part of the extension)
- CI-specific overrides remain in gubbins_values.yaml
- Pattern is reusable for other community extensions

Related: DIRACGrid/diracx-charts#186
@chrisburr
chrisburr force-pushed the feat/add-gubbins-charts branch 2 times, most recently from 902c644 to 81a1d9d Compare October 28, 2025 14:53
@chrisburr
chrisburr marked this pull request as ready for review October 28, 2025 15:31
@chaen
chaen merged commit 649f318 into DIRACGrid:main Oct 28, 2025
49 of 50 checks passed
@chrisburr
chrisburr deleted the feat/add-gubbins-charts branch October 28, 2025 16:03
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.

2 participants