Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Harmony 571 daac regression tests #2

Merged
merged 19 commits into from
Mar 8, 2021
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
HARMONY-571: Fixed issue with .netrc file and added all notebook fail…
…ures to output
James Norton committed Feb 16, 2021
commit dbdc0e7615f5af60798d695fd5c5823de274f462
2 changes: 1 addition & 1 deletion test/Dockerfile
Original file line number Diff line number Diff line change
@@ -5,9 +5,9 @@ ARG notebook
ENV env_sub_dir=$sub_dir
ENV env_notebook=$notebook

COPY .netrc .netrc
WORKDIR /root

COPY .netrc .netrc
COPY ${sub_dir} ./${sub_dir}
RUN ls ${sub_dir}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debugging statement. Should be removed.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


5 changes: 4 additions & 1 deletion test/run_notebooks.sh
Original file line number Diff line number Diff line change
@@ -26,11 +26,14 @@ done

# check to see if any of the docker runs errored
i=0
exit_code=0
for code in ${EXIT_CODES[@]}; do
name=${NAMES[$i]}
if [[ ${code} -ne 0 ]]; then
bilts marked this conversation as resolved.
Show resolved Hide resolved
echo -e "${RED}Test suite ${name} failed with exit code ${code}${NC}"
exit ${code}
exit_code=1
fi
((i+=1))
done

exit ${exit_code}