From 21951e34ca8bf5a4d4c7d6ed3bb4521c0b49fe3c Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Wed, 2 Oct 2019 20:48:33 +0800 Subject: [PATCH] Remove deploy hook for previous ulexus/meteor:build based Docker image build artefacts --- deploy-hooks/check-build.sh | 7 ------- deploy.sh | 13 ------------- 2 files changed, 20 deletions(-) delete mode 100755 deploy-hooks/check-build.sh diff --git a/deploy-hooks/check-build.sh b/deploy-hooks/check-build.sh deleted file mode 100755 index df89b523..00000000 --- a/deploy-hooks/check-build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -test "$COMMIT" || export COMMIT=$(git rev-parse --short HEAD) - -PKGURL=https://unee-t-media.s3-accelerate.amazonaws.com/frontend/commit/${COMMIT}.tar.gz -echo Checking $PKGURL exists -curl -I -f $PKGURL || exit 1 diff --git a/deploy.sh b/deploy.sh index 416822e4..84a5842a 100755 --- a/deploy.sh +++ b/deploy.sh @@ -39,19 +39,6 @@ shift "$((OPTIND-1))" # Discard the options and sentinel -- export COMMIT=$(git rev-parse --short HEAD) -# Run deploy hooks -for hook in deploy-hooks/* -do - [[ -x $hook ]] || continue - if "$hook" - then - echo OK: "$hook" - else - echo FAIL: "$hook" - exit 1 - fi -done - if ! aws configure --profile $AWS_PROFILE list then echo Profile $AWS_PROFILE does not exist >&2