Skip to content

Disable DDEV telemetry for E2E tests #67

Description

@alexkuc

From E2E PR #146. E2E was reverted because of catastrophic error as DDEV is not available initially in GitHub Runner:

$ ddev config global --instrumentation-opt-in=false
/bin/sh: 1: ddev: not found
error Command failed with exit code 127.

Start from here

private ddev(): void {
log('Installing DDEV...');
const curl = this.spawnSync.call('curl', ['-fsSL', 'https://ddev.com/install.sh'], { stdout: 'pipe' });
const bashArgs: string[] = [];
const ddevVersion = this.getDdevVersion();
if (ddevVersion) {
bashArgs.push('-s');
bashArgs.push(ddevVersion);
}
this.spawnSync.call('bash', bashArgs, { stdin: 'pipe', input: curl.stdout });
}

On an unrelated note, it looks like switch -s should not be here:

# Usage: install_ddev.sh or install_ddev.sh

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions