-
Notifications
You must be signed in to change notification settings - Fork 519
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
feat(examples): add angular bazel architect #1516
feat(examples): add angular bazel architect #1516
Conversation
It dosen't actually run since something deletes random dirs in the
So something happens during If I ran if you skip the postinstall step then the build still fails with:
|
090dbdc
to
54a3ef0
Compare
This looks related to the above npm_install issues im facing #1471 |
66b52de
to
9850a40
Compare
Both build and test work fine locally but fail in CI due to the error below, but I thought that the patch
|
9850a40
to
85e26e9
Compare
examples/angular_bazel_architect/patches/@ngtools+webpack+9.0.0-rc.0.patch
Outdated
Show resolved
Hide resolved
372245a
to
f876b6a
Compare
This all runs fine locally. |
70abcc0
to
dcb9f04
Compare
Those patches should be applied in the integration test in CI as yarn_install for that example should run the same in CI as it does locally. |
672217b
to
b6ca59c
Compare
0f5d09d
to
0b6506b
Compare
Current status
|
@Toxicable the last error might be related to the fact that under Windows the spawn process is being invoked without the shell option. See: angular/angular-cli#16119 I gave a more detailed explanation. |
I haven't seen the filesystem flake locally on OSX at all. This seems to happen only on buildkite. Maybe it is to do with something they are doing with macos virtualization? But this PR is still blocked on the puppeteer usage for OSX as it won't work there yet until Bazel supports spaces in runfiles paths. Alternately, we don't include node_modules in runfiles but that is not ready to go yet. |
I have a path to land this:
|
fdccfa3
to
4509aa9
Compare
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
@googlebot I consent |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
3de6b52
to
47d4dc5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! This is great example.
47d4dc5
to
be2c47a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
Use ChromeHeadess as base instead of passing —headless. This fixes the CI failure on CircleCI and fixes it locally for me on OSX. buildkite macos still fails with ``` # ==================== Test output for //:test: # 29 01 2020 23:31:42.804:INFO [karma-server]: Karma v4.1.0 server started at http://0.0.0.0:9876/ # 29 01 2020 23:31:42.806:INFO [launcher]: Launching browsers ChromeHeadlessNoSandbox with concurrency unlimited # 29 01 2020 23:31:42.808:INFO [launcher]: Starting browser ChromeHeadless # 29 01 2020 23:32:42.815:WARN [launcher]: ChromeHeadless have not captured in 60000 ms, killing. # 29 01 2020 23:32:44.818:WARN [launcher]: ChromeHeadless was not killed in 2000 ms, sending SIGKILL. # 29 01 2020 23:32:46.822:WARN [launcher]: ChromeHeadless was not killed by SIGKILL in 2000 ms, continuing. ``` but this seems to be something to do with the buildkite machine chrome version/configuration as it does work locally on mac for me with Chrome 79. Disabled the test on using `no-bazelci-mac` tag.
be2c47a
to
cf3af3d
Compare
I didn't properly update the sha256 on build_bazel_rules_nodejs - fixed now |
Checking in this example https://github.com/alexeagle/prototype_bazel_architect
Which shows how you can build an angular app with
@angular-devkit/build-angular
but under bazel