Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Move tests that use 'docker' to GCB #1290

Merged
merged 12 commits into from
Nov 22, 2019

Conversation

alex1545
Copy link
Contributor

No description provided.

@alex1545
Copy link
Contributor Author

/gcbrun

tests/container/cloudbuild.yaml Outdated Show resolved Hide resolved
.bazelci/presubmit.yml Show resolved Hide resolved

steps:
- name: "l.gcr.io/google/bazel"
args:
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we setup these tests to execute on RBE and not need a N1_HIGHCPU_32 machine?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

- "//tests/container:new_alpine_linux_ppc64le_image_tar_test"
- "//tests/container:new_alpine_linux_ppc64le_image_oci_tar_test"
- "//tests/container:new_alpine_linux_ppc64le_image_oci_test"
- name: "l.gcr.io/google/bazel"
Copy link
Contributor

Choose a reason for hiding this comment

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

are these steps running in parallel? probably can be run in a single step and run on RBE and provide better performance.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done, runs on RBE now in a single step.
No, they weren't running in parallel, but I thought it would be easier to see where failures are coming from when the different tests are spread across different steps.

# See the License for the specific language governing permissions and
# limitations under the License.

steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

add doc explaining what these file is testing (i.e., tests that need docker in contrib directory)

Copy link
Contributor

Choose a reason for hiding this comment

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

also, can we execute as well on RBE?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done
Except for moving tests under //tests/contrib/automatic_container_release to run on RBE. This is because RBE bots don't have the necessary permissions to pull the checker images.

options:
machineType: "N1_HIGHCPU_32"

steps:
Copy link
Contributor

Choose a reason for hiding this comment

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

same as for the above, can we run on RBE, add docs, not use N1_HIGHCPU_32.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@alex1545
Copy link
Contributor Author

/gcbrun

@alex1545 alex1545 merged commit 0237f78 into bazelbuild:master Nov 22, 2019
@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alex1545, nlopezgi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@alex1545 alex1545 deleted the run-docker-tests-in-gcb branch November 22, 2019 19:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants