зеркало из https://github.com/mozilla/opmon.git
Fix rollout defaults
This commit is contained in:
Родитель
b63396dcff
Коммит
c66b38102a
14
opmon/cli.py
14
opmon/cli.py
|
@ -207,9 +207,10 @@ def run(
|
|||
spec.merge(platform_defaults)
|
||||
|
||||
if experiment and experiment.is_rollout:
|
||||
platform_defaults = ConfigLoader.configs.get_platform_defaults("rollout")
|
||||
if platform_defaults is not None:
|
||||
spec.merge(platform_defaults)
|
||||
if platform == DEFAULT_PLATFORM:
|
||||
platform_defaults = ConfigLoader.configs.get_platform_defaults("rollout")
|
||||
if platform_defaults is not None:
|
||||
spec.merge(platform_defaults)
|
||||
spec.merge(external_config.spec)
|
||||
|
||||
configs.append((external_config.slug, spec.resolve(experiment, ConfigLoader.configs)))
|
||||
|
@ -237,9 +238,10 @@ def run(
|
|||
if platform_defaults is not None:
|
||||
spec.merge(platform_defaults)
|
||||
|
||||
platform_defaults = ConfigLoader.configs.get_platform_defaults("rollout")
|
||||
if platform_defaults is not None:
|
||||
spec.merge(platform_defaults)
|
||||
if platform == DEFAULT_PLATFORM:
|
||||
platform_defaults = ConfigLoader.configs.get_platform_defaults("rollout")
|
||||
if platform_defaults is not None:
|
||||
spec.merge(platform_defaults)
|
||||
|
||||
configs.append((rollout.normandy_slug, spec.resolve(rollout, ConfigLoader.configs)))
|
||||
|
||||
|
|
|
@ -90,7 +90,7 @@ markupsafe==2.1.2
|
|||
# via jinja2
|
||||
mccabe==0.7.0
|
||||
# via flake8
|
||||
mozilla-metric-config-parser==2023.1.4
|
||||
mozilla-metric-config-parser==2023.9.3
|
||||
# via mozilla-opmon
|
||||
# via -r -
|
||||
mypy==0.991
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# This file is autogenerated by pip-compile with python 3.8
|
||||
# To update, run:
|
||||
# This file is autogenerated by pip-compile with Python 3.10
|
||||
# by the following command:
|
||||
#
|
||||
# pip-compile --generate-hashes --output-file=requirements.txt requirements.in
|
||||
#
|
||||
|
@ -204,7 +204,14 @@ coverage[toml]==7.0.5 \
|
|||
exceptiongroup==1.1.0 \
|
||||
--hash=sha256:327cbda3da756e2de031a3107b81ab7b3770a602c4d16ca618298c526f4bec1e \
|
||||
--hash=sha256:bcb67d800a4497e1b404c2dd44fca47d3b7a5e5433dbab67f96c1a685cdfdf23
|
||||
# via -r requirements.in
|
||||
# via
|
||||
# -r requirements.in
|
||||
# cattrs
|
||||
# pytest
|
||||
faker==19.6.1 \
|
||||
--hash=sha256:5d6b7880b3bea708075ddf91938424453f07053a59f8fa0453c1870df6ff3292 \
|
||||
--hash=sha256:64c8513c53c3a809075ee527b323a0ba61517814123f3137e4912f5d43350139
|
||||
# via polyfactory
|
||||
flake8==6.0.0 \
|
||||
--hash=sha256:3833794e27ff64ea4e9cf5d410082a8b97ff1a06c16aa3d2027339cd0f1195c7 \
|
||||
--hash=sha256:c61007e76655af75e6785a931f452915b371dc48f56efd765247c8fe68f2b181
|
||||
|
@ -477,10 +484,14 @@ mccabe==0.7.0 \
|
|||
# via
|
||||
# -r requirements.in
|
||||
# flake8
|
||||
mozilla-metric-config-parser==2023.1.4 \
|
||||
--hash=sha256:405a0130cded473c6cbf61a4c8d8f3e1fd514426ea92ab9ef9cfeb6b68df918e \
|
||||
--hash=sha256:b344defc98f5ecf8bc7496d7db08f6693634c9f266ea261d94be15f9d38e272b
|
||||
mozilla-metric-config-parser==2023.9.3 \
|
||||
--hash=sha256:17bedf09105ae509e4fdac60a22873a4b07b251b0f35bf79fdcdf3d2e2a6a9a3 \
|
||||
--hash=sha256:313e62e32655895c94c2524d8262eb10e91b4c20a332c3935bfdf8c76d8779f3
|
||||
# via -r requirements.in
|
||||
mozilla-nimbus-schemas==2023.9.2 \
|
||||
--hash=sha256:aa23d024bf01e67564d4dfb288397cbea8046961dc246f687a2dff05280dd4d0 \
|
||||
--hash=sha256:ee2cb3cb042f197586689f187742e0a3c4da9090386f3f3ff48691686df6898a
|
||||
# via mozilla-metric-config-parser
|
||||
mypy==0.991 \
|
||||
--hash=sha256:0714258640194d75677e86c786e80ccf294972cc76885d3ebbb560f11db0003d \
|
||||
--hash=sha256:0c8f3be99e8a8bd403caa8c03be619544bc2c77a7093685dcf308c6b109426c6 \
|
||||
|
@ -549,6 +560,10 @@ pluggy==1.0.0 \
|
|||
# via
|
||||
# -r requirements.in
|
||||
# pytest
|
||||
polyfactory==2.8.2 \
|
||||
--hash=sha256:1f2571b143172f22f9ad1f85dec8b79e83a0620ea5844f1a1f67d275df6cc465 \
|
||||
--hash=sha256:82f0a7662eedb713260508a82587a4e37dc290a22e8715862d806a6a40c74388
|
||||
# via mozilla-nimbus-schemas
|
||||
proto-plus==1.22.2 \
|
||||
--hash=sha256:0e8cda3d5a634d9895b75c573c9352c16486cb75deb0e078b5fda34db4243165 \
|
||||
--hash=sha256:de34e52d6c9c6fcd704192f09767cb561bb4ee64e70eede20b0834d841f0be4d
|
||||
|
@ -596,6 +611,44 @@ pycodestyle==2.10.0 \
|
|||
# via
|
||||
# -r requirements.in
|
||||
# flake8
|
||||
pydantic==1.10.12 \
|
||||
--hash=sha256:0fe8a415cea8f340e7a9af9c54fc71a649b43e8ca3cc732986116b3cb135d303 \
|
||||
--hash=sha256:1289c180abd4bd4555bb927c42ee42abc3aee02b0fb2d1223fb7c6e5bef87dbe \
|
||||
--hash=sha256:1eb2085c13bce1612da8537b2d90f549c8cbb05c67e8f22854e201bde5d98a47 \
|
||||
--hash=sha256:2031de0967c279df0d8a1c72b4ffc411ecd06bac607a212892757db7462fc494 \
|
||||
--hash=sha256:2a7bac939fa326db1ab741c9d7f44c565a1d1e80908b3797f7f81a4f86bc8d33 \
|
||||
--hash=sha256:2d5a58feb9a39f481eda4d5ca220aa8b9d4f21a41274760b9bc66bfd72595b86 \
|
||||
--hash=sha256:2f9a6fab5f82ada41d56b0602606a5506aab165ca54e52bc4545028382ef1c5d \
|
||||
--hash=sha256:2fcfb5296d7877af406ba1547dfde9943b1256d8928732267e2653c26938cd9c \
|
||||
--hash=sha256:549a8e3d81df0a85226963611950b12d2d334f214436a19537b2efed61b7639a \
|
||||
--hash=sha256:598da88dfa127b666852bef6d0d796573a8cf5009ffd62104094a4fe39599565 \
|
||||
--hash=sha256:5d1197e462e0364906cbc19681605cb7c036f2475c899b6f296104ad42b9f5fb \
|
||||
--hash=sha256:69328e15cfda2c392da4e713443c7dbffa1505bc9d566e71e55abe14c97ddc62 \
|
||||
--hash=sha256:6a9dfa722316f4acf4460afdf5d41d5246a80e249c7ff475c43a3a1e9d75cf62 \
|
||||
--hash=sha256:6b30bcb8cbfccfcf02acb8f1a261143fab622831d9c0989707e0e659f77a18e0 \
|
||||
--hash=sha256:6c076be61cd0177a8433c0adcb03475baf4ee91edf5a4e550161ad57fc90f523 \
|
||||
--hash=sha256:771735dc43cf8383959dc9b90aa281f0b6092321ca98677c5fb6125a6f56d58d \
|
||||
--hash=sha256:795e34e6cc065f8f498c89b894a3c6da294a936ee71e644e4bd44de048af1405 \
|
||||
--hash=sha256:87afda5539d5140cb8ba9e8b8c8865cb5b1463924d38490d73d3ccfd80896b3f \
|
||||
--hash=sha256:8fb2aa3ab3728d950bcc885a2e9eff6c8fc40bc0b7bb434e555c215491bcf48b \
|
||||
--hash=sha256:a1fcb59f2f355ec350073af41d927bf83a63b50e640f4dbaa01053a28b7a7718 \
|
||||
--hash=sha256:a5e7add47a5b5a40c49b3036d464e3c7802f8ae0d1e66035ea16aa5b7a3923ed \
|
||||
--hash=sha256:a73f489aebd0c2121ed974054cb2759af8a9f747de120acd2c3394cf84176ccb \
|
||||
--hash=sha256:ab26038b8375581dc832a63c948f261ae0aa21f1d34c1293469f135fa92972a5 \
|
||||
--hash=sha256:b0d191db0f92dfcb1dec210ca244fdae5cbe918c6050b342d619c09d31eea0cc \
|
||||
--hash=sha256:b749a43aa51e32839c9d71dc67eb1e4221bb04af1033a32e3923d46f9effa942 \
|
||||
--hash=sha256:b7ccf02d7eb340b216ec33e53a3a629856afe1c6e0ef91d84a4e6f2fb2ca70fe \
|
||||
--hash=sha256:ba5b2e6fe6ca2b7e013398bc7d7b170e21cce322d266ffcd57cca313e54fb246 \
|
||||
--hash=sha256:ba5c4a8552bff16c61882db58544116d021d0b31ee7c66958d14cf386a5b5350 \
|
||||
--hash=sha256:c79e6a11a07da7374f46970410b41d5e266f7f38f6a17a9c4823db80dadf4303 \
|
||||
--hash=sha256:ca48477862372ac3770969b9d75f1bf66131d386dba79506c46d75e6b48c1e09 \
|
||||
--hash=sha256:dea7adcc33d5d105896401a1f37d56b47d443a2b2605ff8a969a0ed5543f7e33 \
|
||||
--hash=sha256:e0a16d274b588767602b7646fa05af2782576a6cf1022f4ba74cbb4db66f6ca8 \
|
||||
--hash=sha256:e4129b528c6baa99a429f97ce733fff478ec955513630e61b49804b6cf9b224a \
|
||||
--hash=sha256:e5f805d2d5d0a41633651a73fa4ecdd0b3d7a49de4ec3fadf062fe16501ddbf1 \
|
||||
--hash=sha256:ef6c96b2baa2100ec91a4b428f80d8f28a3c9e53568219b6c298c1125572ebc6 \
|
||||
--hash=sha256:fdbdd1d630195689f325c9ef1a12900524dceb503b00a987663ff4f58669b93d
|
||||
# via mozilla-nimbus-schemas
|
||||
pydocstyle==6.3.0 \
|
||||
--hash=sha256:118762d452a49d6b05e194ef344a55822987a462831ade91ec5c06fd2169d019 \
|
||||
--hash=sha256:7ce43f0c0ac87b07494eb9c0b462c0b73e6ff276807f204d6b53edc72b7e44e1
|
||||
|
@ -662,6 +715,7 @@ python-dateutil==2.8.2 \
|
|||
--hash=sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9
|
||||
# via
|
||||
# -r requirements.in
|
||||
# faker
|
||||
# google-cloud-bigquery
|
||||
pytz==2022.7.1 \
|
||||
--hash=sha256:01a0681c4b9684a28304615eba55d1ab31ae00bf68ec157ec3708a8182dbbcd0 \
|
||||
|
@ -712,7 +766,12 @@ toml==0.10.2 \
|
|||
tomli==2.0.1 \
|
||||
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
|
||||
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
|
||||
# via -r requirements.in
|
||||
# via
|
||||
# -r requirements.in
|
||||
# black
|
||||
# coverage
|
||||
# mypy
|
||||
# pytest
|
||||
types-futures==3.3.8 \
|
||||
--hash=sha256:6fe8ccc2c2af7ef2fdd9bf73eab6d617074f09f30ad7d373510b4043d39c42de \
|
||||
--hash=sha256:d6e97ec51d56b96debfbf1dea32ebec22c1687f16d2547ea0a34b48db45df205
|
||||
|
@ -757,6 +816,8 @@ typing-extensions==4.4.0 \
|
|||
# via
|
||||
# -r requirements.in
|
||||
# mypy
|
||||
# polyfactory
|
||||
# pydantic
|
||||
urllib3==1.26.14 \
|
||||
--hash=sha256:076907bf8fd355cde77728471316625a4d2f7e713c125f51953bb5b3eecf4f72 \
|
||||
--hash=sha256:75edcdc2f7d85b137124a6c3c9fc3933cdeaa12ecb9a6a959f22797a0feca7e1
|
||||
|
|
Загрузка…
Ссылка в новой задаче