deployment
Build CuraFlow HMS / build-and-deploy (push) Failing after 10s
Details
Build CuraFlow HMS / build-and-deploy (push) Failing after 10s
Details
This commit is contained in:
parent
c6f2c5639a
commit
584469cf87
|
|
@ -0,0 +1,23 @@
|
||||||
|
name: Build CuraFlow HMS
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-and-deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
env:
|
||||||
|
DOCKER_HOST: tcp://172.17.0.1:2375
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Build and push (Kaniko)
|
||||||
|
run: |
|
||||||
|
JOB_CONTAINER=$(docker ps --format '{{.Names}}' | grep 'GITEA-ACTIONS-TASK' | head -1)
|
||||||
|
docker run --rm \
|
||||||
|
--volumes-from "$JOB_CONTAINER" \
|
||||||
|
gcr.io/kaniko-project/executor:latest \
|
||||||
|
--context=dir:///workspace/deepkoluguri/curaflow-hms \
|
||||||
|
--dockerfile=Dockerfile \
|
||||||
|
--destination=192.168.8.250:5000/curaflow:latest \
|
||||||
|
--insecure \
|
||||||
|
--skip-tls-verify
|
||||||
11
k8s/app.yaml
11
k8s/app.yaml
|
|
@ -14,7 +14,7 @@ spec:
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: curaflow
|
- name: curaflow
|
||||||
image: curaflow:latest
|
image: 192.168.8.250:5000/curaflow:latest
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 3000
|
- containerPort: 3000
|
||||||
env:
|
env:
|
||||||
|
|
@ -37,10 +37,15 @@ kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: curaflow-ingress
|
name: curaflow-ingress
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/ingress.class: apisix # Using APISIX as per user's previous context
|
kubernetes.io/ingress.class: apisix
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt-prod # Common pattern in these setups
|
||||||
spec:
|
spec:
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- curaflow.applaude.net
|
||||||
|
secretName: curaflow-tls
|
||||||
rules:
|
rules:
|
||||||
- host: curaflow.local
|
- host: curaflow.applaude.net
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue