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

Build issues using GitLab CI #4122

Closed
DimitriLubenski opened this issue May 15, 2018 · 1 comment
Closed

Build issues using GitLab CI #4122

DimitriLubenski opened this issue May 15, 2018 · 1 comment

Comments

@DimitriLubenski
Copy link

DimitriLubenski commented May 15, 2018

  • Description of the bug
    while building the vaadin flow from the GitLab CI using the production mode there are issues in connecting the yarnpkg.com which is perfectly pingable.

The --network-concurrency 1 should fix this issue, but there is no way to pass this parameter to the yarn.

[INFO] Installing Yarn version v1.6.0 [INFO] Downloading https://github.com/yarnpkg/yarn/releases/download/v1.6.0/yarn-v1.6.0.tar.gz to /builds/login-ops/hlp-resource-manager/target/cache/yarn-v1.6.0.tar.gz [INFO] No proxies configured [INFO] No proxy was configured, downloading directly May 15, 2018 12:54:50 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies WARNING: Invalid cookie header: "Set-Cookie: logged_in=no; domain=.github.com; path=/; expires=Sat, 15 May 2038 12:54:50 -0000; secure; HttpOnly". Invalid 'expires' attribute: Sat, 15 May 2038 12:54:50 -0000 [INFO] Unpacking /builds/login-ops/hlp-resource-manager/target/cache/yarn-v1.6.0.tar.gz into /builds/login-ops/hlp-resource-manager/target/node/yarn [INFO] Installed Yarn locally. [INFO] Running 'yarn install' in /builds/login-ops/hlp-resource-manager/target [INFO] yarn install v1.6.0 [INFO] [1/4] Resolving packages... [INFO] [2/4] Fetching packages... [ERROR] error An unexpected error occurred: "https://registry.yarnpkg.com/babel-helpers/-/babel-helpers-6.24.1.tgz: connect EHOSTUNREACH 104.16.59.173:443".

  • Minimal reproducible example

Using the standard showcase project to reproduce. Tested with flow-maven-plugin / 1.0.0.beta7 on vaadin flow 10.0.0.beta10. Setting the yarn version to the latest v1.6.0 does not help.

  • Expected behavior
    The build should work (an option to pass yarn parameters might help to mitigate this sort of issues)
  • Actual behavior
    The build cannot be performed.
@denis-anisimov
Copy link
Contributor

yarnNetworkConcurrency parameter is available to configure network concurrency

denis-anisimov pushed a commit that referenced this issue May 21, 2018
* Provide an option to specify network concurrency arg for yarn

Fixes #4122
@pekam pekam modified the milestones: Before 1.0 RC, 1.0.0.beta12 May 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants