This commit is contained in:
jpellizzari
2017-02-13 14:30:23 -08:00
parent 654549d0ca
commit ba3d9cc8c5

View File

@@ -168,6 +168,7 @@ ui-upload: client/build-external/index.html
aws s3 cp client/build-external/ s3://static.weave.works/scope-ui/ --recursive --exclude '*.html'
ui-build-pkg:
printenv &&
$(sudo) docker run $(RUN_FLAGS) \
-v $(shell pwd)/client/app:/home/weave/app \
-v $(shell pwd)/tmp:/home/weave/tmp \
@@ -175,7 +176,7 @@ ui-build-pkg:
npm run bundle && \
AWS_ACCESS_KEY_ID=$$UI_BUCKET_KEY_ID \
AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
aws s3 cp ./tmp/weave-scope.tgz s3://weaveworks-js-modules/weave-scope/weave-scope.tgz --acl public-read && printenv
aws s3 cp ./tmp/weave-scope.tgz s3://weaveworks-js-modules/weave-scope/weave-scope.tgz --acl public-read
clean:
$(GO) clean ./...