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
Curassow issues on Cloud Foundry #17
Comments
@ragsns Which version of Curassow was you having problems with? |
@kylef master branch - 0.2.3? |
Can you elaborate on what the problems you are seeing are? I've successfully ran this version on both OS X and Linux. |
With master, here's the error that I get when pushing. Might have to do with swift-2.2-SNAPSHOT-2015-12-01-b? Starting app swift-helloworld in org raghsrin@us.ibm.com / space dev as raghsrin@us.ibm.com... FAILED |
@ragsns I'm assuming that error is happening because the Swift buildpack's master branch is a few weeks behind in the Swift snapshot version it is using. I just opened a (PR)[https://github.com/cloudfoundry-community/swift-buildpack/pull/3] for that. In the meantime could you try pushing with my branch as the buildpack? |
@briancroom I am able to push the following (which uses the 0.2.0 version of the framework). https://github.com/ragsns/Curassow-example-helloworld I still am seeing similar errors (as before) on https://github.com/kylef/Curassow-example-helloworld which is pinned to a snapshot version of swift? Hope this helps? |
@ragsns the forked swift-buildpack for CF doesn't know how to deal with a pinned Swift version referencing a development snapshot right now. If you delete the .swift-version file and re-push with my buildpack branch, it should work for you. If you see the same error, that means it probably cached the older Swift toolchain. I had to delete and re-push the app to get it to stage properly (live at https://curassow-example-helloworld.cfapps.io/ ) |
@briancroom Ah, the cache strikes again. I deleted the app and the .swift-version and now it worked (I got a few warnings, however). Thanks for the help! |
@briancroom I think it would make sense if CloudFlare didn't hard-code a version but instead allowed the
|
@kylef that's a good point. The Cloud Foundry buildpack (forked from your Heroku one!) actually does support .swift-version still, it just doesn't interpret the snapshot release version numbers the same way that yours does. I intend to propose a patch bringing it back in line with what your buildpack does, which seems the most sensible to me. |
@briancroom Great, I'd advise supporting a raw version number without the |
Going to close this issue as I don't think there is anything we can do in Curassow here. Please do mention if there is anything I / Curassow can do to help. |
I had to downgrade to tag 0.2 for the app. to work on Cloud Foundry.
The Hello World app (pinned to swift 2.2 but don't think that matters) is at
https://github.com/ragsns/Curassow-example-helloworld
and the Curassow tag 0.2 (for convenience) is at
https://github.com/ragsns/Curassow/
Am I missing something or is it a bug in master branch?
The text was updated successfully, but these errors were encountered: