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

194 Коммитов

Автор SHA1 Сообщение Дата
Ankita Shrivastava ef96fcbe30
Merge pull request #14542 from mozilla/run-subscription-tests-on-CI
Increase resource size and fix a few flaky tests and enable subplat tests to run on CircleCi
2022-11-30 09:05:03 -05:00
Ankita Shrivastava 553e3d41de
Increase resource size and enable subplat tests to run on local CircleCi 2022-11-28 15:42:15 -05:00
dschom 37aead86ae
task(ci): Enable docker layer caching
Because:
- We want to speed up build times

This Commit:
- Adds docker_layer_caching directive
- Makes sure buildkit is enabled where possible
2022-11-28 11:39:03 -08:00
Vijay Budhram 3e3a51cc9a
chore(deps): Update playwright docker to v1.28.0 2022-11-28 12:42:47 -05:00
Ankita Shrivastava c427ffb819
Merge pull request #14533 from mozilla/add-circleci-split
test(functional): add parallelism and circleci split to functional tests
2022-11-23 14:24:10 -05:00
Ankita Shrivastava 8baa32c5ac
test(functional): add parallelism and circleci split to functional tests 2022-11-23 08:26:15 -05:00
dschom de864fc93e
task(ci): Create docker image for CI
Because:
- We are in the process of experimenting with CI pipeline optimizations

This Commit:
- Creates a new docker image that can be used in other CI jobs.
- This base image comes pre-populated with node_modules, dist folders, and l10n repos.
2022-11-22 18:38:30 -08:00
Julian Poyourow 872626e663
Merge pull request #14391 from mozilla/FXA-6136
chore(auth-server): enable typescript-eslint
2022-11-04 13:32:25 -07:00
Julian Poyourow 76ef507b26
chore(auth-server): enable typescript-eslint
Because:

* We aren't currently linting TS files in auth-server

This commit:

* Enables and fixes linting issues in auth-server

Closes FXA-6136
2022-11-04 10:43:26 -07:00
Ankita Shrivastava 668d092a0e
test(functional): update the FF ESR and geckodriver version to latest 2022-11-01 14:43:42 -04:00
dschom a955b5a213
task(ci): Enable tracing in CI
Because:
- We want to exercise tracing code paths in CI to spot potential errors

This Commit:
- Configures CI to turn basic tracing
- Configures a sample rate of 0, so as not execute code paths but not output traces
- Fixes a bug found in the suppress tracing code in fxa shared. Not all arguments were getting propagated.
2022-10-18 17:04:04 -07:00
Barry Chen 2f02023d81
chore(CI): upgrade to MySQL 8 for CircleCI
Because:
 - we want to upgrade to MySQL 8

This commit:
 - use MySQL 8 on CircleCI
2022-08-02 13:24:39 -05:00
Ankita Shrivastava 7d61ee3ed7
(test): install playwright for stage and prod env 2022-06-17 11:44:39 -04:00
Bianca Danforth ddba42afd4
chore(all): run TS compiler as part of test-many job
Because:

* We should be informed about TS errors before a patch merges into main.

This commit:

* Adds a new script to run as the first task in the test-many job that compiles any modified back-end Typescript packages and any packages that depend on them.

Closes #12823

Co-authored-by: Barry Chen <bchen@mozilla.com>
2022-06-15 08:11:16 -04:00
Ankita Shrivastava 93b0eafe2a
Merge pull request #12274 from mozilla/create-login-subscription-test
test(subscription) : Subscription flow tests using playwright
2022-04-05 14:25:26 -04:00
Ankita Shrivastava 19ada77c0c
test(subplat): upgrade playwright version for docker images in config.yaml files 2022-04-04 14:57:31 -04:00
Barry Chen b3ce441b98
feat(subscriptions): add Firestore based config to plans
Because:
 - we want the front end to be able to use the Firestore document based
   configurations

This commit:
 - add the 'configuration' property to the plans returned from the all
   plans endpoint
 - move some models into fxa-shared
 - refactor the configuration manager so that its users do not need to
   manually initialize the product and plan config lists prior to
   accessing them
