Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Bianca Danforth 67512368ad
chore(scripts): increase check-url.sh RETRY value
Because:

* Mac M1 and M2 machines are slower to start up infrastructure like Redis and Firestore (which runs under emulation).

This commit:

* Doubles the RETRY period from 120 to 240s as most of the time, the __heartbeat__ response for fxa-auth-server and firestore processes responded between 140 - 190s.

Closes #No ticket
2023-09-06 10:59:27 -04:00
dschom d96797ae6a
task(CI): Improve nx caching for CI pipelines
Because:
- Not all CI operations where taking advantage of NX caches

This Commit:
- Adjusts nx.json config to ensure correct caching behavior
- Adjusts nx.json config to ensure proper target chains. ie build is dependent on pre-build
- Uses nx to directly run integration tests
- Uses nx to directly run unit tests
- Phases out dependency on generated .list files
- Ensures 'start up' for services for functional tests is done with nx and uses nx caches.
- Creates nx tags to facilitate test commands
- Fixes linter errors encountered
- Updates docker images to nx for builds
- Updates nx ignore files
2023-08-29 11:19:54 -07:00
Jody Heavener 0c7eb471f0
fix(admin-server): move ts-morph to dependencies (#11240)
* fix(admin-server): move ts-morph to dependencies

* chore(ci): add pm2 logs to playwright test artifacts

* chore(ci): add startup waits to auth, profile, gql

* chore(ci): extend check-url.sh timeout

* chore(ci): use large instance for playwright tests... debugging

Co-authored-by: Danny Coates <dannycoates@gmail.com>
2021-12-03 17:10:25 -08:00
Danny Coates 1ea7fdd312
chore(dev): wait for containers on 'yarn start' (#11119)
On M1 we currently sometimes need to 'yarn restart services' after a 'yarn start' before things start working. Maybe if we wait for the containers to be responsive before starting services we can avoid this. The important one seems to be mysql.
2021-11-22 16:58:30 -08:00
Danny Coates 833326ad59
feat(tests): implement prod smoke tests in playwright
There's an ADR for why Playwright
2021-11-17 10:19:19 -08:00
Danny Coates c14d4aac4e
feat(metrics): filter backbone metrics when opted-out (#10832)
closes #9083
2021-10-27 11:51:39 -07:00
Danny Coates a4b3996349
refactor(npm-scripts): refactored npm scripts for better ergonomics
1. renamed _scripts/*.sh to use kebab-case
2. linted _scripts with shellcheck
3. added _dev directory and moved pm2 json files there
4. added nps and package-scripts.js
  - this allows us to do nice things like: `npm start debug firefox`
  - I'd like to expand this further but it's a start
5. refactored the install scripts to make `npm install` nicer
6. renamed pm2 process names for easier control
  - can use `pm2 logs auth` instead of the id
2020-04-13 16:17:36 -07:00