summaryrefslogtreecommitdiff
path: root/curl.sh
diff options
context:
space:
mode:
authorLars Wirzenius <lwirzenius@wikimedia.org>2019-07-22 18:10:47 +0300
committerLars Wirzenius <lwirzenius@wikimedia.org>2019-07-22 18:10:47 +0300
commitb25fa26e008851b98d116ed1fb96c5e590af37c5 (patch)
tree01e3ef67421c2c9a9000d9284635f38557794afd /curl.sh
parentee666d20cee6371bee46e24a44412633bb0bfeea (diff)
downloadwmf-ci-arch-b25fa26e008851b98d116ed1fb96c5e590af37c5.tar.gz
Add: debug loggingliw/controller
Diffstat (limited to 'curl.sh')
-rwxr-xr-xcurl.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/curl.sh b/curl.sh
index 412192c..c4ff163 100755
--- a/curl.sh
+++ b/curl.sh
@@ -27,6 +27,12 @@ case "$cmd" in
runcurl -X GET https://wmf2-artifacts.vm.liw.fi/blobs/"$1"
;;
+ deploy)
+ runcurl -sv -X POST --data-binary @"$1" \
+ -H "Content-Type: application/octet-stream" \
+ https://wmf2-deployer.vm.liw.fi/publish
+ ;;
+
*)
echo "eek" 1>&2
exit 1