Merge pull request #2376 from weaveworks/2375-component-ci

Add job to trigger service-ui build
This commit is contained in:
Jordan Pellizzari
2017-03-22 14:14:35 -07:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

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

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}" || (