Compare commits

..

1 Commits
main ... step3

Author SHA1 Message Date
0f920c5a6e Set ingress true 2026-02-19 04:08:08 +02:00
3 changed files with 8 additions and 7 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" NAMESPACE: "sandbox-gitlab"
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` - Deploys to namespace: `sandbox-gitlab`
- 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` (separate from ArgoCD/Harbor setups) - **Namespace**: `sandbox-gitlab` (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 --create-namespace -n sandbox-gitlab --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 --create-namespace \ -n sandbox-gitlab --create-namespace \
--set image.tag=main-a1b2c3d --set image.tag=main-a1b2c3d
``` ```

View File

@ -2,7 +2,7 @@ replicaCount: 1
image: image:
repository: registry.gitlab.com/dvirlabs-group/open-meteo-service repository: registry.gitlab.com/dvirlabs-group/open-meteo-service
tag: "main-5bc9ffce" tag: "step3-110ba605"
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
imagePullSecrets: imagePullSecrets:
@ -95,3 +95,4 @@ grafana:
size: 5Gi size: 5Gi
storageClassName: "nfs-client" storageClassName: "nfs-client"
resources: {} resources: {}