Closed DeeDeeG closed 2 years ago
It worked on my personal CI instance:
Passing CI on Release Branch Build pipeline on my CI: link to passing CI run
See this line specifically, from the output of my CI run's "Upload Artifacts" job:
Environment variable "process.env.ATOM_RELEASES_AZURE_CONN_STRING," is not set, skipping Azure upload.
There is a tiny typo -- I included an unnecessary comma in the console.log()
string when skipping upload to Azure... Can fix that real quick if wanted. Edit: I pushed a commit to delete the extra comma.
Requirements for Contributing a Bug Fix (from template, click to expand):
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion. * The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates atIdentify the Bug
CI isn't passing, because it tries to upload binary blobs to Azure Storage, but without the needed credentials. This errors out, causing CI to fail (even after the build and tests may have succeeded.)
Description of the Change
script/vsts/upload-artifacts.js
to skip uploading binary blobs to Azure Storage if env varATOM_RELEASES_AZURE_CONN_STRING
is unset or empty (more precisely: if it is falsy in JS).Alternate Designs
None.
Possible Drawbacks
None.
Verification Process
CI should pass if this PR is done right.
NOTE: The PR pipeline will not test this change. I will manually run the release branch pipeline on my personal CI instance to see if it passes. CI passing directly on this PR will be the "Pull Requests" pipeline, which has nothing to do with this change.
Update: It works for me on my personal CI instance: CI link
Release Notes
N/A