Capture artifacts before shutting down test containers
Capture of lambda logs requires a running Localstack instance, so if
we're going to capture those logs, we must do it before we stop the
containers.
@@ -250,6 +250,7 @@ test-with-env: # (Do not include help text - not to be used directly)
fi
# Unset COMPOSE_FILE to help ensure it will be ignored with use of --file
unset COMPOSE_FILE
+ etc/ci_scripts/dump_artifacts.py --compose-project=${COMPOSE_PROJECT_NAME}
docker-compose --file docker-compose.yml stop;
}
# Ensure we call stop even after test failure, and return exit code from
