Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions debug-scripts/local-scripts/ovn-db-run-locally
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -euo pipefail
source ./utils
source ../utils

description() {
echo "Run ovn-kubernetes container with ovn db restored from a given file"
Expand Down Expand Up @@ -56,7 +56,7 @@ main() {
exit 1
fi

CONTAINER=$($CONTAINER_ENGINE run -t -d --entrypoint /bin/bash quay.io/openshift/origin-ovn-kubernetes:latest)
CONTAINER=$($CONTAINER_ENGINE run --arch=amd64 -t -d --entrypoint /bin/bash quay.io/openshift/origin-ovn-kubernetes:latest)
Copy link
Author

Choose a reason for hiding this comment

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

I have to adapt this to run in MacOS

Copy link
Author

Choose a reason for hiding this comment

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

Which should not affect any other OS as there are not other images arch

# cleanup if container is successfully created
trap clean_up EXIT

Expand Down
2 changes: 1 addition & 1 deletion debug-scripts/local-scripts/ovn-dbs-run-locally
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#!/bin/bash
set -euo pipefail
source ./utils
source ../utils

description() {
echo "Run multiple ovn-kubernetes containers with ovn dbs restored from files in a given directory"
Expand Down