diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-02 17:53:33 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-05-02 17:53:33 +0200 |
commit | 24af496668218245af06e7085a0076264bda56ef (patch) | |
tree | 784018d222772244eefb44130d94205924feff15 /deploy.sh | |
parent | misc: clean up unnecessary use of ptrs (diff) | |
download | fs-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-x | deploy.sh | 7 |
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 |