qontract-reconcile 0.10.1rc1177__py3-none-any.whl → 0.10.1rc1179__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.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/METADATA +1 -1
- {qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/RECORD +8 -8
- reconcile/aus/base.py +0 -12
- reconcile/gql_definitions/terraform_repo/terraform_repo.py +8 -0
- reconcile/test/test_terraform_repo.py +3 -0
- {qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/WHEEL +0 -0
- {qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/entry_points.txt +0 -0
- {qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/top_level.txt +0 -0
{qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.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.1rc1179
|
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.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/RECORD
RENAMED
@@ -122,7 +122,7 @@ reconcile/vpc_peerings_validator.py,sha256=-upvNg3ggKCxcJ4kqZcqJVsiltlhQ8MyyLZiW
|
|
122
122
|
reconcile/aus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
123
123
|
reconcile/aus/advanced_upgrade_service.py,sha256=NF3UQ02MdUpVPup50EqnTbTn3dRHGoXoSfFLZxOjr8Q,23744
|
124
124
|
reconcile/aus/aus_label_source.py,sha256=2Rktyvs7ZvCwsRwmbGUhddycTBTq0jHq8wpBaiDHAMA,4165
|
125
|
-
reconcile/aus/base.py,sha256=
|
125
|
+
reconcile/aus/base.py,sha256=PAiMfzojkvDhYNKMEX9SL-eqeAS4ytCa0teR1h0BzgE,48701
|
126
126
|
reconcile/aus/cluster_version_data.py,sha256=VZWbUEIbrDKO-sroMpQtiWCTqDraTMd8tssKV0HyTQ0,7140
|
127
127
|
reconcile/aus/healthchecks.py,sha256=jR9c-syh9impnkV0fd6XW3Bnk7iRN5zv8oCRYM-yIRY,2700
|
128
128
|
reconcile/aus/metrics.py,sha256=nKT4m2zGT-QOMR0c-z-npVNKWsNMubzdffpU_f9n4II,3927
|
@@ -397,7 +397,7 @@ reconcile/gql_definitions/terraform_cloudflare_users/terraform_cloudflare_roles.
|
|
397
397
|
reconcile/gql_definitions/terraform_init/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
398
398
|
reconcile/gql_definitions/terraform_init/aws_accounts.py,sha256=OJ0hDbRachRaDkL-OGT6-byr9cKdBiQDnNCpwUe3oJ8,2674
|
399
399
|
reconcile/gql_definitions/terraform_repo/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
400
|
-
reconcile/gql_definitions/terraform_repo/terraform_repo.py,sha256=
|
400
|
+
reconcile/gql_definitions/terraform_repo/terraform_repo.py,sha256=Eb6vb-nBIZMAiIbjTcDTH-eNv3831bvZAIgM6E287Hw,3861
|
401
401
|
reconcile/gql_definitions/terraform_resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
402
402
|
reconcile/gql_definitions/terraform_resources/database_access_manager.py,sha256=yv0_YC-LmhaKD_gyGG3le1w5BtypBjlsO894-Zgdg4U,4813
|
403
403
|
reconcile/gql_definitions/terraform_resources/terraform_resources_namespaces.py,sha256=_man82NXH9Jw7OvgDiQCKiLDG6Q7aV_ktOAi12QCXbI,42793
|
@@ -566,7 +566,7 @@ reconcile/test/test_terraform_aws_route53.py,sha256=xHggb8K1P76OyCfFcogbkmyKle-N
|
|
566
566
|
reconcile/test/test_terraform_cloudflare_dns.py,sha256=aQTXX8Vr4h9aWvJZTnpZEhMGYoBpT2d45ZxU_ECIQ6o,3425
|
567
567
|
reconcile/test/test_terraform_cloudflare_resources.py,sha256=1mdSZS-38mtTSg7teJgDCJU1b_yKbwnrr3N5m8kwV4k,13595
|
568
568
|
reconcile/test/test_terraform_cloudflare_users.py,sha256=2VGBtMUhckLPtUnQlHIzpGsCnyVJZPNLFf-ABELkxbQ,27456
|
569
|
-
reconcile/test/test_terraform_repo.py,sha256=
|
569
|
+
reconcile/test/test_terraform_repo.py,sha256=Th6MNbexZX-pTtEpYFiXX0cMAZfnuFcYQ71ZZSjumbE,13025
|
570
570
|
reconcile/test/test_terraform_resources.py,sha256=8C97yXIEihaQ3DZrtjxLNt4y4G12IOhD01ydm7JjliY,15359
|
571
571
|
reconcile/test/test_terraform_tgw_attachments.py,sha256=pJFmQzUwAn-wKpF6oSkImpdF7WXvcky8iaJiXbjGGgU,41104
|
572
572
|
reconcile/test/test_terraform_users.py,sha256=XOAfGvITCJPI1LTlISmHbA4ONMQMkxYUMTsny7pQCFw,4319
|
@@ -880,8 +880,8 @@ tools/test/test_qontract_cli.py,sha256=iuzKbQ6ahinvjoQmQLBrG4shey0z-1rB6qCgS8T6d
|
|
880
880
|
tools/test/test_saas_promotion_state.py,sha256=dy4kkSSAQ7bC0Xp2CociETGN-2aABEfL6FU5D9Jl00Y,6056
|
881
881
|
tools/test/test_sd_app_sre_alert_report.py,sha256=v363r9zM7__0kR5K6mvJoGFcM9BvE33fWAayrqkpojA,2116
|
882
882
|
tools/test/test_sre_checkpoints.py,sha256=SKqPPTl9ua0RFdSSofnoQX-JZE6dFLO3LRhfQzqtfh8,2607
|
883
|
-
qontract_reconcile-0.10.
|
884
|
-
qontract_reconcile-0.10.
|
885
|
-
qontract_reconcile-0.10.
|
886
|
-
qontract_reconcile-0.10.
|
887
|
-
qontract_reconcile-0.10.
|
883
|
+
qontract_reconcile-0.10.1rc1179.dist-info/METADATA,sha256=TrEzA9ztxHZUkVWE9KPoeEMIg_cEtRmS-JDoLYPzeHo,2213
|
884
|
+
qontract_reconcile-0.10.1rc1179.dist-info/WHEEL,sha256=bFJAMchF8aTQGUgMZzHJyDDMPTO3ToJ7x23SLJa1SVo,92
|
885
|
+
qontract_reconcile-0.10.1rc1179.dist-info/entry_points.txt,sha256=GKQqCl2j2X1BJQ69een6rHcR26PmnxnONLNOQB-nRjY,491
|
886
|
+
qontract_reconcile-0.10.1rc1179.dist-info/top_level.txt,sha256=l5ISPoXzt0SdR4jVdkfa7RPSKNc8zAHYWAnR-Dw8Ey8,24
|
887
|
+
qontract_reconcile-0.10.1rc1179.dist-info/RECORD,,
|
reconcile/aus/base.py
CHANGED
@@ -1115,18 +1115,6 @@ def calculate_diff(
|
|
1115
1115
|
gates=gates,
|
1116
1116
|
target_version_prefix=target_version_prefix,
|
1117
1117
|
)
|
1118
|
-
# skipping upgrades when there are no version gates is a safety
|
1119
|
-
# precaution to prevent cluster upgrades being scheduled.
|
1120
|
-
# missing version gates are an indicator that the version has not yet gone
|
1121
|
-
# through SREP gap analysis and is not yet ready for upgrades.
|
1122
|
-
#
|
1123
|
-
# this might change in the future - revisite for 4.16
|
1124
|
-
if not minor_version_gates:
|
1125
|
-
logging.info(
|
1126
|
-
f"[{spec.org.org_id}/{spec.org.name}/{spec.cluster.name}] no gates found for {target_version_prefix}. "
|
1127
|
-
"Skip creation of an upgrade policy."
|
1128
|
-
)
|
1129
|
-
continue
|
1130
1118
|
gates_with_missing_agreements = gates_to_agree(
|
1131
1119
|
gates=minor_version_gates,
|
1132
1120
|
cluster=spec.cluster,
|
@@ -47,6 +47,9 @@ query TerraformRepo {
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
name
|
50
|
+
app {
|
51
|
+
name
|
52
|
+
}
|
50
53
|
repository
|
51
54
|
ref
|
52
55
|
projectPath
|
@@ -92,6 +95,10 @@ class AWSAccountV1(ConfiguredBaseModel):
|
|
92
95
|
terraform_state: Optional[TerraformStateAWSV1] = Field(..., alias="terraformState")
|
93
96
|
|
94
97
|
|
98
|
+
class AppV1(ConfiguredBaseModel):
|
99
|
+
name: str = Field(..., alias="name")
|
100
|
+
|
101
|
+
|
95
102
|
class TerraformRepoVariablesV1(ConfiguredBaseModel):
|
96
103
|
inputs: VaultSecret = Field(..., alias="inputs")
|
97
104
|
outputs: VaultSecret = Field(..., alias="outputs")
|
@@ -100,6 +107,7 @@ class TerraformRepoVariablesV1(ConfiguredBaseModel):
|
|
100
107
|
class TerraformRepoV1(ConfiguredBaseModel):
|
101
108
|
account: AWSAccountV1 = Field(..., alias="account")
|
102
109
|
name: str = Field(..., alias="name")
|
110
|
+
app: Optional[AppV1] = Field(..., alias="app")
|
103
111
|
repository: str = Field(..., alias="repository")
|
104
112
|
ref: str = Field(..., alias="ref")
|
105
113
|
project_path: str = Field(..., alias="projectPath")
|
@@ -42,6 +42,7 @@ def existing_repo(aws_account, tf_variables) -> TerraformRepoV1:
|
|
42
42
|
repository=A_REPO,
|
43
43
|
ref=A_REPO_SHA,
|
44
44
|
account=aws_account,
|
45
|
+
app=None,
|
45
46
|
projectPath="tf",
|
46
47
|
delete=False,
|
47
48
|
requireFips=True,
|
@@ -83,6 +84,7 @@ def new_repo(aws_account_no_state) -> TerraformRepoV1:
|
|
83
84
|
repository=B_REPO,
|
84
85
|
ref=B_REPO_SHA,
|
85
86
|
account=aws_account_no_state,
|
87
|
+
app=None,
|
86
88
|
projectPath="tf",
|
87
89
|
delete=False,
|
88
90
|
requireFips=False,
|
@@ -316,6 +318,7 @@ def test_get_repo_state(s3_state_builder, int_params, existing_repo, tf_variable
|
|
316
318
|
"tfVersion": A_REPO_VERSION,
|
317
319
|
"variables": tf_variables,
|
318
320
|
"forceRerunTimestamp": None,
|
321
|
+
"app": None,
|
319
322
|
"account": {
|
320
323
|
"name": "foo",
|
321
324
|
"uid": AWS_UID,
|
{qontract_reconcile-0.10.1rc1177.dist-info → qontract_reconcile-0.10.1rc1179.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|
File without changes
|