Derek Cormier
6eb2f76fee
build(bazel): fix aio deploy script
...
Move the copy of the bazel dist folder to the firebase dist folder
earlier on in the process so that any checks operate out of a single
folder.
2022-11-28 13:29:35 -07:00
Derek Cormier
e56f6d2187
build(bazel): copy dist folder to aio for firebase deployment ( #48214 )
...
Firebase requires the distributable to be in the same folder as
firebase.json.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
00864665a3
build(bazel): fix aio deployment unit tests ( #48214 )
...
Missing a spy for the new chmod call.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
78b66b236b
build(bazel): remove write protection on aio dist folder for deployment ( #48214 )
...
Deploy script adds extra files and needs write access.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
049123cf6c
build(bazel): fix AIO deployment unit tests ( #48214 )
...
Forgot to update the dist path in these tests.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
7815acd125
build(bazel): fix dist dir in AIO deploy script ( #48214 )
...
The script is run cd'ed into aio so the path to the Bazel dist
location is up one folder.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
ae812e3936
build(bazel): fix AIO deployment script ( #48214 )
...
Don't run the script under Bazel, except for the tests. Configure a
Bazel flag to select the AIO build configuration.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
e044939fa9
build(bazel): fix yarn call in aio deploy script ( #48214 )
...
Incorrectly calls yarn scripts from the root package.
PR Close #48214
2022-11-23 23:20:36 +00:00
Derek Cormier
31b2716c1c
build(bazel): remaining AIO Bazel migration fixes
...
Fix the remaining AIO Bazel migration TODOs
2022-11-22 13:51:19 -07:00
Derek Cormier
65712b1d15
build(bazel): add missing dependency to deploy script
...
Cannot load the root package.json. Surfaced after trying to merge
aio-bazel-migration to main because the deployment short circuits
on ci for feature branhces.
2022-11-22 13:51:19 -07:00
Derek Cormier
371a599c8e
build(bazel): fix linking of local angular packages
...
Npm angular deps were transitively being included, confusing the
rules_nodejs linker.
2022-11-22 13:51:19 -07:00
Derek Cormier
c142511084
build(bazel): fix regressions for docs-watch
...
Some earlier refactoring prevented the watchr script from running in
the source tree. There was also a Windows issue where running architect
didn't preserve symlinks causing the app to not be served.
2022-11-22 13:51:19 -07:00
Derek Cormier
5769eb0bd2
build(bazel): consolidate windows chromium path workaround
...
Add the hack to a central location so that it's easier to fix later.
2022-11-22 13:51:19 -07:00
Derek Cormier
a908ba7a68
build(bazel): use workspace status command for AIO version stamping
...
Fixes a bug where the navigation map did not have the correct SHAs.
2022-11-22 13:51:19 -07:00
Derek Cormier
71ee5d58cf
build(bazel): clean up pathing in aio build tooling
...
Make use of process.env.RUNFILES.
2022-11-22 13:51:19 -07:00
Derek Cormier
8d685f6997
build(bazel): update documentation for docs authors
...
Where possible, preseve the original yarn commands.
2022-11-22 13:51:19 -07:00
Derek Cormier
32cc63c067
build(bazel): fix a11y and pwa tests on Windows
...
Needed to use absoulte paths and fix a separator.
2022-11-22 13:51:19 -07:00
Derek Cormier
e43686f4d1
build(bazel): fix a bug where the opensearch url coudln't be substituted
...
The file was write protected in the bazel output tree.
2022-11-22 13:51:19 -07:00
Derek Cormier
5e8159ca2a
build(bazel): fix aio payload test to work with bazel output
...
Was pointing to legacy build dist folder.
2022-11-22 13:51:19 -07:00
Derek Cormier
a06644b816
build(bazel): selectively enable network access for some aio targets
...
By default network access is disabled for actions on ci.
2022-11-22 13:51:19 -07:00
Derek Cormier
cc5a35123d
build(bazel): fix some regressions
...
Caused by some incompatible changes that were merged in.
2022-11-22 13:51:19 -07:00
Derek Cormier
19fe298d11
build(bazel): merge aio/tools/defaults.bzl and tools/defaults.bzl
...
Detect the correct workspace for the source maps dep.
2022-11-22 13:51:19 -07:00
Derek Cormier
7c12ebb50d
build(bazel): adjust aio opensearch substitution with bazel paths
...
Now points to the bazel dist folder.
2022-11-22 13:51:19 -07:00
Derek Cormier
20b81d0647
build(bazel): run firebase deployment tests under bazel
...
The deployment is still run from a yarn script.
2022-11-22 13:51:19 -07:00
Derek Cormier
3603b4dbf3
build(bazel): test aio pwa score under bazel
...
Refactored the a11y score tests to share the pattern of running an http
server alongside a test script.
2022-11-22 13:51:19 -07:00
Derek Cormier
79554b7a39
build(bazel): run aio a11y tests under bazel
...
Wrap existsing scripts under bazel and write a new script
to spin up an http server on an unused port.
2022-11-22 13:51:19 -07:00
Derek Cormier
adffd3fdf7
build(bazel): build aio 404 page under bazel
...
The legacy build injected this file into the dist folder, however that's
not possible under bazel so files are copied to a new directory.
2022-11-22 13:51:19 -07:00
Derek Cormier
d7eb429430
build(bazel): fix race conditions in windows aio build
...
Disables the rules_nodejs linker and adds a custom esm module resolver
2022-11-22 13:51:19 -07:00
Derek Cormier
75e623b179
build(bazel): add an aio fast serve target
...
This is equivalent to docs-watch in the legacy build.
2022-11-22 13:51:19 -07:00
George Kalpakas
19f189fa41
docs(docs-infra): add documentation on debugging the events generation process ( #47449 )
...
PR Close #47449
2022-09-15 09:20:14 -07:00