Skip to content

Commit

Permalink
Move basic image repro tests to GCB (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1545 authored Jul 31, 2019
1 parent c5537da commit 07a636f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ platforms:
# Disabled tests that do not run in BuildKite CI.
- "-//tests/docker/security/..."
# tests/docker/security require gcloud
- "-//tests/contrib:derivative_with_volume_repro_test"
- "-//tests/contrib:java_pkg_want_failure"
- "-//tests/contrib:python3_pkg_want_failure"
- "-//tests/contrib:rbe-test-xenial_repro_test"
- "-//tests/contrib:set_cmd_repro_test"
- "-//tests/contrib:test_compare_ids_test_diff_ids_fails"
- "-//tests/contrib:test_compare_ids_test_invalid_tar_fails"
- "-//tests/contrib:test_compare_ids_test_invalid_tar_fails_multi_regex"
Expand All @@ -40,9 +42,11 @@ platforms:
# Disabled tests that do not run in BuildKite CI.
- "-//tests/docker/security/..."
# tests/docker/security require gcloud
- "-//tests/contrib:derivative_with_volume_repro_test"
- "-//tests/contrib:java_pkg_want_failure"
- "-//tests/contrib:python3_pkg_want_failure"
- "-//tests/contrib:rbe-test-xenial_repro_test"
- "-//tests/contrib:set_cmd_repro_test"
- "-//tests/contrib:test_compare_ids_test_diff_ids_fails"
- "-//tests/contrib:test_compare_ids_test_invalid_tar_fails"
- "-//tests/contrib:test_compare_ids_test_invalid_tar_fails_multi_regex"
Expand Down
22 changes: 22 additions & 0 deletions tests/contrib/repro_imgs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,28 @@ steps:
args:
- ./tests/contrib/mv_project_root.sh

# Test basic image is reproducible.
- name: "l.gcr.io/google/bazel"
args:
- --output_base=/workspace/output_base
- test
- --test_output=errors
- --spawn_strategy=standalone
- --verbose_failures
- //tests/contrib:set_cmd_repro_test
dir: 'rules_docker'

# Test image specifying volumes is reproducible.
- name: "l.gcr.io/google/bazel"
args:
- --output_base=/workspace/output_base
- test
- --test_output=errors
- --spawn_strategy=standalone
- --verbose_failures
- //tests/contrib:derivative_with_volume_repro_test
dir: 'rules_docker'

# Test RBE image is reproducible.
- name: "l.gcr.io/google/bazel"
args:
Expand Down

0 comments on commit 07a636f

Please sign in to comment.