Skip to content

Commit

Permalink
Remove podman-localhost remainders (openshift#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuviGold authored Jan 10, 2021
1 parent c5ff5e0 commit ce08449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion discovery-infra/test_infra/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def get_remote_assisted_service_url(oc, namespace, service, scheme):


def get_local_assisted_service_url(profile, namespace, service, deploy_target):
if deploy_target in ["onprem", "podman-localhost"]:
if deploy_target in ["onprem"]:
assisted_hostname_or_ip = os.environ["ASSISTED_SERVICE_HOST"]
return f'http://{assisted_hostname_or_ip}:8090'
elif deploy_target == "ocp":
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy_assisted_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export PUBLIC_CONTAINER_REGISTRIES=${PUBLIC_CONTAINER_REGISTRIES:-}

mkdir -p build

if [ "${DEPLOY_TARGET}" == "onprem" ] || [ "${DEPLOY_TARGET}" == "podman-localhost" ]; then
if [ "${DEPLOY_TARGET}" == "onprem" ]; then
if [ -n "$OPENSHIFT_INSTALL_RELEASE_IMAGE" ]; then
sed -i "s|OPENSHIFT_INSTALL_RELEASE_IMAGE=.*|OPENSHIFT_INSTALL_RELEASE_IMAGE=${OPENSHIFT_INSTALL_RELEASE_IMAGE}|" assisted-service/onprem-environment
fi
Expand Down

0 comments on commit ce08449

Please sign in to comment.