Skip to content

Commit

Permalink
integrationTest kickoff for python
Browse files Browse the repository at this point in the history
  • Loading branch information
alianides committed Jul 18, 2024
1 parent 9b5306c commit f43dd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-integrationTests-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,14 @@ jobs:
echo "Running: docker exec ${DEV_CONTAINER_NAME} bash -c \"/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678\""
docker exec ${DEV_CONTAINER_NAME} bash -c "/spacefx-dev/debugShim-deploy.sh --debug_shim ${{ inputs.app_name }} --python_file /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py --disable_plugin_configs --port 5678" &
echo "k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c \"python3 -m debugpy --listen 5678 --wait-for-client /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py\" &"
echo "k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c \"python3 /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py\" &"
(
# Reroute the stdout to a file so we can uniquely identify this run
trap "" HUP
exec 0< /dev/null
exec 1> "${PWD}/.git/logs/${{ inputs.app_name }}.log.stdout"
exec 2>&1
k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c "python3 -m debugpy --listen 5678 --wait-for-client /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py"
k3s kubectl exec -n payload-app deploy/${{ inputs.app_name }} -- bash -c "python3 /workspace/${{ inputs.app_name }}/test/integrationTests_python/integrationTest.py"
) &
client_pid=$!
Expand Down

0 comments on commit f43dd4b

Please sign in to comment.