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

51 Коммитов

Автор SHA1 Сообщение Дата
Rana Al-Khulaidi 2a4388b2f3
feat(project): Retrieve metric-hub segments in Experimenter (#11243)
Because

* Experimenter needs to retrieve the segments from metric-hub as they
are currently not available there

This commit

* allows Experimenter to retrieve segments from metric-hub

Fixes #11242
2024-08-30 16:42:38 +00:00
Mike Williams 709f09f7a7
chore(schemas): add dupe validation to jetstream stat results schema (#10044)
Because

- we want to ensure that Jetstream doesn't publish duplicate results

This commit

- adds validation to the schema to check for duplicate results
- bumps schemas package to version `2024.1.3`

Fixes #10043
2024-01-16 14:10:59 +00:00
Jared Lockhart 61d59be4e3
fix #9267 feat(nimbus): convert monitor web fml to experimenter format (#9280)
Becuase
    
* The FML format that lives in an applications repo is not parseable by
Experimenter
* The FML command line tool will convert it into the format expected by
Experimenter
* Currently supported applications do this as part of their build chain
* New applications, particularly web, may not do this so we should do
this conversion on our end as part of the external resource fetch step
    
This commit
    
* Adds a step to the fetch_external_resources make command to download
and build the FML tool and convert the FML files into a format
Experimenter can parse
2023-08-16 17:24:05 +00:00
Avishkar eb9231f473
Fixes #8886 feat(nimbus): add alpinejs support (#9184)
Because

- the new 'history' page implementation requires alpine js as a
dependency

This commit

- adds alpine js to the project by using the alpinejs package and
webpack
2023-08-02 19:24:17 +00:00
Jared Lockhart fb1123c751
fix #8767 bug(nimbus): disable parallel for enrollment tests (#8768)
Because

* We've been seeing intermittent failures in the enrollment integration
tests
* It may be caused by parallel tests colliding when they reset the ping
server cache

This commit

* Disables parallel runs for the enrollment integration tests
2023-05-02 21:35:30 +00:00
Yashika Khurana bc8fc3a3e9
fixes #8499 fix(nimbus): Revert retain and display search result when `back to experiment` button is clicked" (#8647)
Because
- We got this error on sentry-
https://github.com/mozilla/experimenter/issues/8646

This Commit
- Reverts this pr - https://github.com/mozilla/experimenter/pull/8630
2023-04-04 09:37:52 -07:00
Mark Eke 1205bc7897
fixes #8499 fix(nimbus) retain and display search result when `back to experiment` button is clicked (#8630)
Because

- The present behavior of the "back to experiment" button does not
display the search term and filtered results upon navigating back to the
search page. Therefore, we need to modify the behavior to persistently
retain the filtered search results, which will ensure that the search
term and results are readily available when the user navigates back to
the search page.

This commit

- Modifies the behavior of the "back to experiment" button to retain the
search term and filtered results when navigating back to the search
page.
- Test to ensure new fix works properly
- exempts pycharm and webstorm (.idea) folders in .gitignore

---------

Co-authored-by: Yashika Khurana <yashikakhuranayashika@gmail.com>
2023-04-03 11:14:35 -07: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
Yashika Khurana 47bb185484
fix #8377 feat(cirrus): Initial commit (#8384)
Because

- We want to add Cirrus to the experimenter repo

This commit

-  Set up the cirrus server and requirements
-  Set up Dockerfile and include cirrus in docker-compose file
-  To run the cirrus server- use command `make cirrus_up`
2023-03-06 10:45:53 -08:00
Mike Williams 98fd8c7309
fix #8340 chore(nimbus): remove vscode dir exceptions from gitignore (#8341)
Because

* we removed the `.vscode` dir from the repo
* the `.gitignore` file has exceptions for files in this dir
* developers may want these files to exist locally but not commit them
to the repo

This commit

* removes exceptions from the `.gitignore` file for `.vscode`
2023-02-22 17:35:12 -05:00
Anna Scholtz ce1874a40d
Update jetstream config url to new endpoint #8178 (#8199)
Jetstream configs and outcomes have moved to
https://github.com/mozilla/metric-hub/tree/main/jetstream

This updates the config URLs to the new location.

Fixes #8178

---------

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2023-01-27 10:56:37 -05:00
Benjamin Forehand Jr f7d06ce591
fix #7518 feat(nimbus): Store external config files in experimenter repo. (#7521)
* fix #7518 feat(nimbus): Store external config files in experimenter repo

Because
* In an effort to cause less breakages due to external file changes, we are implementing a system that will allow us to test any changes done to Jetstream config files as well as feature manifests files, before they're added to nimbus.

This commit
* Adds those external files to the repo for tracking their changes.
2022-07-14 15:30:37 -05:00
Jared Lockhart d339bfdb79
fix #7341 chore(project): move legacy-ui to legacy app (#7348)
Because

* legacy-ui is only used in legacy

This commit

* Moves legacy-ui to legacy

Co-authored-by: yashika-khurana <104033388+yashika-khurana@users.noreply.github.com>
2022-06-02 10:12:43 -04:00
Jared Lockhart aba58ac80e
fix #7189 chore(nimbus): deprecate storybook (#7198)
Because

* Storybook is no longer used by anyone to test or validate UI changes
* Maintaining storybooks for components adds significant cost to UI changes

This commit

* Removes storybook
2022-04-18 15:21:40 -07:00
Jared Lockhart 5645b73ccb
fix #6542 chore(nimbus): store media files in docker volume (#6543)
Because

* Running rm -Rf as part of your build process should be concerning for anyone

This commit

* Moves media files into a docker volume and never exposes them to the host filesystem, and they will get reset automatically in make refresh
2021-10-12 17:06:06 -07:00
Jared Lockhart 9e7a89307c
fix #6430 feat(nimbus): load desktop features from mozilla central (#6436)
Because

* We'd like to consume feature manifests directly from client repos instead of storing them in the database

This commit

* Downloads the desktop feature manifest at container build time
* Adds a features app that parses the desktop feature manifest into memory
2021-09-17 10:37:57 -05:00
Tif Tran c2d8fa5bb8
fixes #5865 feat(reporting): Add reportlog frontend (#5897)
* Because:
* We would like to have reportlog and stats displayed in the frontend for consumption

This commit:
* add a frontend page /reporting
* adds csv export functionality to reportlogs and stats

* feedback changes

* feedback changes

* changed reporting title to h3

* move templates

* feedback changes

* formatting

* docs
2021-08-12 11:35:41 -07: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
Les Orchard 221ed48a3c
fix #5773 chore(nimbus): ensure release version is supplied to Sentry (#5833)
Because:

* Sentry works better if it has context on the deployed release version

This commit:

* Ensures that the git commit included on build in version.json is
  available to Sentry error report calls for nimbus-ui
2021-06-24 08:45:42 -07:00
Jared Lockhart 71e6ae44eb
chore(nimbus): use curl/unzip instead of gitsubmodule to track jetstream-config (#4808)
Because

* Using a git submodule will require that we always commit the latest commit hash which muddies the git history

This commit

* Uses curl/unzip to fetch the latest jetstream config archive and unpacks it into the outcomes folder
* Removes the gitsubmodule
2021-03-12 12:20:28 -05:00
Jared Lockhart 6780b3e0b3
chore(project): allow nested .vscode folders (#4754)
Because

* It can be necessary to have a .vscode directory under the root or under ./app

This commit

* Ignores .vscode directories at any depth
2021-03-03 15:41:08 -05:00
Jody Heavener 8b608ddc00
chore(project): check in select vscode settings files (#4749) 2021-03-03 13:37:27 -05:00
Jody Heavener 9aebb42fe4
docs(project): add little blurb about setting up GCP credentials (#3962) 2020-11-12 15:13:17 -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 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
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
Lauren Zugai 091b356df5
feat(nimbus-ui): Init nimbus-ui with CRA Typescript, remove cruft, add tests, linting, workspace, README (#3519)
* feat(nimbus-ui): Init nimbus-ui with CRA Typescript, remove cruft, add tests, linting, workspace, README"

* Add optional label parameter to babel plugins for core

* Copy nimbus-ui into container before yarn build commands

* Only eslint ts source files

* Use container paths for nimbus-ui node_modules and built assets

* Upgrade TS version to latest

* Install eslint dev dependencies so we can lint outside react-scripts

* Rebuild yarn.lock file

* Use jsdom-sixteen jest test env for 'core'

* Use jsdom-sixteen jest test env for 'rapid'

* fix yarn deps issue, silence babel warning

* CI=yes not CI=true

* Add MPL license to missed file and add newline to package.json

* Fix dependabot spacing

* Move testing lib to dev dep instead of dep

* Fix double quotes in docker compose

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
Co-authored-by: Jody Heavener <j.heavener@gmail.com>
2020-09-24 12:30:15 -05:00
Jody Heavener f6dd9c9e76
Move legacy UI to its new home in preparation for Nimbus UI work (#3534) 2020-09-24 11:00:48 -04:00
Jared Lockhart c49cad10c3
Docker ignore .cache folders fixes #2891 (#2892) 2020-06-25 15:56:28 -04:00
Jared Lockhart 3ace23ac99
Refactor API file layout fixes #2693 (#2694)
* Refactor API file layout fixes #2693

* Move geo serializers

* Move normandy serializers

* Move api views

* Move private serializers

* Move clone serializers

* Move entities serializers

* Move experiments tests around

* Flake8 fixes
2020-05-29 11:35:48 -04:00
R&D a4e23951b1
Tweak OIDC middleware to support non-docker workflow (#2695)
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2020-05-27 18:00:04 -04:00
Jared Lockhart 58bfe4fc9a
Update integration test report path fixes #2415 (#2416) 2020-03-23 16:56:38 -05:00
Tif Tran 1208042317 added/edited js tests for 100% line coverage (#2193)
* test edits to reach 100% coverage fixes #2173

* formatting

* fixed up imports

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2020-01-24 13:21:09 +00:00
Tif Tran 3046a500e6
added docker-compose to include norm.and delivery console fixes #1459 (#1676)
* added docker-compose to include norm.and delivery console fixes #1459

* changes to dockercompose to build from symlinks rather than images

* read me update

* makefile changes compose all and normandy shell

* renamed service names and added env var for worker

* removed slashes for norm. and dc in gitignore

* added build ssl to compose_build_all
2019-10-15 08:34:04 -07:00
Benjamin Forehand Jr 7eff670e2b
Remove integration test html report. (#1558) 2019-08-16 09:28:26 -05:00
Alissa Sobo 5229cb3a3e
Add yarn, parcel bundling fixes #1554 (#1555)
* Add yarn, parcel bundling fixes #1554

* Auto reload js
2019-08-14 09:29:41 -07:00
Peter Bengtsson 9d30f7d2f4 Run CI tests with pytest instead of Django's test runner fixes #1037 (#1038)
Fixes #1037
2019-03-13 09:52:15 -04:00
Jared Kerim 343195221a Ignore tmon folders fixes #527 2018-09-12 14:02:36 -04:00
Jared Kerim 3c716bcd48 Add test watcher fixes #510 2018-09-10 15:11:11 -04:00
Jared Kerim 9f90df87ac Add SSL to Nginx and remove openresty fixes #193 2017-08-24 16:43:51 -04:00
Jared Kerim 94b4e44a8c Dynamically host static assets when DEBUG=True and statically host them when it's False fixes #140 2017-07-12 16:14:49 -04:00
Jared Kerim d39a2b43e2 Build projects list page fixes #106 2017-07-04 16:15:35 -04:00
Jared Kerim 8f6cbe4038 Add dashboard_url, dashboard_image_url, image to projects fixes #104 2017-06-30 16:04:52 -04:00
Jared Kerim dfa37689a7 Revert "Host static assets through nginx fixes #78" fixes #126
This reverts commit ab8b943fda.
2017-06-30 14:37:53 -04:00
Jared Kerim ab8b943fda Host static assets through nginx fixes #78 2017-06-22 16:00:48 -04:00
Jared Kerim 1ce370923c Add Experiment Status fixes #33 2017-05-16 17:04:54 -04:00
Jared Kerim 9146316ae7 Add experiment serializer fixes #13 2017-05-16 13:38:55 -04:00
Jared Kerim 28cdaecbc4 Fix db migration collision 2017-05-05 17:06:49 -04:00
Jared Kerim 54249615c9 Update README fixes #22 2017-04-18 13:24:55 -04:00
Jared Kerim 5f837715ea Add project skeleton 2016-11-09 20:06:28 +00:00