remove other detritus
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 27s
All checks were successful
Gitea Actions CI / Build and deploy (push) Successful in 27s
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
4982324231
commit
946f184faf
25
deploy.sh
25
deploy.sh
@ -1,25 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
sh -c 'cd src && ./build.sh'
|
||||
mdbook build
|
||||
|
||||
time=`date +%m%d%Y%H%M`
|
||||
tag=`git describe --tags`
|
||||
image="xena/tulpanomicon:$tag-$time"
|
||||
|
||||
docker build -t $image .
|
||||
docker push $image
|
||||
|
||||
dyson manifest \
|
||||
--name=tulpanomicon \
|
||||
--domain=tulpanomicon.guide \
|
||||
--dockerImage=$image \
|
||||
--containerPort=3000 \
|
||||
--replicas=1 \
|
||||
--useProdLE=true > k8s/manifest.yml
|
||||
kubens apps
|
||||
kubectl apply -f k8s/
|
||||
rm k8s/manifest.yml
|
14
k8s/tor.yml
14
k8s/tor.yml
@ -1,14 +0,0 @@
|
||||
apiVersion: tor.k8s.io/v1alpha1
|
||||
kind: OnionService
|
||||
metadata:
|
||||
name: tulpanomicon
|
||||
spec:
|
||||
version: 2
|
||||
selector:
|
||||
app: tulpanomicon
|
||||
ports:
|
||||
- targetPort: 3000
|
||||
publicPort: 80
|
||||
privateKeySecret:
|
||||
name: tulpanomicon-tor-key
|
||||
key: private_key
|
Loading…
x
Reference in New Issue
Block a user