mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: build enterprise2 with OSS (#45317)
* Build: build enterprise2 with OSS
This commit is contained in:
parent
77a0a71929
commit
334ee9c4a7
14
.drone.yml
14
.drone.yml
@ -3431,9 +3431,7 @@ steps:
|
|||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone-enterprise
|
- clone-enterprise
|
||||||
environment:
|
environment: {}
|
||||||
GITHUB_TOKEN:
|
|
||||||
from_secret: github_token
|
|
||||||
image: grafana/build-container:1.4.9
|
image: grafana/build-container:1.4.9
|
||||||
name: initialize
|
name: initialize
|
||||||
- commands:
|
- commands:
|
||||||
@ -3766,9 +3764,7 @@ steps:
|
|||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone-enterprise
|
- clone-enterprise
|
||||||
environment:
|
environment: {}
|
||||||
GITHUB_TOKEN:
|
|
||||||
from_secret: github_token
|
|
||||||
image: grafana/build-container:1.4.9
|
image: grafana/build-container:1.4.9
|
||||||
name: initialize
|
name: initialize
|
||||||
- commands:
|
- commands:
|
||||||
@ -3931,9 +3927,7 @@ steps:
|
|||||||
- yarn install --immutable
|
- yarn install --immutable
|
||||||
depends_on:
|
depends_on:
|
||||||
- clone-enterprise
|
- clone-enterprise
|
||||||
environment:
|
environment: {}
|
||||||
GITHUB_TOKEN:
|
|
||||||
from_secret: github_token
|
|
||||||
image: grafana/build-container:1.4.9
|
image: grafana/build-container:1.4.9
|
||||||
name: initialize
|
name: initialize
|
||||||
- commands:
|
- commands:
|
||||||
@ -4218,6 +4212,6 @@ kind: secret
|
|||||||
name: gcp_upload_artifacts_key
|
name: gcp_upload_artifacts_key
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 5c4a8e18a79c5031b622d3c54a571d91683dc7ccf73115eae29dc95cf5216a19
|
hmac: 1d7c4a778a9dcf8f7f69100cdef990a89ef563383c7b81ea79df1a04b815343d
|
||||||
|
|
||||||
...
|
...
|
||||||
|
@ -64,8 +64,12 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
|
|||||||
if ver_mode == 'release':
|
if ver_mode == 'release':
|
||||||
committish = '${DRONE_TAG}'
|
committish = '${DRONE_TAG}'
|
||||||
source_commit = ' ${DRONE_TAG}'
|
source_commit = ' ${DRONE_TAG}'
|
||||||
|
environment = {
|
||||||
|
'GITHUB_TOKEN': from_secret(github_token),
|
||||||
|
}
|
||||||
elif ver_mode == 'release-branch':
|
elif ver_mode == 'release-branch':
|
||||||
committish = '${DRONE_BRANCH}'
|
committish = '${DRONE_BRANCH}'
|
||||||
|
environment = {}
|
||||||
else:
|
else:
|
||||||
if is_downstream:
|
if is_downstream:
|
||||||
source_commit = ' $${SOURCE_COMMIT}'
|
source_commit = ' $${SOURCE_COMMIT}'
|
||||||
@ -79,9 +83,7 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
|
|||||||
'depends_on': [
|
'depends_on': [
|
||||||
'clone-enterprise',
|
'clone-enterprise',
|
||||||
],
|
],
|
||||||
'environment': {
|
'environment': environment,
|
||||||
'GITHUB_TOKEN': from_secret(github_token),
|
|
||||||
},
|
|
||||||
'commands': [
|
'commands': [
|
||||||
'mv bin/grabpl /tmp/',
|
'mv bin/grabpl /tmp/',
|
||||||
'rmdir bin',
|
'rmdir bin',
|
||||||
|
Loading…
Reference in New Issue
Block a user