migrate to autodeploy
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 26s
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 26s
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
895241c9bb
commit
912ac171be
@ -21,4 +21,16 @@ jobs:
|
|||||||
docker build -t git.xeserv.us/tulpamancy/tulpanomicon .
|
docker build -t git.xeserv.us/tulpamancy/tulpanomicon .
|
||||||
- name: push image
|
- name: push image
|
||||||
run: |
|
run: |
|
||||||
docker push git.xeserv.us/tulpamancy/tulpanomicon
|
docker push git.xeserv.us/tulpamancy/tulpanomicon
|
||||||
|
- uses: actions-hub/kubectl@master
|
||||||
|
env:
|
||||||
|
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_ALREST }}
|
||||||
|
KUBE_CONTEXT: alrest
|
||||||
|
with:
|
||||||
|
args: apply -k manifest
|
||||||
|
- uses: actions-hub/kubectl@master
|
||||||
|
env:
|
||||||
|
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG_ALREST }}
|
||||||
|
KUBE_CONTEXT: alrest
|
||||||
|
with:
|
||||||
|
args: rollout restart -n default deployment/tulpanomicon
|
22
manifest/deployment.yaml
Normal file
22
manifest/deployment.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: tulpanomicon
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: tulpanomicon
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: tulpanomicon
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: tulpanomicon
|
||||||
|
image: git.xeserv.us/tulpamancy/tulpanomicon:latest
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: "128Mi"
|
||||||
|
cpu: "500m"
|
||||||
|
ports:
|
||||||
|
- containerPort: 80
|
23
manifest/ingress.yaml
Normal file
23
manifest/ingress.yaml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: tulpanomicon
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- tulpanomicon.guide
|
||||||
|
secretName: tulpanomicon-public-tls
|
||||||
|
rules:
|
||||||
|
- host: tulpanomicon.guide
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- pathType: Prefix
|
||||||
|
path: "/"
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: tulpanomicon
|
||||||
|
port:
|
||||||
|
name: http
|
4
manifest/kustomization.yaml
Normal file
4
manifest/kustomization.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- ingress.yaml
|
||||||
|
- service.yaml
|
11
manifest/service.yaml
Normal file
11
manifest/service.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: tulpanomicon
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: tulpanomicon
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: 80
|
||||||
|
name: http
|
@ -1,7 +1,6 @@
|
|||||||
## eBook Edition
|
## eBook Edition
|
||||||
|
|
||||||
The following is the eBook edition of the tulpanomicon.
|
The following is the eBook edition of the tulpanomicon.
|
||||||
|
|
||||||
- [ePub (iBooks)](./tulpanomicon.epub)
|
- [ePub (iBooks)](./tulpanomicon.epub)
|
||||||
- [Kindle](./tulpanomicon.mobi)
|
|
||||||
- [PDF](./tulpanomicon.pdf)
|
- [PDF](./tulpanomicon.pdf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user