mirror of
https://github.com/grafana/grafana.git
synced 2024-12-30 10:47:30 -06:00
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:
parent
47314d0f13
commit
ffdbe60da0
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user