CircleCI: Include build ID in version for new master pipeline (#22013)

* CircleCI: Include build ID in version for new master pipeline
This commit is contained in:
Arve Knudsen 2020-02-11 09:19:34 +01:00 committed by GitHub
parent 47314d0f13
commit ffdbe60da0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,8 +71,9 @@ jobs:
command: ./scripts/ci-job-started.sh
- run:
name: Build Grafana backend
# TODO: Don't use $CIRCLE_TAG for master
command: /tmp/workspace/bin/grabpl build-backend --edition << parameters.edition >> --variants << parameters.variant >> $CIRCLE_TAG
command: |
/tmp/workspace/bin/grabpl build-backend --edition << parameters.edition >> \
--variants << parameters.variant >> --build-id $CIRCLE_WORKFLOW_ID
- run:
name: Move artifacts
command: mkdir -p << parameters.edition >> && mv bin << parameters.edition >>/
@ -248,7 +249,7 @@ jobs:
command: cp -r /tmp/workspace/oss/* .
- run:
name: Package Grafana
command: /tmp/workspace/bin/grabpl package --edition oss
command: /tmp/workspace/bin/grabpl package --edition oss --build-id $CIRCLE_WORKFLOW_ID
- run:
name: Move artifacts
command: |
@ -281,7 +282,7 @@ jobs:
command: cp -r /tmp/workspace/enterprise/* .
- run:
name: Package Grafana
command: /tmp/workspace/bin/grabpl package --edition enterprise
command: /tmp/workspace/bin/grabpl package --edition enterprise --build-id $CIRCLE_WORKFLOW_ID
- run:
name: Move artifacts
command: |