Skip to content

ci: standardize workflows and chart patterns to match org playbook#20

Merged
kphunter merged 1 commit into
mainfrom
devin/1779655268-standardize-patterns
May 24, 2026
Merged

ci: standardize workflows and chart patterns to match org playbook#20
kphunter merged 1 commit into
mainfrom
devin/1779655268-standardize-patterns

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented May 24, 2026

Copy link
Copy Markdown
Contributor

Summary

Standardizes workflows, Helm charts, and supporting files to match bcit-tlu/qcon-api patterns:

  • Deleted build-and-push-app.yaml.inactive (unused) and VERSION file (version tracked via manifest)
  • ci.yaml: Fixed helm push error guard (|| { echo; exit 1; }), shell-safe env: blocks for GHA expressions, reduced verbose block comments
  • helm-publish.yaml: Same error guard fix, added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24, shell-safe env, dynamic chart name via yq
  • release-retag.yaml: Added digest guard to sign step (&& steps.retag.outputs.digest != ''), shell-safe env vars, array-based tag construction, reduced comments
  • release-please.yaml: Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24, reduced comment verbosity
  • pr-title-lint.yaml: Added FORCE_JAVASCRIPT_ACTIONS_TO_NODE24, concise failure message matching qcon-api
  • Chart.yaml: Added # x-release-please-version annotation to version: line
  • deployment.yaml: Changed {{- if $aff }} to {{- if ne (toJson $aff) "{}" }} for proper empty-map detection
  • Dockerfile: ### for comments
  • AGENTS.md: Updated versioning convention to reference .release-please-manifest.json and Chart.yaml annotations instead of deleted VERSION file; added helm lint/validate commands

Review & Testing Checklist for Human

  • Verify helm lint charts/ and helm template test charts/ | kubeconform ... pass (validated locally ✓)
  • Confirm no behavioral changes to CI triggers, deployment config, or app code
  • Spot-check the release-retag.yaml digest guard ensures signing is skipped when retag fails (no empty-digest cosign calls)

Notes

All workflows now have FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true, actions/checkout@v6, and use shell-safe env: blocks for GHA context expressions. No changes to app code, Docusaurus config, build logic, CI triggers, or deployment behavior.

Link to Devin session: https://app.devin.ai/sessions/b22ab1e0b73e4c509de302626f4a5af5
Requested by: @kphunter


Open in Devin Review

- Delete build-and-push-app.yaml.inactive and VERSION file
- Fix helm push error guard: use || { echo; exit 1; } pattern
- Add FORCE_JAVASCRIPT_ACTIONS_TO_NODE24 to all workflows
- Use shell-safe env: blocks for GHA expressions
- Add digest guard to release-retag sign step
- Fix deployment.yaml affinity check: use ne (toJson) instead of if
- Add x-release-please-version annotation to Chart.yaml version line
- Fix Dockerfile comments (## -> #)
- Update AGENTS.md to reflect manifest-based version tracking
- Reduce verbose block comments across workflows

Co-Authored-By: kyle_hunter@bcit.ca <kyle_hunter@bcit.ca>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional findings.

Open in Devin Review

@kphunter kphunter merged commit 77e14a9 into main May 24, 2026
7 checks passed
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