Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 5518e818be | |||
|
|
1cc53d145d | ||
| 5bc9ffceff | |||
| 007fc00710 | |||
| 9cc2501f89 | |||
|
|
5bd192ca3f | ||
| 00e333cbe7 | |||
|
|
451a01cc87 | ||
| 41a9a1e8e2 |
@ -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
|
||||
```
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@ replicaCount: 1
|
||||
|
||||
image:
|
||||
repository: registry.gitlab.com/dvirlabs-group/open-meteo-service
|
||||
tag: "step3-110ba605"
|
||||
tag: "main-5bc9ffce"
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
imagePullSecrets:
|
||||
@ -94,5 +94,4 @@ grafana:
|
||||
- ReadWriteOnce
|
||||
size: 5Gi
|
||||
storageClassName: "nfs-client"
|
||||
resources: {}
|
||||
|
||||
resources: {}
|
||||
Loading…
x
Reference in New Issue
Block a user