qontract-reconcile 0.10.1rc977__py3-none-any.whl → 0.10.1rc978__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qontract-reconcile
3
- Version: 0.10.1rc977
3
+ Version: 0.10.1rc978
4
4
  Summary: Collection of tools to reconcile services with their desired state as defined in the app-interface DB.
5
5
  Home-page: https://github.com/app-sre/qontract-reconcile
6
6
  Author: Red Hat App-SRE Team
@@ -10,7 +10,7 @@ reconcile/aws_iam_password_reset.py,sha256=q96mwr2KeEQ5bpNniGlgIMZTxiuLSodcYfX-t
10
10
  reconcile/aws_support_cases_sos.py,sha256=Jk6_XjDeJSYxgRGqcEAOcynt9qJF2r5HPIPcSKmoBv8,2974
11
11
  reconcile/blackbox_exporter_endpoint_monitoring.py,sha256=O1wFp52EyF538c6txaWBs8eMtUIy19gyHZ6VzJ6QXS8,3512
12
12
  reconcile/checkpoint.py,sha256=_JhMxrye5BgkRMxWYuf7Upli6XayPINKSsuo3ynHTRc,5010
13
- reconcile/cli.py,sha256=uUbBR4c5lxWtD0rRwO4_Pu-B1elHqlCyuagc2hIJJ20,105534
13
+ reconcile/cli.py,sha256=7-GNgB05b5MGrnEuD0resVNL3hOsQNSYcAAHrR68sS0,105755
14
14
  reconcile/closedbox_endpoint_monitoring_base.py,sha256=rLh16BOlBOxTmJ8Si3wWyyEpmMlhh4Znx1Gc36qsmOc,4865
15
15
  reconcile/cluster_deployment_mapper.py,sha256=5gumAaRCcFXsabUJ1dnuUy9WrP_FEEM5JnOnE8ch9sE,2326
16
16
  reconcile/dashdotdb_base.py,sha256=l34QDu1G96_Ctnh7ZXdxXgSeCE93GQMdLAkWxmN6vDA,4775
@@ -851,8 +851,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
851
851
  tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
852
852
  tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
853
853
  tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
854
- qontract_reconcile-0.10.1rc977.dist-info/METADATA,sha256=KIv1VibJku5sijT1_iqblr8fFxJRJxlmIhP7hCmoyXI,2262
855
- qontract_reconcile-0.10.1rc977.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
856
- qontract_reconcile-0.10.1rc977.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
857
- qontract_reconcile-0.10.1rc977.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
858
- qontract_reconcile-0.10.1rc977.dist-info/RECORD,,
854
+ qontract_reconcile-0.10.1rc978.dist-info/METADATA,sha256=uOUbg3xbF6czgixzBH7noyhEscCDV0Y6SLkyviIjnEE,2262
855
+ qontract_reconcile-0.10.1rc978.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
856
+ qontract_reconcile-0.10.1rc978.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
857
+ qontract_reconcile-0.10.1rc978.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
858
+ qontract_reconcile-0.10.1rc978.dist-info/RECORD,,
reconcile/cli.py CHANGED
@@ -2710,11 +2710,20 @@ def ocm_upgrade_scheduler_org_updater(ctx, gitlab_project_id):
2710
2710
  @integration.command(
2711
2711
  short_help="Manage Addons Upgrade Policy schedules in OCM organizations."
2712
2712
  )
2713
+ @click.option(
2714
+ "--ocm-env",
2715
+ help="The OCM environment the integration should operator on. If none is specified, all environments will be operated on.",
2716
+ required=False,
2717
+ envvar="OCM_ENV",
2718
+ )
2713
2719
  @org_id_multiple
2714
2720
  @exclude_org_id
2715
2721
  @click.pass_context
2716
2722
  def ocm_addons_upgrade_scheduler_org(
2717
- ctx, org_id: Iterable[str], exclude_org_id: Iterable[str]
2723
+ ctx,
2724
+ ocm_env: str,
2725
+ org_id: Iterable[str],
2726
+ exclude_org_id: Iterable[str],
2718
2727
  ) -> None:
2719
2728
  from reconcile.aus.base import AdvancedUpgradeSchedulerBaseIntegrationParams
2720
2729
  from reconcile.aus.ocm_addons_upgrade_scheduler_org import (
@@ -2724,7 +2733,7 @@ def ocm_addons_upgrade_scheduler_org(
2724
2733
  run_class_integration(
2725
2734
  integration=OCMAddonsUpgradeSchedulerOrgIntegration(
2726
2735
  AdvancedUpgradeSchedulerBaseIntegrationParams(
2727
- ocm_environment="ocm-integration",
2736
+ ocm_environment=ocm_env,
2728
2737
  ocm_organization_ids=set(org_id),
2729
2738
  excluded_ocm_organization_ids=set(exclude_org_id),
2730
2739
  )