Skip to content

Commit

Permalink
Skip checking for Gitops config (#9593)
Browse files Browse the repository at this point in the history
Signed-off-by: prsurve <prsurve@redhat.com>
  • Loading branch information
prsurve authored May 13, 2024
1 parent a51208e commit 514d8fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
3 changes: 0 additions & 3 deletions conf/ocsci/deploy_gitops_operator.yaml

This file was deleted.

10 changes: 4 additions & 6 deletions ocs_ci/deployment/deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,15 +279,13 @@ def do_gitops_deploy(self):
Returns:
"""
if not config.ENV_DATA.get("deploy_gitops_operator"):
return

# Multicluster operations
if config.multicluster:
config.switch_acm_ctx()

self.deploy_gitops_operator()

acm_indexes = get_all_acm_indexes()
for acm_ctx in acm_indexes:
self.deploy_gitops_operator(switch_ctx=acm_ctx)
config.switch_ctx(get_active_acm_index())
logger.info("Creating GitOps CLuster Resource")
run_cmd(f"oc create -f {constants.GITOPS_CLUSTER_YAML}")

Expand Down

0 comments on commit 514d8fb

Please sign in to comment.