Deploy the app in sandbox ns not sandbox-gitlab
This commit is contained in:
parent
1cc53d145d
commit
5518e818be
@ -4,7 +4,7 @@ variables:
|
||||
IMAGE_REPO: "$CI_REGISTRY_IMAGE"
|
||||
TAG: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
|
||||
RELEASE: "open-meteo-service-gitlab"
|
||||
NAMESPACE: "sandbox-gitlab"
|
||||
NAMESPACE: "sandbox"
|
||||
CHART_PATH: "./open-meteo-service"
|
||||
VALUES_FILE: "./values.yaml"
|
||||
|
||||
|
||||
@ -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]`
|
||||
- Pushes back to the repository using `CI_JOB_TOKEN` for authentication
|
||||
- **Helm Deployment**:
|
||||
- Deploys to namespace: `sandbox-gitlab`
|
||||
- Deploys to namespace: `sandbox`
|
||||
- Release name: `open-meteo-service-gitlab`
|
||||
- Uses the updated values.yaml file from the workspace
|
||||
- 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)
|
||||
- **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)
|
||||
|
||||
### Viewing Pipeline Status
|
||||
@ -163,11 +163,11 @@ To deploy manually with a specific tag:
|
||||
```bash
|
||||
# Option 1: Deploy using updated values.yaml
|
||||
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
|
||||
helm upgrade --install open-meteo-service-gitlab ./open-meteo-service \
|
||||
-n sandbox-gitlab --create-namespace \
|
||||
-n sandbox --create-namespace \
|
||||
--set image.tag=main-a1b2c3d
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user