File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed
dev/preview/workflow/preview Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ previewctl get-credentials --gcp-service-account "${PREVIEW_ENV_DEV_SA_KEY_PATH}
29
29
PREVIEW_NAME=" $( previewctl get-name --branch " ${INPUT_NAME} " ) "
30
30
export PREVIEW_NAME
31
31
32
- for var in WITH_WS_MANAGER_MK2 WITH_DEDICATED_EMU WITH_EE_LICENSE ANALYTICS WORKSPACE_FEATURE_FLAGS; do
32
+ for var in WSMANAGER_MK2 WITH_DEDICATED_EMU WITH_EE_LICENSE ANALYTICS WORKSPACE_FEATURE_FLAGS; do
33
33
input_var=" INPUT_${var} "
34
34
if [[ -n " ${! input_var:- } " ]]; then
35
35
export GITPOD_${var} =${! input_var}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ inputs:
13
13
previewctl_hash :
14
14
description : " The Leeway hash of the dev/preview/previewctl:docker package to be used when downloading previewclt"
15
15
required : false
16
- with_ws_manager_mk2 :
16
+ wsmanager_mk2 :
17
17
description : " Use WS Manager MK2"
18
18
required : false
19
19
with_dedicated_emu :
Original file line number Diff line number Diff line change @@ -296,7 +296,7 @@ jobs:
296
296
version : ${{needs.configuration.outputs.version}}
297
297
sa_key : ${{ secrets.GCP_CREDENTIALS }}
298
298
previewctl_hash : ${{ needs.build-previewctl.outputs.previewctl_hash }}
299
- with_ws_manager_mk2 : ${{needs.configuration.outputs.with_ws_manager_mk2}}
299
+ wsmanager_mk2 : ${{needs.configuration.outputs.with_ws_manager_mk2}}
300
300
with_dedicated_emulation : ${{needs.configuration.outputs.with_dedicated_emulation}}
301
301
with_ee_license : ${{needs.configuration.outputs.with_ee_license}}
302
302
analytics : ${{needs.configuration.outputs.analytics}}
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ jobs:
130
130
sa_key : ${{ secrets.GCP_CREDENTIALS }}
131
131
version : ${{ needs.configuration.outputs.version}}
132
132
previewctl_hash : ${{needs.configuration.outputs.previewctl_hash }}
133
+ wsmanager_mk2 : ${{ github.event.inputs.wsman_mk2 }}
133
134
134
135
check :
135
136
name : Check for regressions
@@ -204,7 +205,7 @@ jobs:
204
205
WS_MANAGER_TESTS="$BASE_TESTS_DIR/components/ws-manager"
205
206
WORKSPACE_TESTS="$BASE_TESTS_DIR/workspace"
206
207
207
- WS_MANAGER_MK2="${{ github.event.inputs.wsman_mk2 }}"
208
+ export WS_MANAGER_MK2="${{ github.event.inputs.wsman_mk2 }}"
208
209
209
210
go install github.com/jstemmer/go-junit-report/v2@latest
210
211
Original file line number Diff line number Diff line change @@ -634,4 +634,8 @@ leeway run components:add-smith-token \
634
634
-DPREVIEW_K3S_KUBE_CONTEXT=" ${PREVIEW_K3S_KUBE_CONTEXT} " \
635
635
-DPREVIEW_NAMESPACE=" ${PREVIEW_NAMESPACE} "
636
636
637
+ # Add experimental node label if ws-manager-mk2 is enabled.
638
+ # Remove once mk2 workspaces no longer run on experimental nodes.
639
+ kubectl --kubeconfig " ${PREVIEW_K3S_KUBE_PATH} " --context " ${PREVIEW_K3S_KUBE_CONTEXT} " --namespace=" ${PREVIEW_NAMESPACE} " label nodes " ${PREVIEW_K3S_KUBE_CONTEXT} " gitpod.io/experimental=" true" --overwrite
640
+
637
641
log_success " Installation is happy: https://${DOMAIN} /workspaces"
You can’t perform that action at this time.
0 commit comments