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

Ensure specific Android SDK platform version is installed #383

Merged

Conversation

@aneeshusa
Copy link
Member

aneeshusa commented May 25, 2016

Update the creates parameter to the cmd.run state which installs the
Android SDK to check for both the platform tools and the specific
version of the platform we are using (currently, android-18). This
makes sure that the SDK will reinstalled on future Salt runs if either
directory is missing, instead of just checking for the platform tools.

Also, extract the Android platform into a Jinja variable.

Note that this feature of Salt is not documented, hence why I didn't
do this originally - I thought it didn't exist. I only discovered it
when I went into the Salt codebase to implement it myself.


This change is Reviewable

Update the creates parameter to the cmd.run state which installs the
Android SDK to check for both the platform tools and the specific
version of the platform we are using (currently, android-18). This
makes sure that the SDK will reinstalled on future Salt runs if either
directory is missing, instead of just checking for the platform tools.

Also, extract the Android platform into a Jinja variable.

Note that this feature of Salt is not documented, hence why I didn't
do this originally - I thought it didn't exist. I only discovered it
when I went into the Salt codebase to implement it myself.
@larsbergstrom
Copy link
Contributor

larsbergstrom commented May 25, 2016

@bors-servo
Copy link
Contributor

bors-servo commented May 25, 2016

📌 Commit 0de12d2 has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented May 25, 2016

Testing commit 0de12d2 with merge 1f5e64c...

bors-servo added a commit that referenced this pull request May 25, 2016
…y, r=larsbergstrom

Ensure specific Android SDK platform version is installed

Update the creates parameter to the cmd.run state which installs the
Android SDK to check for both the platform tools and the specific
version of the platform we are using (currently, android-18). This
makes sure that the SDK will reinstalled on future Salt runs if either
directory is missing, instead of just checking for the platform tools.

Also, extract the Android platform into a Jinja variable.

Note that this feature of Salt is not documented, hence why I didn't
do this originally - I thought it didn't exist. I only discovered it
when I went into the Salt codebase to implement it myself.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/saltfs/383)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented May 25, 2016

☀️ Test successful - travis

@bors-servo bors-servo merged commit 0de12d2 into servo:master May 25, 2016
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.