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

Update tests to be run in macOS #77

Closed
coolbrg opened this issue Nov 10, 2017 · 1 comment
Closed

Update tests to be run in macOS #77

coolbrg opened this issue Nov 10, 2017 · 1 comment

Comments

@coolbrg
Copy link
Contributor

coolbrg commented Nov 10, 2017

Currently, the tests are only able to run in Linux as we are downloading only linux binary here

OS = os.getenv('OS', 'linux')
def main():
pattern = re.compile(".*%s-amd64.(tgz|zip)$" % OS)
r = requests.get('https://api.github.com/repos/minishift/minishift/releases/latest')
for asset in r.json()['assets']:
if pattern.match(asset['name']):
print asset['browser_download_url']

@LalatenduMohanty LalatenduMohanty self-assigned this Nov 10, 2017
LalatenduMohanty added a commit to LalatenduMohanty/minishift-b2d-iso that referenced this issue Nov 12, 2017
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
LalatenduMohanty added a commit to LalatenduMohanty/minishift-b2d-iso that referenced this issue Nov 12, 2017
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
LalatenduMohanty added a commit to LalatenduMohanty/minishift-b2d-iso that referenced this issue Nov 14, 2017
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
coolbrg pushed a commit that referenced this issue Nov 14, 2017
Signed-off-by: Lalatendu Mohanty <lmohanty@redhat.com>
@coolbrg
Copy link
Contributor Author

coolbrg commented Nov 15, 2017

Resolved via #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants