Skip to content

Commit

Permalink
Add CI test for Dockerfile lock
Browse files Browse the repository at this point in the history
While it is impossible to verify the output of the Dockerfile lock
command without a controlled base OS and Dockerfile, we still want to
make sure that the Dockerfile lock command runs to completion when new
changes are merged from a PR. This commit adds the Dockerfile lock test
to run whenever files under the tern/analyze/docker directory are
changed.

Signed-off-by: Rose Judge <[email protected]>
  • Loading branch information
rnjudge authored and Nisha K committed Apr 17, 2020
1 parent a01047b commit a6fde9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/test_files_touched.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@
'python tests/test_analyze_docker_dockerfile.py',
'python tests/test_analyze_common.py',
'tern report -i golang:alpine',
'tern report -d samples/alpine_python/Dockerfile'],
'tern report -d samples/alpine_python/Dockerfile',
'tern lock Dockerfile'],
# tern/report
re.compile('tern/report'): [
'tern report -i golang:alpine',
Expand Down

0 comments on commit a6fde9e

Please sign in to comment.