diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 56869bc2a..e5c41d82d 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -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" @@ -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" diff --git a/tests/contrib/repro_imgs.yaml b/tests/contrib/repro_imgs.yaml index 0935d74a4..4e324623f 100644 --- a/tests/contrib/repro_imgs.yaml +++ b/tests/contrib/repro_imgs.yaml @@ -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: