about summary refs log tree commit diff
path: root/deploy.sh
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-02 17:53:33 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-02 17:53:33 +0200
commit24af496668218245af06e7085a0076264bda56ef (patch)
tree784018d222772244eefb44130d94205924feff15 /deploy.sh
parentmisc: clean up unnecessary use of ptrs (diff)
downloadfs-tracer-backend-24af496668218245af06e7085a0076264bda56ef.tar.gz
fs-tracer-backend-24af496668218245af06e7085a0076264bda56ef.tar.bz2
fs-tracer-backend-24af496668218245af06e7085a0076264bda56ef.zip
misc: add deploy.sh script
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..93323a7
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+bazel run //src/rest-api/cmd:push -- --tag "rest-api-$(git rev-parse --short HEAD)"
+helm upgrade rest-api --set image.tag="rest-api-$(git rev-parse --short HEAD)" k8s/rest-api
+
+bazel run //src/payload-processor/cmd:push -- --tag "payload-processor-$(git rev-parse --short HEAD)"
+helm upgrade payload-processor --set image.tag="payload-processor-$(git rev-parse --short HEAD)" k8s/payload-processor