Build: build enterprise2 with OSS (#45317)

* Build: build enterprise2 with OSS
This commit is contained in:
malcolmholmes
2022-02-11 15:38:40 +01:00
committed by GitHub
parent 77a0a71929
commit 334ee9c4a7
2 changed files with 9 additions and 13 deletions
+5 -3
View File
@@ -64,8 +64,12 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
if ver_mode == 'release':
committish = '${DRONE_TAG}'
source_commit = ' ${DRONE_TAG}'
environment = {
'GITHUB_TOKEN': from_secret(github_token),
}
elif ver_mode == 'release-branch':
committish = '${DRONE_BRANCH}'
environment = {}
else:
if is_downstream:
source_commit = ' $${SOURCE_COMMIT}'
@@ -79,9 +83,7 @@ def initialize_step(edition, platform, ver_mode, is_downstream=False, install_de
'depends_on': [
'clone-enterprise',
],
'environment': {
'GITHUB_TOKEN': from_secret(github_token),
},
'environment': environment,
'commands': [
'mv bin/grabpl /tmp/',
'rmdir bin',