Added job to trigger service-ui build

This commit is contained in:
jpellizzari
2017-03-22 13:00:57 -07:00
parent 9228f7a7fa
commit b8326f417f
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -203,6 +203,10 @@ ui-pkg-upload: tmp/weave-scope.tgz
AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
aws s3 cp tmp/weave-scope.tgz s3://weaveworks-js-modules/weave-scope/weave-scope.tgz
trigger-service-ui-build:
curl -H "Content-Type: application/json" -X POST \
https://circleci.com/api/v1.1/project/github/weaveworks/service-ui/tree/master?circle-token=$$CIRCLE_API_TOKEN
clean:
$(GO) clean ./...
# Don't actually rmi the build images - rm'ing the .uptodate files is enough to ensure
+1 -1
View File
@@ -86,7 +86,7 @@ deployment:
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/$IMAGE &&
docker push ${DOCKER_ORGANIZATION:-$DOCKER_USER}/$IMAGE:$(./tools/image-tag)
done
(test -z "${UI_BUCKET_KEY_ID}" || (cd $SRCDIR && make ui-upload && make ui-pkg-upload))
(test -z "${UI_BUCKET_KEY_ID}" || (cd $SRCDIR && make ui-upload && make ui-pkg-upload && make trigger-service-ui-build))
)
- |
test -z "${QUAY_USER}" || (