adjust
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Wolfgang Hottgenroth 2025-01-13 14:44:58 +01:00
parent 5463406f8c
commit c0101a5b39
3 changed files with 14 additions and 14 deletions

View File

@ -10,7 +10,7 @@ steps:
from_secret: container_registry_username from_secret: container_registry_username
password: password:
from_secret: container_registry_password from_secret: container_registry_password
build-args: "BASE_URL=https://minimal-setups.hottis.de, RELEASETAG=${CI_COMMIT_SHA}" build-args: "BASE_URL=https://minimal-setups.de, RELEASETAG=${CI_COMMIT_SHA}"
dockerfile: Dockerfile dockerfile: Dockerfile
when: when:

View File

@ -1,21 +1,21 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: hugo-build-and-serve-env name: minimal-setups
labels: labels:
app: hugo-build-and-serve-env app: minimal-setups
spec: spec:
replicas: 1 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: hugo-build-and-serve-env app: minimal-setups
template: template:
metadata: metadata:
labels: labels:
app: hugo-build-and-serve-env app: minimal-setups
spec: spec:
containers: containers:
- name: hugo-build-and-serve-env - name: minimal-setups
image: %IMAGE% image: %IMAGE%
ports: ports:
- containerPort: 8080 - containerPort: 8080
@ -24,11 +24,11 @@ spec:
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: hugo-build-and-serve-env name: minimal-setups
spec: spec:
type: ClusterIP type: ClusterIP
selector: selector:
app: hugo-build-and-serve-env app: minimal-setups
ports: ports:
- name: http - name: http
targetPort: 8080 targetPort: 8080
@ -37,23 +37,23 @@ spec:
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: hugo-build-and-serve-env name: minimal-setups
annotations: annotations:
cert-manager.io/cluster-issuer: letsencrypt-production-http cert-manager.io/cluster-issuer: letsencrypt-production-http
spec: spec:
tls: tls:
- hosts: - hosts:
- minimal-setups.hottis.de - minimal-setups.de
secretName: hugo-build-and-serve-env-cert secretName: minimal-setups
rules: rules:
- host: minimal-setups.hottis.de - host: minimal-setups.de
http: http:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: hugo-build-and-serve-env name: minimal-setups
port: port:
number: 80 number: 80

View File

@ -6,7 +6,7 @@ if [ "$IMAGE_TAG" == "" ]; then
fi fi
IMAGE_NAME=gitea.hottis.de/wn/hugo-build-and-serve-env IMAGE_NAME=gitea.hottis.de/wn/minimal-setups
NAMESPACE=homepages NAMESPACE=homepages
DEPLOYMENT_DIR=$PWD/deployment DEPLOYMENT_DIR=$PWD/deployment