Skip to content

Commit 9439d74

Browse files
aivanoufacebook-github-bot
authored andcommitted
Make sure to run status and describe for non-dryrun runs (#111)
Summary: Pull Request resolved: #111 Make sure to run status and describe for non-dryrun runs Reviewed By: d4l3k Differential Revision: D29920784 fbshipit-source-id: dc523c11d8dfa8a071f8d7dcb4658eea12a72b6c
1 parent dfe0945 commit 9439d74

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/kubernetes-integration-tests.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,7 @@ jobs:
4747
APP_ID="$(torchx run --wait $ARGS --scheduler kubernetes \
4848
--scheduler_args queue=test utils.echo \
4949
--image alpine:latest --num_replicas 3)"
50-
torchx status "$APP_ID"
51-
torchx describe "$APP_ID"
50+
if [ "$ARGS" != "--dryrun" ]; then
51+
torchx status "$APP_ID"
52+
torchx describe "$APP_ID"
53+
fi

0 commit comments

Comments
 (0)