Skip to content

Commit

Permalink
more debug
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Gatto <[email protected]>
  • Loading branch information
outscale-mgo committed Mar 26, 2024
1 parent 3902626 commit 20d7673
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions local-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [ "$#" -lt 2 ]; then
pkill ricochet

cargo build
cargo run -- ./ricochet-oapi-cli.json > /dev/null &
cargo run -- ./ricochet-oapi-cli.json &

sleep 5

Expand Down Expand Up @@ -64,7 +64,7 @@ oapi-cli --config="./local-tests-cfg.json" --authentication_method password --p
echo "[Test Read vms with user 0 (my) is not empty, with conf (separate argument) Ok]"

trap "echo '[Test CreateVms with Tags using oapi-cli variable FAIL]'" ERR
OSC_ACCESS_KEY=11112211111110000000 OSC_SECRET_KEY=0000001111112222223333334444445555555666 oapi-cli ReadImages --Filters.ImageNames[] "Fill More is for Penguin General" --set-var 'img_id=Images.0.ImageId' \
OSC_ACCESS_KEY=11112211111110000000 OSC_SECRET_KEY=0000001111112222223333334444445555555666 oapi-cli --verbose ReadImages --Filters.ImageNames[] "Fill More is for Penguin General" --set-var 'img_id=Images.0.ImageId' \
CreateVms --ImageId --var img_id --set-var vm_id=Vms.0.VmId \
CreateTags --ResourceIds[] --var vm_id --Tags.0.Key k ..Value v \
ReadVms --Filters.VmIds[] --var vm_id | jq .Vms[0].Tags | grep '"v"'
Expand Down

0 comments on commit 20d7673

Please sign in to comment.