Skip to content

Conversation

@upalatucci
Copy link
Member

📝 Description

declare -A plugins=(["monitoring-plugin"]="https://github.com/openshift/monitoring-plugin.git", ["networking-console-plugin"]="https://github.com/openshift/networking-console-plugin.git")
declare -A runningPlugins=(["podman-linux"]="kubevirt-plugin=http://localhost:9001", ["podman"]="kubevirt-plugin=http://host.containers.internal:9001", ["docker"]="kubevirt-plugin=http://host.docker.internal:9001")

is not compatible with zsh. Me and others use that

@openshift-ci openshift-ci bot requested review from avivtur and gouyang April 18, 2025 16:00
@openshift-ci openshift-ci bot added the approved This issue is something we want to fix label Apr 18, 2025
#!/usr/bin/env bash
#Please run this script under bash 4+
set -euo pipefail
#!/bin/sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not zsh

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i would like to make it compatible with both

@metalice
Copy link
Member

not working on my mac
image

first run is with #!/bin/zsh
second run is #!/bin/sh

@upalatucci
Copy link
Member Author

/retest

@upalatucci upalatucci force-pushed the start-console-compatible branch from 7447a47 to 1dd9784 Compare June 4, 2025 12:37
start-console.sh Outdated
[ -n "$pid" ] && kill -9 "$pid"


[ "$arg" = "monitoring-plugin" ] then
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line needs to be changed back to:

if [ "$arg" = "monitoring-plugin" ]; then

@upalatucci upalatucci force-pushed the start-console-compatible branch from 1dd9784 to f1b2a6a Compare June 4, 2025 12:51
@pcbailey
Copy link
Member

pcbailey commented Jun 4, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Passed code review, ready for merge label Jun 4, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 4, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: pcbailey, upalatucci

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [pcbailey,upalatucci]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pcbailey
Copy link
Member

pcbailey commented Jun 4, 2025

/retest

1 similar comment
@upalatucci
Copy link
Member Author

/retest

@openshift-merge-bot openshift-merge-bot bot merged commit cff9441 into kubevirt-ui:main Jun 4, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This issue is something we want to fix lgtm Passed code review, ready for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants