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

15 Коммитов

Автор SHA1 Сообщение Дата
Mike Williams 60d6c69389
fix #9156 feat(schemas): typescript schema generation and npm publish (#9157)
Because

- we want to use the population sizing schemas for graphql and UI

This commit

- sets up generation of typescript schemas from the pydantic schemas
- sets up publishing the typescript schemas to npm
2023-08-11 20:56:49 +00:00
Yashika Khurana 7855bbf1eb
fix #8360 feat(nimbus): Change root folder app to experimenter (#8375)
Because

- We will be adding cirrus in experimenter

This commit

- Rename `app` to `experimenter` and make necessary changes
2023-03-08 13:36:51 -08:00
Jared Lockhart 4c0df6b262
fix #5946 chore(project): cache docker layers in dockerhub (#5948)
Because

* It would save time if we push the docker build layers from circleci to dockerhub to reuse locally

This commit

* Uses the new buildkit --cache-from flag to pull in build layers from dockerhub when applicable
* Builds all stages and pushes them with their layers to dockerhub on every merge to main
* Configures local builds to pull those layers from dockerhub
* Removes the build circle stage since each circle task will now be able to pull from dockerhub rather than the local circle docker cache
2021-07-15 11:37:09 -04:00
Jared Lockhart 1026dd0f6a
fix #3894 chore(nimbus): publish storybooks in separate ci task (#3895)
Because

* It would be nice to run the storybook publishing in parallel, and
* It would be nice to have a published storybook for a PR even if it hasn't yet got passing tests or complete test coverage

This commit

* Moves storybook publishing to a separate circle ci task
2020-11-04 20:55:12 -05:00
Jared Lockhart 18daeee52d
fix #3824 chore(project): update circle to build deploy image (#3825)
Because

* I changed the layout of the docker containers to have separate dev/build/deploy stages

This commit

* Update the circle task to build the deploy image
2020-10-26 14:43:50 -04: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
Jared Lockhart 0554fa9c57
fix #3634 chore(project): Use separate build and deploy Docker images (#3642)
Because

* We want to shrink the size of the deployable Docker image down from its current 2.71gb(1gb compressed)

This commit

* Adds a second stage to our Dockerfile for a deploy image which is a much more reasonable 480mb(133mb compressed)
* Use deploy image for Django container in local dev compose
2020-10-05 13:54:15 -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 15b5aa264c
Change to continuous deployment fixes #2401 (#2408)
* Change to continuous deployment fixes #2401

* Formatting improvements

* Can't embed numbered lists I guess

* A little more explicit about what type of deployments we use
2020-03-24 20:25:37 -04:00
Jon Buckley e335357ba8 Add CircleCI build url to version.json. Fixes #186 2017-08-16 16:57:18 -04:00
Jon Buckley 305ea039af Ensure version.json is included in Docker image. Fixes #185 2017-08-16 16:32:42 -04:00
Jared Kerim 56ab9c6a6c Add ops monitoring endpoints fixes #38 2017-05-02 16:27:53 -04:00
Jon Buckley 825e07c06d Switch to Alpine Linux 2017-05-02 12:02:01 -04:00
Jared Kerim 28f7dd9f27 Collapse Dockerfiles into one fixes #9 2016-11-24 19:34:43 +00:00
Jared Kerim 5f837715ea Add project skeleton 2016-11-09 20:06:28 +00:00