Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't rebuild core when running test-snippets in CI #4399

Merged
merged 8 commits into from
Dec 14, 2020

Conversation

mattsoulanille
Copy link
Member

@mattsoulanille mattsoulanille commented Dec 14, 2020

Prevent test-snippets from rebuilding tfjs-core in CI and instead have it wait for core to be built by its own cloudbuild step.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@google-cla google-cla bot added the cla: yes label Dec 14, 2020
Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

Thank you, looks like the other packages that contains snippet tests (layers, data, converter), do not have test-snippets-ci target, maybe keep consistent with those or update those to have ci suffix.

Reviewable status: 0 of 1 approvals obtained (waiting on @pyu10055)

Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

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

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

Copy link
Collaborator

@pyu10055 pyu10055 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: 0 of 1 approvals obtained (waiting on @mattsoulanille)


tfjs-core/cloudbuild.yml, line 68 at r2 (raw file):

  entrypoint: 'yarn'
  args: ['test-snippets-ci']
  waitFor: ['yarn', 'build']

you might need to update the cloudbuild test golden file

Copy link
Member Author

@mattsoulanille mattsoulanille left a comment

Choose a reason for hiding this comment

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

I'll update layers, data, and converter in this PR too. Commits coming in a moment.

Reviewable status: 0 of 1 approvals obtained (waiting on @pyu10055)


tfjs-core/cloudbuild.yml, line 68 at r2 (raw file):

Previously, pyu10055 (Ping Yu) wrote…

you might need to update the cloudbuild test golden file

Yep, definitely. Nice catch!

Copy link
Collaborator

@pyu10055 pyu10055 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 r2, 7 of 7 files at r3.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained (waiting on @pyu10055)

@mattsoulanille mattsoulanille merged commit 98d7151 into tensorflow:master Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants