File tree 1 file changed +4
-1
lines changed
.werft/jobs/build/installer
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -247,10 +247,13 @@ EOF`);
247
247
248
248
private configureConfigCat ( slice : string ) {
249
249
// This key is not a secret, it is a unique identifier of our ConfigCat application
250
+ const configcatKey = "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw" ;
250
251
exec (
251
- `yq w -i ${ this . options . installerConfigPath } experimental.webapp.configcatKey "WBLaCPtkjkqKHlHedziE9g/LEAOCNkbuUKiqUZAcVg7dw "` ,
252
+ `yq w -i ${ this . options . installerConfigPath } experimental.webapp.configcatKey "${ configcatKey } "` ,
252
253
{ slice : slice } ,
253
254
) ;
255
+ exec ( `yq w -i ${ this . options . installerConfigPath } 'workspace.templates.default.spec.containers.(name==workspace).env[+].name' GITPOD_CONFIGCAT_SDK_KEY` ) ;
256
+ exec ( `yq w -i ${ this . options . installerConfigPath } 'workspace.templates.default.spec.containers.(name==workspace).env.(name==GITPOD_CONFIGCAT_SDK_KEY).value' "${ configcatKey } "` ) ;
254
257
}
255
258
256
259
private includeAnalytics ( slice : string ) : void {
You can’t perform that action at this time.
0 commit comments