summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-12-18 13:23:47 +0100
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2020-12-18 13:23:47 +0100
commitbdab65963af7d31827ca05799b4859339c3c1942 (patch)
tree3f967b7b11b1c60a245bd5ccbc91362560a5b4d4 /build.xml
parent46749035a770a3542db8d1a6bb1258ea591e7078 (diff)
build.xml: Improve 'deploy' command.
Change-Id: I73687e27c6e41508ba177916eabaf87ef8655807
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml12
1 files changed, 8 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index e4111be..028c937 100644
--- a/build.xml
+++ b/build.xml
@@ -115,16 +115,20 @@
<arg value="-Dquarkus.container-image.push=true"/>
</exec>
<exec executable="kubectl">
+ <arg value="config"/>
+ <arg value="use-context"/>
+ <arg value="mulk"/>
+ </exec>
+ <exec executable="kubectl">
<arg value="set"/>
<arg value="image"/>
<arg value="deployments/mulkcms2"/>
<arg value="mulkcms2=docker.benkard.de/mulk/mulkcms2:${version.tag}"/>
</exec>
<exec executable="kubectl">
- <arg value="get"/>
- <arg value="pods"/>
- <arg value="-lapp=mulkcms2"/>
- <arg value="-w"/>
+ <arg value="rollout"/>
+ <arg value="status"/>
+ <arg value="deployments/mulkcms2"/>
</exec>
</target>