Skip to content

Commit 33bc64a

Browse files
authored
qontract-api promotion (#5391)
1 parent 82b757a commit 33bc64a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

reconcile/utils/mr/promote_qontract.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,15 @@ def process(self, gitlab_cli: GitLabApi) -> None:
204204
replace_text=self.commit_sha,
205205
)
206206

207+
# data/services/app-interface/cicd/ci-int/saas-qontract-api.yaml
208+
self._process_by(
209+
"json_path",
210+
gitlab_cli=gitlab_cli,
211+
path="data/services/app-interface/cicd/ci-int/saas-qontract-api.yaml",
212+
search_text="$.resourceTemplates[?(@.url == 'https://github.com/app-sre/qontract-reconcile')].targets[?(@.name == 'qontract-api-production')].ref",
213+
replace_text=self.commit_sha,
214+
)
215+
207216
# data/services/app-interface/terraform-repo/cicd/ci-int/saas-terraform-repo.yaml
208217
self._process_by(
209218
"json_path",

0 commit comments

Comments
 (0)