2019-12-24 23:12:35 +03:00
|
|
|
# Repo root
|
|
|
|
/loop-server
|
|
|
|
/syncserver
|
|
|
|
/selenium-*
|
|
|
|
/servers_android.json
|
|
|
|
/pm2
|
|
|
|
/dump.rdb
|
2023-03-15 21:30:44 +03:00
|
|
|
external
|
2014-11-05 04:21:04 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# Secrets
|
|
|
|
.env
|
2022-10-20 02:37:32 +03:00
|
|
|
.env.local
|
|
|
|
.env.development.local
|
|
|
|
.env.test.local
|
|
|
|
.env.production.local
|
2023-09-26 02:29:45 +03:00
|
|
|
*.env
|
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
.keys
|
|
|
|
public-key.json
|
|
|
|
secret-key.json
|
|
|
|
secret*
|
|
|
|
*.gpg
|
2020-03-18 19:26:54 +03:00
|
|
|
secrets.json
|
2016-09-28 01:52:39 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# Build and temp files
|
|
|
|
**/build
|
|
|
|
**/dist
|
|
|
|
**/temp
|
2020-03-02 20:48:26 +03:00
|
|
|
**/version.json
|
2020-04-21 04:32:28 +03:00
|
|
|
**/storybook-static
|
2019-12-24 23:12:35 +03:00
|
|
|
*.sass-cache
|
2023-10-16 23:16:02 +03:00
|
|
|
.nx/cache
|
2020-11-19 19:55:48 +03:00
|
|
|
**/schema.gql
|
2019-12-24 23:12:35 +03:00
|
|
|
*.map
|
2020-07-10 01:26:36 +03:00
|
|
|
*.swp
|
2019-12-24 23:12:35 +03:00
|
|
|
.es5
|
|
|
|
.es5cache
|
2020-03-02 20:48:26 +03:00
|
|
|
/artifacts
|
2020-04-09 17:57:05 +03:00
|
|
|
.last-audit
|
2020-05-13 02:16:30 +03:00
|
|
|
.eslintcache
|
2020-05-16 03:04:51 +03:00
|
|
|
storybooks-publish
|
2020-06-02 03:01:31 +03:00
|
|
|
tsconfig.tsbuildinfo
|
2020-06-08 16:57:09 +03:00
|
|
|
tailwind.out.*
|
2021-06-10 20:03:17 +03:00
|
|
|
.idea
|
2018-08-24 02:36:19 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# Dependencies
|
|
|
|
**/node_modules
|
|
|
|
**/browser_modules
|
2022-10-20 02:37:32 +03:00
|
|
|
/.pnp
|
|
|
|
.pnp.js
|
2019-04-10 09:11:01 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# Logging
|
|
|
|
*.log*
|
|
|
|
**/logs
|
|
|
|
|
|
|
|
# Testing
|
|
|
|
coverage.html
|
|
|
|
**/coverage
|
|
|
|
**/.nyc_output
|
2020-09-24 21:09:12 +03:00
|
|
|
test-results.xml
|
2019-12-24 23:12:35 +03:00
|
|
|
|
2021-01-07 16:39:22 +03:00
|
|
|
# Local configuration
|
2021-10-15 23:16:14 +03:00
|
|
|
/_dev/firebase/.config
|
2021-01-07 16:39:22 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# System files
|
|
|
|
*~
|
|
|
|
\#*\#
|
|
|
|
.\#*
|
|
|
|
.DS_Store
|
|
|
|
Thumbs.db
|
|
|
|
|
2020-05-15 03:48:39 +03:00
|
|
|
# Yarn
|
|
|
|
.yarn/cache
|
2022-12-16 02:48:16 +03:00
|
|
|
.yarn/berry
|
2020-05-15 03:48:39 +03:00
|
|
|
.yarn/build-state.yml
|
|
|
|
.yarn/install-state.gz
|
|
|
|
|
2022-10-14 22:05:54 +03:00
|
|
|
# nektos/act - Github Actions
|
2023-05-04 22:11:16 +03:00
|
|
|
/bin/
|
|
|
|
|
|
|
|
# Glean CLI will install glean_parser into a .venv in the dir from which the
|
|
|
|
# command is called
|
|
|
|
.venv
|
2022-10-14 22:05:54 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
## Package-specific ##
|
|
|
|
|
2020-04-13 02:54:49 +03:00
|
|
|
# circleci
|
|
|
|
.circleci/local.yml
|
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# browserid-verifier
|
|
|
|
packages/browserid-verifier/loadtest/venv
|
|
|
|
packages/browserid-verifier/loadtest/*.pyc
|
|
|
|
|
2022-05-24 18:54:17 +03:00
|
|
|
# fxa-admin-server
|
2022-05-25 01:56:30 +03:00
|
|
|
packages/fxa-admin-server/src/config/local.json
|
2022-05-24 18:54:17 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# fxa-auth-server
|
|
|
|
packages/fxa-auth-server/sandbox
|
|
|
|
packages/fxa-auth-server/config/key.json
|
|
|
|
packages/fxa-auth-server/config/oldKey.json
|
|
|
|
packages/fxa-auth-server/config/vapid-keys.json
|
|
|
|
packages/fxa-auth-server/test/load/bin
|
|
|
|
packages/fxa-auth-server/test/load/lib*
|
|
|
|
packages/fxa-auth-server/test/load/include
|
2020-04-21 04:40:28 +03:00
|
|
|
packages/fxa-auth-server/test/scripts/bulk-mailer/nodemailer-mocks/test_output
|
2019-12-24 23:12:35 +03:00
|
|
|
packages/fxa-auth-server/*.pyc
|
|
|
|
packages/fxa-auth-server/server.pot
|
|
|
|
packages/fxa-auth-server/.mail_output
|
|
|
|
packages/fxa-auth-server/fxa-content-server-l10n
|
2021-07-01 10:54:24 +03:00
|
|
|
packages/fxa-auth-server/lib/senders/emails/css
|
2021-09-08 15:29:40 +03:00
|
|
|
packages/fxa-auth-server/public/locales
|
2022-01-05 00:12:59 +03:00
|
|
|
packages/fxa-auth-server/vendor
|
2019-12-24 23:12:35 +03:00
|
|
|
|
|
|
|
# fxa-content-server
|
|
|
|
packages/fxa-content-server/pids
|
|
|
|
packages/fxa-content-server/results
|
|
|
|
packages/fxa-content-server/lib-cov
|
2022-06-30 22:24:01 +03:00
|
|
|
packages/fxa-content-server/app/styles/main.css
|
2019-12-24 23:12:35 +03:00
|
|
|
packages/fxa-content-server/app/scripts/processed
|
|
|
|
packages/fxa-content-server/server/config/local.json
|
|
|
|
packages/fxa-content-server/app/i18n
|
|
|
|
packages/fxa-content-server/fxa-content-server-l10n/
|
|
|
|
packages/fxa-content-server/locale/*/*/*.po
|
|
|
|
packages/fxa-content-server/rerun.txt
|
2020-05-13 02:16:30 +03:00
|
|
|
packages/fxa-content-server/.tmp
|
|
|
|
packages/fxa-content-server/.tscompiled
|
2023-03-22 19:28:54 +03:00
|
|
|
packages/fxa-content-server/public/locales
|
2019-12-24 23:12:35 +03:00
|
|
|
|
|
|
|
# fxa-customs-server
|
|
|
|
packages/fxa-customs-server/test/mocks/temp.netset
|
|
|
|
|
2021-02-03 22:45:24 +03:00
|
|
|
# fxa-payments-server
|
|
|
|
packages/fxa-payments-server/fxa-content-server-l10n/
|
2022-10-20 02:37:32 +03:00
|
|
|
packages/fxa-payments-server/public/locales
|
|
|
|
packages/fxa-payments-server/test
|
2021-02-03 22:45:24 +03:00
|
|
|
|
2019-12-24 23:12:35 +03:00
|
|
|
# fxa-profile-server
|
|
|
|
packages/fxa-profile-server/var
|
|
|
|
packages/fxa-profile-server/BUCKET_NAME
|
2020-05-15 22:48:04 +03:00
|
|
|
|
2020-06-02 03:01:31 +03:00
|
|
|
# fxa-react
|
|
|
|
packages/fxa-react/**/*.js
|
2022-11-30 03:09:33 +03:00
|
|
|
!packages/fxa-react/**/gruntfile.js
|
2020-06-02 03:01:31 +03:00
|
|
|
packages/fxa-react/**/*.d.ts
|
2020-06-03 01:02:19 +03:00
|
|
|
!packages/fxa-react/pm2.config.js
|
2022-11-30 03:09:33 +03:00
|
|
|
packages/fxa-react/fxa-content-server-l10n/
|
|
|
|
packages/fxa-react/public/locales
|
|
|
|
packages/fxa-react/test/
|
2021-02-03 22:45:24 +03:00
|
|
|
|
|
|
|
# fxa-settings
|
|
|
|
packages/fxa-settings/fxa-content-server-l10n/
|
2021-02-22 23:42:49 +03:00
|
|
|
packages/fxa-settings/public/locales
|
2023-02-08 01:50:48 +03:00
|
|
|
packages/fxa-settings/legal-docs/
|
|
|
|
packages/fxa-settings/public/legal-docs
|
2022-10-13 18:11:52 +03:00
|
|
|
packages/fxa-settings/test/
|
2022-12-16 02:48:16 +03:00
|
|
|
|
|
|
|
Library
|
|
|
|
.node
|
|
|
|
process.yml
|
task(CI): build, unit test, and integration test jobs
Because:
- We wanted to run a few preliminary checks before proceeding to more
expensive CI jobs. Checks include:
- Compiling typescript in commonly referenced workspace packages
- Linting code that has changed
- Executing Unit Tests for code that has changed
- We wanted to partition test operations into unit tests, and
integration tests. Unit tests can be run relatively quickly and
require no additional infrastructure. Integration tests require
additional infrastructure and generally have longer execution
times. Now that jobs are blocked from running until preliminary
checks pass, one of which is unit tests, it is important to draw a
distinction between these two types of tests.
- We want to avoid unnecessary yarn installs and typescript
compilations, which are time consuming.
- We want to make sure that test results are published and failing tests
can be easily viewed in the CI.
This Commit:
- Creates a build-and-validate job in the CI that builds, lints, and
unit tests code prior to running any other jobs.
- Creates unit-test job in CI config
- Creates integration-test job in CI config
- Removes redundant calls to compile workspace packages. These
are now built up front, cached, and restored as needed for future
runs.
- Extends the create-lists script functionality to generate commands
that can be executed with the parallel command.
- Removes unnecessary yarn install operations. Invoking yarn workspace
focus results in a yarn install. In the case of running tests this is largely
unnecessary, because we already do a yarn install in the base-install
step.
- Make sure test results are exported as junit xml so the CI can report
back on tests that were failing. This was done for a couple workspace
packages, but many were lacking the capability. All test:unit and
test:integration npm scripts now export this data.
- Fixes the following issues encountered along the way:
- Adds logs to monitor heap usage of jest tests. Some
jest tests are still using a lot of memory.
- Moves a few slow / long running tests from unit test to
integration tests.
- Ensures that jest.transform for ts-jest is always instructed
to have the config option isolateModules is set to true. This
definitely decreases memory overhead and resolves some
of the OOM errors we were hitting. It was configured in
some places but not everywhere.
- Exports test results files for all tests
- Exports all test artifacts
- Uses gnu parallel to run tests in parallel. Turns out yarn
workspaces foreach would give a false positive when an OOM
was encountered. Fortunately, the parallel command offered an
acceptable work around, and even offers some nice features
like the load argument, which allows to control test execution a
bit more efficiently.
2023-01-10 23:52:01 +03:00
|
|
|
.lists
|
2023-07-18 15:54:28 +03:00
|
|
|
|
|
|
|
**/config/gql/allowlist
|
|
|
|
configs/gql/allowlist
|
|
|
|
!configs/gql/allowlist/gql-playground.json
|
2023-06-14 21:42:07 +03:00
|
|
|
|
|
|
|
# Next.js
|
|
|
|
.next
|
2023-08-29 21:19:54 +03:00
|
|
|
|
|
|
|
|
|
|
|
tmp
|