qontract-reconcile 0.10.1rc935__py3-none-any.whl → 0.10.1rc937__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.
- {qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/RECORD +9 -9
- reconcile/gql_definitions/ocm_labels/organizations.py +8 -0
- reconcile/ocm_labels/integration.py +5 -1
- reconcile/templates/rosa-classic-cluster-creation.sh.j2 +0 -6
- reconcile/templates/rosa-hcp-cluster-creation.sh.j2 +0 -6
- {qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: qontract-reconcile
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.1rc937
|
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
|
{qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/RECORD
RENAMED
@@ -332,7 +332,7 @@ reconcile/gql_definitions/membershipsources/__init__.py,sha256=47DEQpj8HBSa-_TIm
|
|
332
332
|
reconcile/gql_definitions/membershipsources/roles.py,sha256=d3nv3GLsj_eKgwB1glsiK6smpC4i16WO3dU5rIdRg94,3678
|
333
333
|
reconcile/gql_definitions/ocm_labels/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
334
334
|
reconcile/gql_definitions/ocm_labels/clusters.py,sha256=K0DaTnOEdCZAziDbmq3Ktrxzzmzy6sdb3-9kIDk6yao,2932
|
335
|
-
reconcile/gql_definitions/ocm_labels/organizations.py,sha256=
|
335
|
+
reconcile/gql_definitions/ocm_labels/organizations.py,sha256=ylNna62pG3XidrLQtMwu0LIOsKh6qyC2QImCbur2tV4,2252
|
336
336
|
reconcile/gql_definitions/ocm_oidc_idp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
337
337
|
reconcile/gql_definitions/openshift_cluster_bots/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
338
338
|
reconcile/gql_definitions/openshift_cluster_bots/clusters.py,sha256=QshhCQeFRu_o0DLpD-4ltT5X_xZHjsCLc5jB3an3UXs,3688
|
@@ -402,7 +402,7 @@ reconcile/ocm/types.py,sha256=vbHUUnD4CLR4TKFrVjWQtdCjPTI4A3h0Xodt3WlIsEo,2370
|
|
402
402
|
reconcile/ocm_internal_notifications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
403
403
|
reconcile/ocm_internal_notifications/integration.py,sha256=FIFHGJSjk_22A32ajJ-W-zsPM0w01kUmGPA8MVYWMPE,4364
|
404
404
|
reconcile/ocm_labels/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
405
|
-
reconcile/ocm_labels/integration.py,sha256=
|
405
|
+
reconcile/ocm_labels/integration.py,sha256=iM1yiapZIlRfCbzf3NJm5eghS_T4jMLZ0VKjTDGHwuc,15285
|
406
406
|
reconcile/oum/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
407
407
|
reconcile/oum/base.py,sha256=rkWsPO50fDiAuPjlEY3dvtMlSsSJmpxzXE8AFJB1zJA,13559
|
408
408
|
reconcile/oum/labelset.py,sha256=f5kDndbaIT4iNYxTRPSELTUgj_aMlzEJDPzooAkG2mE,2154
|
@@ -458,8 +458,8 @@ reconcile/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
458
458
|
reconcile/templates/aws_access_key_email.j2,sha256=2MUr1ERmyISzKgHqsWYLd-1Wbl-peUa-FsGUS-JLUFc,238
|
459
459
|
reconcile/templates/email.yml.j2,sha256=OZgczNRgXPj2gVYTgwQyHAQrMGu7xp-e4W1rX19GcrU,690
|
460
460
|
reconcile/templates/jira-checkpoint-missinginfo.j2,sha256=c_Vvg-lEENsB3tgxm9B6Y9igCUQhCnFDYh6xw-zcIbU,570
|
461
|
-
reconcile/templates/rosa-classic-cluster-creation.sh.j2,sha256=
|
462
|
-
reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=
|
461
|
+
reconcile/templates/rosa-classic-cluster-creation.sh.j2,sha256=zqMMlKWV-aUDMtA-Xu5kl5pYLilewDClnKM0c807nNA,2146
|
462
|
+
reconcile/templates/rosa-hcp-cluster-creation.sh.j2,sha256=DdnABKA-vu2x420JBBrr200bK8GE62GSzY9lBr2k7v8,2178
|
463
463
|
reconcile/templating/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
464
464
|
reconcile/templating/renderer.py,sha256=4Uo0HHRhXyXQNCMAEv3MiSL_R_B_DQ3MD7wtYcDzL9w,12951
|
465
465
|
reconcile/templating/validator.py,sha256=5f9f35PCHOOdjb7KZquL2YdabyuAUokPDa4xutSEHIQ,5360
|
@@ -842,8 +842,8 @@ tools/test/test_qontract_cli.py,sha256=_D61RFGAN5x44CY1tYbouhlGXXABwYfxKSWSQx3Jr
|
|
842
842
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
843
843
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
844
844
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
845
|
-
qontract_reconcile-0.10.
|
846
|
-
qontract_reconcile-0.10.
|
847
|
-
qontract_reconcile-0.10.
|
848
|
-
qontract_reconcile-0.10.
|
849
|
-
qontract_reconcile-0.10.
|
845
|
+
qontract_reconcile-0.10.1rc937.dist-info/METADATA,sha256=8KTnlUXYacfNTzrqBJ0MjSeIMzLKdieRUziuZRbfDZY,2262
|
846
|
+
qontract_reconcile-0.10.1rc937.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
847
|
+
qontract_reconcile-0.10.1rc937.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
848
|
+
qontract_reconcile-0.10.1rc937.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
849
|
+
qontract_reconcile-0.10.1rc937.dist-info/RECORD,,
|
@@ -26,6 +26,9 @@ query OcmOrganizations {
|
|
26
26
|
environment {
|
27
27
|
name
|
28
28
|
}
|
29
|
+
disable {
|
30
|
+
integrations
|
31
|
+
}
|
29
32
|
}
|
30
33
|
}
|
31
34
|
"""
|
@@ -41,10 +44,15 @@ class OpenShiftClusterManagerEnvironmentV1(ConfiguredBaseModel):
|
|
41
44
|
name: str = Field(..., alias="name")
|
42
45
|
|
43
46
|
|
47
|
+
class DisableClusterAutomationsV1(ConfiguredBaseModel):
|
48
|
+
integrations: Optional[list[str]] = Field(..., alias="integrations")
|
49
|
+
|
50
|
+
|
44
51
|
class OpenShiftClusterManagerV1(ConfiguredBaseModel):
|
45
52
|
org_id: str = Field(..., alias="orgId")
|
46
53
|
name: str = Field(..., alias="name")
|
47
54
|
environment: OpenShiftClusterManagerEnvironmentV1 = Field(..., alias="environment")
|
55
|
+
disable: Optional[DisableClusterAutomationsV1] = Field(..., alias="disable")
|
48
56
|
|
49
57
|
|
50
58
|
class OcmOrganizationsQueryData(ConfiguredBaseModel):
|
@@ -91,7 +91,11 @@ class OcmLabelsIntegration(QontractReconcileIntegration[OcmLabelsIntegrationPara
|
|
91
91
|
def get_organizations(
|
92
92
|
self, query_func: Callable
|
93
93
|
) -> list[OpenShiftClusterManagerV1]:
|
94
|
-
return
|
94
|
+
return [
|
95
|
+
o
|
96
|
+
for o in organization_query(query_func).organizations or []
|
97
|
+
if integration_is_enabled(self.name, o)
|
98
|
+
]
|
95
99
|
|
96
100
|
def get_environments(self, query_func: Callable) -> list[OCMEnvironment]:
|
97
101
|
return ocm_environment_query(query_func).environments
|
@@ -3,12 +3,6 @@
|
|
3
3
|
set -e
|
4
4
|
set -o pipefail
|
5
5
|
|
6
|
-
CURRENT_CLUSTER_COUNT=$(rosa list clusters -o json | jq 'length')
|
7
|
-
if (( CURRENT_CLUSTER_COUNT > 0 )); then
|
8
|
-
echo "Error: This account already has a cluster. Only one cluster per account is supported."
|
9
|
-
exit 1
|
10
|
-
fi
|
11
|
-
|
12
6
|
rosa init
|
13
7
|
rosa create ocm-role --admin -y -m auto
|
14
8
|
rosa create account-roles --classic -y -m auto
|
@@ -3,12 +3,6 @@
|
|
3
3
|
set -e
|
4
4
|
set -o pipefail
|
5
5
|
|
6
|
-
CURRENT_CLUSTER_COUNT=$(rosa list clusters -o json | jq 'length')
|
7
|
-
if (( CURRENT_CLUSTER_COUNT > 0 )); then
|
8
|
-
echo "Error: This account already has a cluster. Only one cluster per account is supported."
|
9
|
-
exit 1
|
10
|
-
fi
|
11
|
-
|
12
6
|
rosa init
|
13
7
|
rosa create ocm-role --admin -y -m auto
|
14
8
|
rosa create account-roles --hosted-cp -y -m auto
|
File without changes
|
File without changes
|
{qontract_reconcile-0.10.1rc935.dist-info → qontract_reconcile-0.10.1rc937.dist-info}/top_level.txt
RENAMED
File without changes
|