From 4dc608e3e4f766e9e2434f6068ac5791188bf316 Mon Sep 17 00:00:00 2001 From: treddy08 <94612779+treddy08@users.noreply.github.com> Date: Fri, 13 Dec 2024 10:17:18 +1000 Subject: [PATCH 1/2] RHDH: Set branch for orchestrator repo --- .../defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/defaults/main.yml b/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/defaults/main.yml index abcce5c5099..b003d18ecec 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/defaults/main.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/defaults/main.yml @@ -32,6 +32,7 @@ ocp4_workload_redhat_developer_hub_bootstrap_quay_admin_password: "{{ ocp4_workload_redhat_developer_hub_bootstrap_sonataflow_namespace: sonataflow-infra ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_helm_chart: https://github.com/rhdhorchestrator/orchestrator-helm-chart.git +ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_helm_chart_revision: main ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_pgsql_version: "12.12.10" ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_workflows: repo: https://rhdhorchestrator.io/serverless-workflows-config From 3df08668769bcf8c67e0112d48c572114092de58 Mon Sep 17 00:00:00 2001 From: treddy08 Date: Fri, 13 Dec 2024 10:21:58 +1000 Subject: [PATCH 2/2] update --- .../tasks/setup_orchestrator.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/tasks/setup_orchestrator.yml b/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/tasks/setup_orchestrator.yml index 789e01d985a..85069d051db 100644 --- a/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/tasks/setup_orchestrator.yml +++ b/ansible/roles_ocp_workloads/ocp4_workload_redhat_developer_hub_bootstrap/tasks/setup_orchestrator.yml @@ -11,7 +11,9 @@ - name: Install postgresql for sonataflow ansible.builtin.shell: | git clone {{ ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_helm_chart }} - cd orchestrator-helm-chart/postgresql + cd orchestrator-helm-chart + git checkout {{ ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_helm_chart_revision }} + cd postgresql helm repo add bitnami https://charts.bitnami.com/bitnami helm install sonataflow-psql bitnami/postgresql --version {{ ocp4_workload_redhat_developer_hub_bootstrap_orchestrator_pgsql_version }} -n {{