CI fails to create builds following changes to build process
Environment
- OS version: N/A
- Browser version: N/A
- Extension version: UI release 2020-001
- Last working version: UI compat next 2020-2
Steps to reproduce
- Run CI pipeline.
Observed behavior
CI "build" step fails:
$ python build.py build -t gecko adblockplus-firefox-${CI_COMMIT_SHA:0:8}.xpi
python: can't open file 'build.py': [Errno 2] No such file or directory
ERROR: Job failed: exit code 1
See logs.
Expected behavior
CI "build" step succeeds.
Further information
This regression was introduced in this adblockpluschrome commit, which deleted build.py
. Therefore our CI will fail to build any UI Nightlies that are built based on an adblockpluschrome revision newer than that commit.
While at it, we should also upgrade our Node.js version to 12.17 (see eyeo/adblockplus/adblockpluschrome#279 (closed)) to avoid eyeo/adblockplus/adblockpluschrome#278 (closed), which has also been shown to occur in the CI environment.
List of breaking changes in the upgrade from Node.js 10 to 12: https://nodejs.org/en/blog/uncategorized/10-lts-to-12-lts/
- Removed experimental warning for
fs.promises
. - Stopped searching in
require.resolve.paths
.
Edited by Thomas Greiner