2022-03-31 16:52:56 -05:00
Wil Clouser 3242b8defd
chore(circleci): test jira integration 2022-01-31 12:33:21 -08:00
Danny Coates dc9034173d
Merge pull request #11699 from mozilla/20220121-circleci
chore(circleci): Update expiring images
2022-01-21 11:21:46 -08:00
dependabot[bot] f4fc36f8cf
chore(deps-dev): bump @playwright/test from 1.17.2 to 1.18.0 (#11690)
* chore(deps-dev): bump @playwright/test from 1.17.2 to 1.18.0

Bumps [@playwright/test](https://github.com/Microsoft/playwright) from 1.17.2 to 1.18.0.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.17.2...v1.18.0)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

* chore(deps): update playwright

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
Co-authored-by: Danny Coates <dannycoates@gmail.com>
2022-01-21 10:47:13 -08:00
Wil Clouser bdcf3bebb7
chore(circleci): increase container size
Because:

* builds are failing

This commit:

* increases the storybook container size
2022-01-21 10:27:31 -08:00
Wil Clouser 5e8025a9c2
chore(circleci): Update expiring images
Because:

* The convenience images are expiring on Feb 7

This commit:

* Updates to use the new images
2022-01-21 08:24:24 -08:00
Danny Coates 50e124b518
feat(services): remove fxa-auth-db-mysql, fxa-email-event-proxy, and fxa-email-service
and fxa-metrics-processor
2022-01-13 16:23:22 -08:00
Danny Coates 8079cd5956
update playwright to 1.17.2 in circleci 2022-01-11 11:22:25 -08:00
Danny Coates 662e56cfbd
chore(tests): enable subscribe test on dev 2022-01-06 11:28:18 -08:00
Danny Coates 0bd39ac0f5
chore(ci): use node 16 in circleci 2021-12-22 15:28:50 -08:00
Danny Coates 1b1cc53f30
chore(ci): increase content-server tests to large size (#11284)
ever since circleci released their resources panel (or thereabout) we've been getting a lot of these from settings-react:
"The build failed because the process exited too early. This probably means the system ran out of memory or someone called `kill -9` on the process."

In order to unblock PRs this increases the size to large so we won't run out of memory until we can investigate further.
2021-12-08 15:48:53 -08: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
dependabot[bot] 2af953650c
chore(deps-dev): bump playwright from 1.16.3 to 1.17.1 (#11217)
* chore(deps-dev): bump playwright from 1.16.3 to 1.17.1

Bumps [playwright](https://github.com/Microsoft/playwright) from 1.16.3 to 1.17.1.
- [Release notes](https://github.com/Microsoft/playwright/releases)
- [Commits](https://github.com/Microsoft/playwright/compare/v1.16.3...v1.17.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): updated yarn.lock

* chore(deps): set specific playwright version in CI

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fxa-bananafox[bot] <70546514+fxa-bananafox[bot]@users.noreply.github.com>
Co-authored-by: Danny Coates <dannycoates@gmail.com>
2021-12-02 11:18:47 -08:00
Danny Coates 60ca05cb81
chore(deps): update typescript to 4.5.2
* refactor(ts): use builtin Awaited type

* maybe make tests more stable
2021-11-18 23:25:28 -08:00
Danny Coates 560be25778
fix(ci): fixed playwright test job
the underlying docker image removed its apt-get cache
2021-11-18 09:49:03 -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 fbd4a4bed9
chore(ci): update modules-to-test.js to use the workspace:* dependencies to make it easier to keep up to date 2021-11-16 16:46:14 -08:00
Danny Coates aa1dc5b026
revert(node): revert CI and Docker images to node 14
Test stability has dropped with the change to node 16. Until we can resolve it we're reverting to 14. Local dev will continue on 16 in order to be able to fix the problems.
2021-11-01 13:50:43 -07:00
Danny Coates 6ac1af8d03
fix(content): revert to using mozilla/fxa-circleci for test-content-server-remote 2021-10-28 14:53:07 -07:00
Danny Coates 9eaa80e1d6
chore(ci): update circleci with new base images (#10818)
As part of updating to node v16 we found the "normal" upgrade path for mozilla/fxa-circleci to be problematic.

CircleCI has also changed their recommended base image to be cimg/node.

Our mozilla/fxa-circleci image has shrunk over time to now be a thin wrapper over circleci/node that adds firefox esr. Instead of maintaining our own image the recommended circleci/browser-tools orb can take care of firefox version for us.
2021-10-26 09:00:06 -07:00
Danny Coates 17e06a38d2
chore(node): upgrade to node 16 (#10799) 2021-10-22 16:10:22 -07:00
Ben Bangert 6a42d1d734
feat(auth): require auth firestore usage
Because:

* Having a toggle to deactivate use of Firestore drastically increases
  code complexity.

This commit:

* Requires Firestore for running auth-server and uses the emulator for
  local running.

Closes #10710
2021-10-15 10:42:37 -07:00
Danny Coates a95f1270af
refactor(build): use esbuild instead of ts-node (#10639) 2021-10-07 09:57:36 -07:00
Danny Coates a561ae1f32
feat(auth): convert remaining auth-server db use to direct db access
This eliminates the runtime dependency of auth-server on auth-db-mysql. It's no longer required to run the auth-db-mysql process in production for the auth-server. This change doesn't completely remove the need for auth-db-mysql, email-service still needs it, and in dev a portion of it is required to run migrations, but it should now be considered deprecated and we should continue working to remove it completely.
2021-06-23 10:44:14 -07:00
Danny Coates abccb7218b
chore(ci): bump ci cache key 2021-05-18 10:10:17 -07:00
Danny Coates 898d7428fe
chore(ci): bump cache prefix 2021-05-11 09:45:52 -07:00
Danny Coates c807e027b2
chore(deps): updated nodemailer 2021-05-10 16:40:01 -07:00
Danny Coates 7998cc8e57
chore(ci): add playwright tests to circleci 2021-05-10 11:40:10 -07:00
Danny Coates 22a155406f
chore(ci): increase test-content-server-remote task to a large instance 2021-04-15 11:14:02 -07:00
Danny Coates a97de2e2a9
chore(build): stop building docker images for each service by default 2020-10-28 13:07:44 -07:00
Danny Coates 6c2b253c11
chore(deps): update node version to 14 2020-10-27 10:21:05 -07:00
Danny Coates cfe0c3f955
chore(ci): store test results of smoke tests 2020-10-20 14:33:10 -07:00
Les Orchard 464710c838
Merge pull request #6573 from mozilla/exp-281-new-storybook-publisher
chore(storybooks): switch to a new shared Storybook publisher
2020-10-01 09:56:39 -07:00
Les Orchard 17b2099292
chore(storybooks): switch to a new shared Storybook publisher
Because

* We want to publish Storybook builds to preview component work

This commit

* Integrates [mozilla-fxa/storybook-gcp-publisher](github.com/mozilla-fxa/storybook-gcp-publisher) into the CircleCI flow so that Storybooks are built and published to a Google Cloud static site for every test run

EXP-281
2020-09-29 17:43:49 -04:00