mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
Merge pull request #2376 from weaveworks/2375-component-ci
Add job to trigger service-ui build
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
@@ -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}" || (
|
||||
|
||||
Reference in New Issue
Block a user