24
24
build_leeway_target : ${{ steps.output.outputs.build_leeway_target }}
25
25
with_large_vm : ${{ steps.output.outputs.with_large_vm }}
26
26
publish_to_npm : ${{ steps.output.outputs.publish_to_npm }}
27
+ publish_to_jbmp : ${{ steps.output.outputs.publish_to_jbmp }}
28
+ with_ws_manager_mk2 : ${{ steps.output.outputs.with_ws_manager_mk2 }}
29
+ with_dedicated_emulation : ${{ steps.output.outputs.with_dedicated_emulation }}
30
+ with_ee_license : ${{ steps.output.outputs.with_ee_license }}
31
+ with_slow_database : ${{ steps.output.outputs.with_slow_database }}
32
+ analytics : ${{ steps.output.outputs.analytics }}
33
+ workspace_feature_flags : ${{ steps.output.outputs.workspace_feature_flags }}
27
34
steps :
28
35
- name : " Determine Branch"
29
36
id : branches
45
52
echo "build_leeway_target=$(echo "$PR_DESC" | sed -n -e 's/^.*leeway-target=//p' | sed 's/\r$//')"
46
53
echo "with_large_vm=${{ contains(github.event.pull_request.body, '[X] /werft with-large-vm') }}"
47
54
echo "publish_to_npm=${{ contains(github.event.pull_request.body, '[X] /werft publish-to-npm') }}"
55
+ echo "publish_to_jbmp=${{ contains(github.event.pull_request.body, '[X] /werft publish-to-jb-marketplace') }}"
56
+ echo "with_ws_manager_mk2=${{ contains(github.event.pull_request.body, '[X] with-ws-manager-mk2') }}"
57
+ echo "with_dedicated_emulation=${{ contains(github.event.pull_request.body, '[X] with-dedicated-emulation') }}"
58
+ echo "with_ee_license=${{ contains(github.event.pull_request.body, '[X] with-ee-license') }}"
59
+ echo "with_slow_database=${{ contains(github.event.pull_request.body, '[X] with-slow-database') }}"
60
+ echo "analytics=${{ contains(github.event.pull_request.body, '[X] analytics') }}"
61
+ echo "workspace_feature_flags=$(echo "$PR_DESC" | grep -oP '(?<=\[X\] workspace-feature-flags).*')"
48
62
} >> $GITHUB_OUTPUT
49
63
50
64
build-previewctl :
@@ -168,6 +182,8 @@ jobs:
168
182
secrets : |-
169
183
segment-io-token:gitpod-core-dev/segment-io-token
170
184
npm-auth-token:gitpod-core-dev/npm-auth-token
185
+ jb-marketplace-publish-token:gitpod-core-dev/jb-marketplace-publish-token
186
+ codecov-token:gitpod-core-dev/codecov
171
187
- name : Leeway Build
172
188
id : leeway
173
189
shell : bash
@@ -181,6 +197,9 @@ jobs:
181
197
PR_LEEWAY_TARGET : ${{needs.configuration.outputs.build_leeway_target}}
182
198
NPM_AUTH_TOKEN : ' ${{ steps.secrets.outputs.npm-auth-token }}'
183
199
PUBLISH_TO_NPM : ${{ needs.configuration.outputs.publish_to_npm == 'true' }}
200
+ JB_MARKETPLACE_PUBLISH_TOKEN : ' ${{ steps.secrets.outputs.jb-marketplace-publish-token }}'
201
+ PUBLISH_TO_JBPM : ${{ needs.configuration.outputs.publish_to_jbmp == 'true' }}
202
+ CODECOV_TOKEN : ' ${{ steps.secrets.outputs.codecov-token }}'
184
203
run : |
185
204
[[ "$PR_NO_CACHE" = "true" ]] && CACHE="none" || CACHE="remote"
186
205
[[ "$PR_NO_TEST" = "true" ]] && TEST="--dont-test" || TEST=""
@@ -195,9 +214,11 @@ jobs:
195
214
--cache $CACHE \
196
215
$TEST \
197
216
-Dversion=$VERSION \
217
+ -DlocalAppVersion=$VERSION \
198
218
-DSEGMENT_IO_TOKEN=$SEGMENT_IO_TOKEN \
199
219
-DpublishToNPM="${PUBLISH_TO_NPM}" \
200
220
-DnpmPublishTrigger="${NPM_PUBLISH_TRIGGER}" \
221
+ -DpublishToJBMarketplace="${PUBLISH_TO_JBPM}" \
201
222
--coverage-output-path=/__w/gitpod/gitpod/test-coverage-report \
202
223
--report report.html || RESULT=$?
203
224
set +x
@@ -229,6 +250,12 @@ jobs:
229
250
version : ${{needs.configuration.outputs.version}}
230
251
sa_key : ${{ secrets.GCP_CREDENTIALS }}
231
252
previewctl_hash : ${{ needs.build-previewctl.outputs.previewctl_hash }}
253
+ with_ws_manager_mk2 : ${{needs.configuration.outputs.with_ws_manager_mk2}}
254
+ with_dedicated_emulation : ${{needs.configuration.outputs.with_dedicated_emulation}}
255
+ with_ee_license : ${{needs.configuration.outputs.with_ee_license}}
256
+ with_slow_database : ${{needs.configuration.outputs.with_slow_database}}
257
+ analytics : ${{needs.configuration.outputs.analytics}}
258
+ workspace_feature_flags : ${{needs.configuration.outputs.workspace_feature_flags}}
232
259
233
260
monitoring :
234
261
name : " Install Monitoring Satellite"
0 commit comments