Skip to content

Commit

Permalink
invoke module
Browse files Browse the repository at this point in the history
  • Loading branch information
akchinSTC committed May 17, 2022
1 parent 3f156ec commit eb8f604
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -335,15 +335,15 @@ validate-runtime-images: # Validates delivered runtime-images meet minimum crite
echo WARNING: Image $$image requires at Python 3.8 or greater for latest generic component dependency installation; \
docker run -v $$(pwd)/etc/generic:/opt/elyra/ --rm $$image python3 -m pip install -r /opt/elyra/requirements-elyra-py37.txt && \
curl https://raw.githubusercontent.com/nteract/papermill/main/papermill/tests/notebooks/simple_execute.ipynb --output simple_execute.ipynb && \
papermill simple_execute.ipynb output.ipynb > /dev/null ; \
python3 -m papermill simple_execute.ipynb output.ipynb > /dev/null ; \
if [ $$? -ne 0 ]; then \
echo ERROR: Image $$image did not meet python requirements criteria in requirements-elyra-py37.txt ; \
fail=1; \
fi; \
elif [[ $$IMAGE_PYTHON3_MINOR_VERSION -ge 8 ]]; then \
docker run -v $$(pwd)/etc/generic:/opt/elyra/ --rm $$image python3 -m pip install -r /opt/elyra/requirements-elyra.txt && \
curl https://raw.githubusercontent.com/nteract/papermill/main/papermill/tests/notebooks/simple_execute.ipynb --output simple_execute.ipynb && \
papermill simple_execute.ipynb output.ipynb > /dev/null ; \
python3 -m papermill simple_execute.ipynb output.ipynb > /dev/null ; \
if [ $$? -ne 0 ]; then \
echo ERROR: Image $$image did not meet python requirements criteria in requirements-elyra.txt ; \
fail=1; \
Expand Down

0 comments on commit eb8f604

Please sign in to comment.