-
Notifications
You must be signed in to change notification settings - Fork 594
Deploying from Travis #2694
Comments
In addition to that, if I get all the way down to just adding the remote and trying to push to Flynn, I can't because Travis fails at the cert validation that Flynn needs and self-generates |
I'd like to hook in on this one with a quite general question: If I use a CI server (be it Travis), which ultimately builds the artefacts, wouldn't it be the best way that the CI deploys the artefacts on Flynn? I.e. push the (fat) jar to Flynn and not Flynn building it again? |
Are the Travis builds public? Can you link to an example failure? |
it could be very useful if someone writes an article on using any CI tool (Travis or otherwise) with Flynn. |
@hadifarnoud Well the purpose of a CI is to have ongoing tests on new commits and pull-requests. This is not really affected how you deploy, however, since both CI and Build-Pack Style deployment require you to have a completely automated build, one leads to the other. The build-pack (Flynn) needs to compile the source to generate a slug / container. This basically means that the CI is invoking the same build and test tool in your repository as later the build-pack is. This works and we currently use it that way. Some CI status badges are in the repositories so we can easily track if the build is alright. Now, this is of course just the Unit-Testing and limited integration testing. Having automated Integration Tests spanning multiple services deployed on Flynn would be another story. For now, we just go for a separate staging Flynn cluster and do tests manually. If you or someone else has more thoughts on this I would be really interested. Edit: |
I will write a small article tonight about how we handle CI/CD here with Jenkins and the CD towards Flynn. |
Ou, nice, thank you. :) |
I'm attempting to deploy a site to Flynn from Travis, and I'm running in to a couple of showstoppers.
/user/local/bin
.flynn
, trying tocluser add
my cluster I'm getting anunknown cluster
errorI've tried looking around, and I can't seem to find anyone deploying to Flynn from Travis or a working example. Here's my travis stuff:
The text was updated successfully, but these errors were encountered: