Repository navigation
ci: deploy releases/r10.0 to production (deployment changes only, no develop code) #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -113,7 +113,8 @@ Run several replicas behind a load balancer for throughput and availability, and | |
|
|
||
| | Pipeline | Trigger | What it does | | ||
| |---|---|---| | ||
| | `.github/workflows/bitween-api-cicd-gateway.yml` | Push to `releases/r10.0`, or manual | Runs unit and integration tests, pushes the image to Docker Hub, publishes the chart to GHCR and `charts.sf9.io`, pushes `SimplyWorks.Bitween.Sdk` to NuGet, tags the repository, and deploys the playground environment | | ||
| | `.github/workflows/bitween-api-cicd-gateway.yml` | Push to `releases/r10.0-develop`, or manual on it | Runs unit and integration tests, pushes the `simplify9/bitween-develop` image to Docker Hub, publishes the production chart (`charts/default`) as `bitween-develop` to `charts.sf9.io` and GHCR, tags the repository, and deploys to the `bitween-dev` namespace on the dev cluster (`app-dev.bitween.io`, on the gateway's `*.bitween.io` wildcard listener). Publishes no NuGet packages. | | ||
| | `.github/workflows/bitween-api-cicd-gateway.yml` | Push to `releases/r10.0`, or manual on it | Runs unit and integration tests, pushes the `simplify9/bitween` image to Docker Hub, publishes the `bitween` chart clients install to `charts.sf9.io` and GHCR (`oci://ghcr.io/simplify9/charts/bitween`), pushes `SimplyWorks.Bitween.Sdk` and `SimplyWorks.Bitween.Adapters` to NuGet, tags the repository, and deploys to the `bitween` namespace on the production cluster (`app.bitween.io`, on the gateway's `*.bitween.io` wildcard listener). The deploy runs only while the `BITWEEN_PROD_DEPLOY` repository variable is `true`. | | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Remove the Adapters package from the production pipeline row. The workflow sets 🧰 Tools🪛 LanguageTool[uncategorized] ~117-~117: The official name of this software platform is spelled with a capital “H”. (GITHUB) [grammar] ~117-~117: Ensure spelling is correct (QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1) 🤖 Prompt for AI Agents |
||
| | `.github/workflows/critical-vuln-check.yml` | Pull requests to release and develop branches | Fails while critical Dependabot alerts are open | | ||
| | `.github/workflows/dependabot-auto-merge.yml` | Dependabot pull requests | Auto-merges patch updates | | ||
| | `azure-pipelines.yml` | `releases/*` | The earlier Azure DevOps pipeline, still in the repository | | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🔴 Critical | 🏗️ Heavy lift
Do not expose production with published seed credentials.
When
BITWEEN_PROD_DEPLOYistrue, this job deploys the application atapp.bitween.io. The PR states that the first deployment seeds an admin password and a SYSTEM partner API key already published in the repository. Rotating them after deployment leaves a window for anyone with those credentials to authenticate. Provision unique credentials before enabling the public route, or keep the route inaccessible until both credentials are changed. As per path instructions, “Treat GitHub Actions changes as supply-chain sensitive.”🤖 Prompt for AI Agents
Source: Path instructions