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

Re-structure CI flow. #6214

Closed

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Jul 22, 2018

First build pants pexes for OSX and Linux and then use those pexes to
run all tests in a subsequent stage.

Fixes #6016

@jsirois jsirois force-pushed the issues/6016-using-travis-cache branch from 034b92a to bf42e37 Compare July 23, 2018 01:49
@jsirois
Copy link
Contributor Author

jsirois commented Jul 23, 2018

Note to self: TODO downgrade bash / do not use declare -A beacause OSX bash is old and brew update && brew install is expensive.

@jsirois
Copy link
Contributor Author

jsirois commented Jul 23, 2018

Getting bit by pantsbuild/binaries#78
That will likely require a shave to unblock this work.

@jsirois
Copy link
Contributor Author

jsirois commented Jul 23, 2018

Note to self: the pants venv is no longer in play which means any extra 3rdparty deps used by plugins but not core pants will not be seen by pants.pex.

One solution is overriding backends with plugins in the CI-specific pants.ini.

Another is to back out PANTS_COMMAND changes and instead cache ~/.cache/pants/bin/native-engine/.

@jsirois jsirois mentioned this pull request Jul 30, 2018
@jsirois jsirois closed this May 26, 2019
@jsirois jsirois deleted the issues/6016-using-travis-cache branch May 26, 2019 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache ./pants bootstrapping in CI using stages
1 participant