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

11 Коммитов

Автор SHA1 Сообщение Дата
Jared Lockhart 262cf1de0a
chore(project): disable deprecated tests (#4043)
Because

* We are now migrating all visualization work out of rapid and into nimbus
* All of the legacy/core ui is in maintenance mode
* Tests take up a lot of circle credits

This commit

* Disables all but the end to end integration tests for the legacy workflow
* Disables all of the rapid/visualization js tests/linting
* Disables the rapid/visualization dev yarn processes
* Decreases the size of the make check circle instance
* This should make the local dev lighter, make our tests faster, and reduce circle usage
2020-11-19 12:14:29 -05:00
Jared Lockhart c6af435ca2
fix #3907 chore(nimbus): make types_check should fail with graphql changes (#3915)
Because

* We'd like to make sure that the apollo client generated code stays in sync with the server

This commit

* Uses the schema.graphql to check whether the backend is in sync with the frontend codebase
* regenerates the schema.graphql and typescript stubs together so they stay in sync
2020-11-09 14:57:03 -05:00
Jared Lockhart c32ebeac8b
fix #3857 chore(nimbus): check graphql types during make check (#3892)
Because

* It would be nice to know if the backend changed that the frontend would break

This commit

* Adds make commands to check and fix that the graphql types match the nimbus-ui types
* This will cause CI to break if a backend change would break the frontend
2020-11-04 17:28:13 -05:00
Jared Lockhart 08c96db5d2
fix #3687 chore(project): run integration tests against deploy image (#3822)
Because

* We split the docker image into two images, one for local dev and one for deploying to prod so that the prod one would be small ~100mb
* We should find some way to test that the deploy image is working correctly
* A good candidate is to run the integration tests against it

This commit

* Adds a new make up_prod command that sets up an environment that more closely mirrors prod ie
  - Use the prod image
  - Disable all the yarn watchers
* Reorganizes the dockerfile to move frontend asset building out of the dev container to increase docker cache hits for local dev
2020-10-26 12:26:09 -04:00
Les Orchard 92671e9b4d
chore(nimbus-ui): hook up storybook publishing on build (#3579)
Because

* We want to publish Storybook builds to demo and preview component work
  in nimbus-ui

This commit

* Integrates 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
fixes #3427
2020-10-01 10:39:53 -07:00
Jared Lockhart 9336d4faf8
fix #3411 refactor(docker): move dev containers to host network (#3420)
feat: move dev containers to host network
Because:

* allow processes on host machine (django runserver, yarn watcher) to talk to containerized processes
* more flexibility for dev environments to run combinations of local and containerized processes

This commit:

* remove network definitions from all compose files
* remove docker-compose-full.yml (used for setting up a complete stack with normandy but isn't used anymore)
* remove unused makefile commands (nobody uses all the individual test/lint commands)
* add new make commands up_db up_django
* update README.md
2020-09-11 17:12:46 -04:00
Jared Lockhart 8d0bce81a0
Explicitly set postgres password and version fixes #2291 (#2292) 2020-02-19 13:30:44 -05:00
Alissa Sobo ff25fe7ffa
Add JS linting and code formatting fixes #1794 (#1853)
* Just add linting/formatting fixes #1794

* pin versions, regenerate lock, remove useless-escape-rule from eslintrc

* don't incorporate new commands into existing ones yet
2019-11-07 15:17:23 -08:00
Jared Kerim 18bd761342
Remove settings_test fixes #1363 (#1585)
* Remove settings_test fixes #1363

* Set debug to false to suppress unnecessary console logs
2019-08-23 16:49:09 -04:00
Jared Kerim ce3e7635fe
Use .env.sample for circle fixes #1535 (#1538) 2019-08-08 15:36:41 -04:00
Jared Kerim 76acf2268a Use test compose file fixes #599 2018-12-13 17:26:54 -05:00