Skip to content

Commit 456faad

Browse files
committed
[installer-tests] fix the subdomain for upgrade tests to include the provider
1 parent f0d847c commit 456faad

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.werft/jobs/build/self-hosted-upgrade-tests.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,19 @@ export async function triggerUpgradeTests(werft: Werft, config: JobConfig, usern
4444
const channel: string = config.replicatedChannel || "beta";
4545

4646
exec(`git config --global user.name "${username}"`);
47-
var annotation = `-a version=${config.fromVersion} -a upgrade=true -a channel=${channel} -a preview=true -a skipTests=true`;
47+
var annotation = ` -a deps=external -a version=${config.fromVersion} -a upgrade=true -a channel=${channel} -a preview=true -a skipTests=true`;
4848

4949
// the following bit make sure that the subdomain stays the same upon multiple runs, and always start with release
50-
const regex = /[\/,\.]/g;
51-
const subdomain: string = config.repository.branch.replace(regex, '-')
52-
annotation = annotation.concat(` -a subdomain=${subdomain}`)
50+
// const regex = /[\/,\.]/g;
51+
// const subdomain: string = config.repository.branch.replace(regex, '-')
52+
const subdomain: string = "release"
5353

5454
for (let phase in phases) {
5555
const upgradeConfig = phases[phase];
5656

5757
werft.phase(upgradeConfig.phase, upgradeConfig.description);
5858

59-
annotation = `${annotation} -a cluster=${phase} -a updateGitHubStatus=gitpod-io/gitpod`
59+
annotation = `${annotation} -a cluster=${phase} -a updateGitHubStatus=gitpod-io/gitpod -a subdomain=${subdomain}-${upgradeConfig.cloud}`
6060

6161
const testFile: string = `.werft/${phase}-installer-tests.yaml`;
6262

0 commit comments

Comments
 (0)