Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ci): restore CONFIG_ENV variable #45589

Merged
merged 2 commits into from
Sep 14, 2020

Conversation

nsakaimbo
Copy link
Contributor

Description

This PR restores the CONFIG_ENV variable, which was erroneously dropped during migration from the wp-desktop repo. Omitting this variable results in failure to create a valid auto-updater config.

Unfortunately this part of the build process has been silently failing as the failure case in the try/catch logic of the supporting node script was not logged to the console (meaning that the auto-updater included in builds published to this repo so far have been invalid). 😞

@matticbot
Copy link
Contributor

@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Sep 11, 2020
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@nsakaimbo nsakaimbo changed the base branch from master to desktop/release/6.1.0 September 11, 2020 18:17
@nsakaimbo nsakaimbo requested review from a team as code owners September 11, 2020 18:17
@nsakaimbo nsakaimbo force-pushed the desktop-fix-config-env branch from 40ed338 to 6ae9115 Compare September 11, 2020 18:20
@nsakaimbo nsakaimbo requested review from mokagio and removed request for a team September 11, 2020 18:23
Copy link
Contributor

@mokagio mokagio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally, verified that the build process fails if CONFIG_ENV is not specified.

@nsakaimbo nsakaimbo merged commit 1b788b1 into desktop/release/6.1.0 Sep 14, 2020
@nsakaimbo nsakaimbo deleted the desktop-fix-config-env branch September 14, 2020 14:16
@matticbot matticbot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants