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
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
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
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
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
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