[wp-trac] [WordPress Trac] #62221: GitHub Actions updates and improvements for 6.8
WordPress Trac
noreply at wordpress.org
Thu Dec 5 08:11:11 UTC 2024
#62221: GitHub Actions updates and improvements for 6.8
------------------------------+---------------------
Reporter: desrosj | Owner: (none)
Type: task (blessed) | Status: new
Priority: normal | Milestone: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
------------------------------+---------------------
Comment (by afercia):
@desrosj Looks like [59484] broke my environment, it fails to start since
this morning. Console error:
{{{
> WordPress at 6.8.0 env:start
> node ./tools/local-env/scripts/start.js && node ./tools/local-
env/scripts/docker.js run -T --rm php composer update -W
invalid interpolation format for services.mysql.healthcheck.test.[]: "if [
\"$LOCAL_DB_TYPE\" = \"mariadb\" ]; then case \"$LOCAL_DB_VERSION\" in
5.5|10.0|10.1|10.2|10.3) mysqladmin ping -h localhost || exit $?;; *)
mariadb-admin ping -h localhost || exit $?;; esac; else mysqladmin ping -h
localhost || exit $?; fi". You may need to escape any $ with another $.
node:child_process:965
throw err;
^
Error: Command failed: docker compose -f docker-compose.yml up -d
wordpress-develop
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:890:11)
at execSync (node:child_process:962:15)
at Object.<anonymous> (/Users/andrea/Projects/wordpress-develop/tools
/local-env/scripts/start.js:34:1)
at Module._compile (node:internal/modules/cjs/loader:1369:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain]
(node:internal/modules/run_main:135:12) {
status: 15,
signal: null,
output: [ null, null, null ],
pid: 42399,
stdout: null,
stderr: null
}
Node.js v20.12.2
}}}
Looking at the part `You may need to escape any $ with another $.` of the
error message, I just changed the three 'exit $?' to `exit $$?` on
[https://github.com/WordPress/wordpress-
develop/blob/7d3ce7a591eb8fe85e626a1e288d5c1528a54321/docker-
compose.yml#L85 this line], and the start script worked again for me.
Could you please have a look when you have a chance? Thanks.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62221#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list