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

Fix merge conflict #1

Closed
wants to merge 9 commits into from

Conversation

edunham
Copy link

@edunham edunham commented Mar 22, 2016

I accidentally broke servo#263 by landing servo#250 .

aneeshusa and others added 9 commits March 22, 2016 08:12
This change groups the various sls files that set up the Servo build
environment into a single folder to:
 - make their purpose more clear in the top.sls file
 - make it easier to add auxiliary files (i.e. map.jinja)
Use a SHA512 hash instead of a SHA1 hash to verify the B2G download.
Update the style guide.
Use separate directories for separate versions of the
SDK, NDK, and toolchain, and use symlinks to point to the current
versions. This is more robust for a few reasons:
 - Partially-completed upgrades to new versions won't touch
   existing versions on the disk
 - The symlinks aren't updated until the respective new version is
   completely installed, allowing for more transactional updates.
 - The symlinks also allow for constant paths in the bash_profile file
   and the buildbot config, which means less moving parts to break.
   In particular, the relevant buildbot config is on the master, and
   using symlinks makes it unnecessary to use Salt orchestration to
   gate changes to the master buildbot config on changes on the cross
   builders.

Ideally, these states would also use file.directory with clean: True
to clean out old versions of the SDK, NDK, and toolchain, but I wasn't
able to get this working properly yet (the just-downloaded files would
keep getting cleaned away).

This also eliminates our use of cmd.wait, which was recently put on the
deprecation path in Salt, and replaces it with cmd.run + creates: True.
The buildbot configuration already sets the correct environment
variables for Android builds, so it's unnecessary to set them via
.bash_profile.
Don't install the servo build dependencies on the Buildbot master,
but make sure to keep git installed to update the Salt file tree.
archive.extracted is fairly loud because each extracted file is listed
both in INFO log level output and the highstate summary.
This gets around exceeding Travis's 4MB log length limit.
Landing servo#250 added salt.common to base in
top.sls
@aneeshusa
Copy link
Owner

Did a rebase instead, see servo#263 (comment).

@aneeshusa aneeshusa closed this Mar 22, 2016
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.

2 participants