From 0fac971004e95992eb6c89c3f9662982a73a2cd7 Mon Sep 17 00:00:00 2001 From: Jakub Kadlcik Date: Tue, 25 Mar 2025 10:42:27 +0100 Subject: [PATCH] copr-be: start using Pulp certs also for STG We still need to fix the base_url --- roles/copr/backend/templates/pulp-cli.toml | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/roles/copr/backend/templates/pulp-cli.toml b/roles/copr/backend/templates/pulp-cli.toml index f58f5bbe4b..58b6b08edf 100644 --- a/roles/copr/backend/templates/pulp-cli.toml +++ b/roles/copr/backend/templates/pulp-cli.toml @@ -1,6 +1,9 @@ -{% if env == "production" %} [cli] +{% if env == "production" %} base_url = "https://mtls.internal.console.redhat.com" +{% else %} +base_url = "https://pulp.stage.devshift.net" +{% endif %} api_root = "/api/pulp/" username = "" password = "" @@ -12,18 +15,3 @@ format = "json" dry_run = false timeout = 0 verbose = 0 -{% else %} -[cli] -base_url = "https://pulp.stage.devshift.net" -api_root = "/api/pulp/" -username = "copr" -password = "{{ copr_hosted_pulp_dev_password }}" -domain = "copr" -cert = "" -key = "" -verify_ssl = false -format = "json" -dry_run = false -timeout = 0 -verbose = 0 -{% endif %}