Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Wait for yarn in webgpu / react native CI cloudbuild.yml. #1877

Merged
merged 2 commits into from
Aug 12, 2019
Merged

Conversation

nsthorat
Copy link
Contributor

@nsthorat nsthorat commented Aug 12, 2019

We need to wait for yarn on the parent folder because child directories will look in the parent node_modules. This introduces a race condition that causes the CI to be flaky.


This change is Reviewable

Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

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

Reviewed 1 of 1 files at r1.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @dsmilkov)

Copy link
Contributor

@dsmilkov dsmilkov left a comment

Choose a reason for hiding this comment

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

Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @dsmilkov and @nsthorat)


cloudbuild.yml, line 58 at r1 (raw file):

  dir: 'tfjs-webgpu/'
  args: ['test-ci']
  waitFor: ['yarn']  # start step immediately

edit the comment that we wait for the parent

@nsthorat
Copy link
Contributor Author

yarn test is failing because of rate-limit. Going to submit because this is unrelated to that failure (and CI kicks off the different tasks properly).

@nsthorat nsthorat merged commit 0d79535 into master Aug 12, 2019
@nsthorat nsthorat deleted the ci branch August 12, 2019 15:34
@nsthorat nsthorat mentioned this pull request Aug 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants