How to deploy a successful build using Travis CI and Scalr

Adam Ritter

We're currently evaluating CI servers and Travis CI caught our eye since it is a hosted solution. I haven't been able to find any information about it being able to deploy to Scalr though. Has anyone had any luck setting this up? I found information about using Jenkins to deploy to Scalr but I'd rather not go with Jenkins.

Thanks.

Thomas Orozco

Deploying an application upon a Travis CI build success if functionally similar to deploying one upon a Jenkins success. All you need to do is to hook in to Scalr through its API when you build succeeds.

Using Travis CI, you can't really run arbitrary post-build shell scripts (unlike Jenkins). This makes integration a bit more complicated than using Jenkins (with Jenkins you just use the Scalr Command Line Tools to call the Scalr API), but it remains feasible.

All you need to do is have Travis CI send a notification to a Webhook Endpoint to a webapp you control (host that on your cloud infrastructure, or on e.g. Heroku), and have that webapp call the Scalr API.


Disclaimer: I work at Scalr.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Deploy jar File using Travis CI and Gradle automatic build count

Travis CI - doesn't deploy build folder?

How can I deploy a node.js app to a private server after a successful Travis build/test?

Deploy Docker Image to CF using Travis CI

How to deploy an Agda library on Travis CI?

How to set "deploy on branch", with branch name matching regex a expression using Travis CI?

How to build MacOSX executables on Travis CI?

How to build on travis-ci with gradle and cobertura

Deploy every build to a server using Gitlab CI

Build webpack on travis ci

How do I deploy nuget packages in Travis CI?

How to configure GCS deploy timeout in travis_ci

How to input a password in Travis CI while deploy to DigitalOcean via ssh

failed to deploy Travis CI `Python`

How to use travis-ci to build modern c++ using modern cmake?

Building a django app in Travis CI not successful

Travis conditional build - How to skip deploy stage except master branch

How to execute Travis CI 'before_deploy' step only once for multi-deploy configuration?

How to configure Travis CI to build Node.js without tests?

How do I build Python 3.8 on Travis CI?

How can I run a script as part of a Travis CI build?

How to get Travis CI to build and test xcode projects hosted on Github?

How to setup webdriverio related tests to be build in travis-ci

How can I build Visual Studio 2019 projects on Travis CI?

How to use dotnet tool during Travis-CI build?

How to restrict build failure emails to only a specific branch in travis CI?

Using Travis CI with Android

Travis CI - Android Build Script

Travis CI build triggered twice

TOP Ranking

HotTag

Archive