Compare commits
4
Commits
58312d489b
..
1.11
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9ae11b9b03 | ||
|
|
a44dcdb8f8 | ||
|
|
56f967c6e4 | ||
|
|
bb42713fb2 |
+4
-4
@@ -32,7 +32,7 @@ steps:
|
||||
repo: nexus.khongisa.co.za/litecharms-shop
|
||||
tags: [ latest, "1.${DRONE_BUILD_NUMBER}" ]
|
||||
custom_labels:
|
||||
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/scheduler
|
||||
- org.opencontainers.image.source=https://gitea.khongisa.co.za/litecharms/litecharms-shop
|
||||
- org.opencontainers.image.version=1.${DRONE_BUILD_NUMBER}
|
||||
- org.opencontainers.image.revision=${DRONE_COMMIT_SHA}
|
||||
username: { from_secret: docker_username }
|
||||
@@ -47,18 +47,18 @@ steps:
|
||||
commands:
|
||||
- echo "169.255.58.144 gitea.khongisa.co.za" >> /etc/hosts
|
||||
- apk add --no-cache curl
|
||||
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/scheduler.git
|
||||
- git remote set-url origin https://$${GITEA_USER}:$${GITEA_PASS}@gitea.khongisa.co.za/litecharms/litecharmsshop.git
|
||||
- git tag 1.${DRONE_BUILD_NUMBER}
|
||||
- git push origin 1.${DRONE_BUILD_NUMBER}
|
||||
- |
|
||||
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/scheduler/releases" \
|
||||
curl -X POST "https://gitea.khongisa.co.za/api/v1/repos/litecharms/litecharmsshop/releases" \
|
||||
-H "Authorization: token $${GITEA_TOKEN}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{
|
||||
\"tag_name\": \"1.${DRONE_BUILD_NUMBER}\",
|
||||
\"target_commitish\": \"${DRONE_COMMIT_SHA}\",
|
||||
\"name\": \"Release 1.${DRONE_BUILD_NUMBER}\",
|
||||
\"body\": \"### Artifacts\n* **Docker Image:** nexus.khongisa.co.za/litecharms-scheduler:1.${DRONE_BUILD_NUMBER}\n* **NuGet:** [View on Nexus](https://nexus.khongisa.co.za/repository/nuget-group/)\",
|
||||
\"body\": \"### Artifacts\n* **Docker Image:** nexus.khongisa.co.za/litecharms-shop:1.${DRONE_BUILD_NUMBER}\n* **NuGet:** [View on Nexus](https://nexus.khongisa.co.za/repository/nuget-group/)\",
|
||||
\"draft\": false,
|
||||
\"prerelease\": false
|
||||
}"
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
# LiteCharmsShop
|
||||
|
||||
The primary customer-facing web application for the LiteCharms platform.
|
||||
|
||||
## 🏗 Architecture
|
||||
* **Type:** Kubernetes Deployment
|
||||
* **Scale:** Horizontal scaling enabled via `replicas`.
|
||||
* **Ingress:** Managed via `IngressRouter` for external traffic routing.
|
||||
|
||||
## 🚀 CI/CD Workflow
|
||||
* **Trigger:** Pull Request to `master`.
|
||||
* **Build:** Compiles .NET 10.0 source.
|
||||
* **Containerize:** Docker image pushed to Nexus as `litecharms-scheduler:1.${DRONE_BUILD_NUMBER}`.
|
||||
* **Deploy:** * Updates UAT via `kubectl apply`.
|
||||
* Production deployment is triggered via **Promotion** to the `production` target.
|
||||
|
||||
## 🌐 Endpoints
|
||||
* **UAT:** `https://uat-shop.khongisa.co.za` (Internal/VPN)
|
||||
* **Monitoring:** Aspire Dashboard enabled via `Monitoring__Address`.
|
||||
Reference in New Issue
Block a user