Skip to content

ci: add BYO_GIT checkbox to the Deploy APL action#3436

Open
j-zimnowoda wants to merge 3 commits into
mainfrom
APL-2006-1
Open

ci: add BYO_GIT checkbox to the Deploy APL action#3436
j-zimnowoda wants to merge 3 commits into
mainfrom
APL-2006-1

Conversation

@j-zimnowoda

@j-zimnowoda j-zimnowoda commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

📌 Summary

This pull request adds support for a "Bring Your Own Git" (BYO_GIT) integration to the integration.yml GitHub Actions workflow. The main changes introduce a new input flag, validate required secrets, and pass these secrets to relevant jobs for use during installation.

Key changes:

BYO_GIT input and validation:

  • Added a new boolean input BYO_GIT to the workflow, allowing users to enable the BYO Git integration option.
  • Added a step to validate that required secrets (BYO_GIT_PAT and BYO_GIT_URL) are set if BYO_GIT is enabled, failing early if they are missing.

Secrets management and usage:

  • Passed BYO_GIT_PAT and BYO_GIT_URL secrets to the relevant job environments to make them available during workflow execution.
  • Updated the installation command to use the BYO Git repository URL, password, and branch (based on the domain) when the BYO_GIT option is enabled.

🔍 Reviewer Notes

🧹 Checklist

  • Code is readable, maintainable, and robust.
  • Unit tests added/updated

@j-zimnowoda j-zimnowoda marked this pull request as ready for review July 9, 2026 13:55
@j-zimnowoda j-zimnowoda requested review from Ani1357 and merll as code owners July 9, 2026 13:55
Copilot AI review requested due to automatic review settings July 9, 2026 13:55

Copilot AI left a comment

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.

Pull request overview

This PR updates the “Deploy APL” GitHub Actions workflow to optionally configure APL to use a predefined external Git repository for its values repo (“BYO_GIT”), controlled via a new workflow_dispatch checkbox. It adds secret validation and conditionally injects otomi.git.* Helm values during install when enabled.

Changes:

  • Add a BYO_GIT boolean input to the workflow_dispatch form.
  • Validate BYO_GIT_PAT / BYO_GIT_URL secrets when BYO_GIT is enabled.
  • When enabled, pass otomi.git.repoUrl, otomi.git.password, and otomi.git.branch into the APL install command.

Comment thread .github/workflows/integration.yml
@j-zimnowoda j-zimnowoda enabled auto-merge (squash) July 9, 2026 14:47
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