Deploy the app in sandbox ns not sandbox-gitlab

This commit is contained in:
dvirlabs 2026-02-19 04:22:57 +02:00
parent 1cc53d145d
commit 5518e818be
2 changed files with 5 additions and 5 deletions

View File

@ -4,7 +4,7 @@ variables:
IMAGE_REPO: "$CI_REGISTRY_IMAGE" IMAGE_REPO: "$CI_REGISTRY_IMAGE"
TAG: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}" TAG: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
RELEASE: "open-meteo-service-gitlab" RELEASE: "open-meteo-service-gitlab"
NAMESPACE: "sandbox-gitlab" NAMESPACE: "sandbox"
CHART_PATH: "./open-meteo-service" CHART_PATH: "./open-meteo-service"
VALUES_FILE: "./values.yaml" VALUES_FILE: "./values.yaml"

View File

@ -125,7 +125,7 @@ The pipeline consists of two stages: **build** and **deploy**.
- Commits the change with message: `ci: bump image tag to <tag> [skip ci]` - Commits the change with message: `ci: bump image tag to <tag> [skip ci]`
- Pushes back to the repository using `CI_JOB_TOKEN` for authentication - Pushes back to the repository using `CI_JOB_TOKEN` for authentication
- **Helm Deployment**: - **Helm Deployment**:
- Deploys to namespace: `sandbox-gitlab` - Deploys to namespace: `sandbox`
- Release name: `open-meteo-service-gitlab` - Release name: `open-meteo-service-gitlab`
- Uses the updated values.yaml file from the workspace - Uses the updated values.yaml file from the workspace
- Waits for deployment to be ready (5-minute timeout) - Waits for deployment to be ready (5-minute timeout)
@ -147,7 +147,7 @@ The pipeline includes safeguards to prevent infinite pipeline triggers:
- **Cluster**: External k3s homelab cluster (not ephemeral) - **Cluster**: External k3s homelab cluster (not ephemeral)
- **Runner**: Self-hosted GitLab runner tagged with `homelab` - **Runner**: Self-hosted GitLab runner tagged with `homelab`
- **Namespace**: `sandbox-gitlab` (separate from ArgoCD/Harbor setups) - **Namespace**: `sandbox` (separate from ArgoCD/Harbor setups)
- **Ingress**: Configured for `open-meteo-gitlab.dvirlabs.com` (see values.yaml) - **Ingress**: Configured for `open-meteo-gitlab.dvirlabs.com` (see values.yaml)
### Viewing Pipeline Status ### Viewing Pipeline Status
@ -163,11 +163,11 @@ To deploy manually with a specific tag:
```bash ```bash
# Option 1: Deploy using updated values.yaml # Option 1: Deploy using updated values.yaml
helm upgrade --install open-meteo-service-gitlab ./open-meteo-service \ helm upgrade --install open-meteo-service-gitlab ./open-meteo-service \
-n sandbox-gitlab --create-namespace -n sandbox --create-namespace
# Option 2: Override tag via --set # Option 2: Override tag via --set
helm upgrade --install open-meteo-service-gitlab ./open-meteo-service \ helm upgrade --install open-meteo-service-gitlab ./open-meteo-service \
-n sandbox-gitlab --create-namespace \ -n sandbox --create-namespace \
--set image.tag=main-a1b2c3d --set image.tag=main-a1b2c3d
``` ```