Questions tagged [codeship]

A simple to use Continuous Integration and Delivery software as a service. Add this tag, if you have questions regarding your projects on Codeship, or how to use Codeship for your projects.

Continuous Integration & Delivery as a Service

A simple push to your repository runs your automated tests and configured deployments on our powerful machines. From a simple deployment to Heroku to complex Deployment Pipelines for your large infrastructure, all can be set up with ease.

Let Codeship Take Care of the Infrastructure

Use your resources to allow your team to build an amazing product for your customers, which will result in a strong and successful company. Codeship will manage and scale your test and delivery infrastructure and take care of the release process. You’ll focus on what you do best — writing code.

See https://codeship.com for more information

232 questions
1
vote
1 answer

Allowing SSH access from codeship - opening firewall to EC2 east coast IPs

I am trying to implement automatic deployment from Codeship by using a Capistrano style script to allow it to SSH onto my servers and pull from my git repository after my tests have passed. The problem is that SSH access to the servers is restricted…
Matt
  • 127
  • 8
1
vote
0 answers

codeship/rails test database configuration error

I'm attempting to use codeship for CI and am getting a strange error: The Error: DEPRECATION WARNING: Passing a string to ActiveRecord::Base.establish_connection for a configuration lookup is deprecated, please pass a symbol (:"") instead. (called…
UserDuser
  • 461
  • 4
  • 18
1
vote
1 answer

Laravel 4.2 + MySQL Running phpunit on Codeship says '.. access denied for user root@localhost ..'

I have a Laravel 4.2 with MySQL web application integrated on bitbucket and decided to use Codeship for continuous integration. When build executes on Codeship it says, '.. access denied for user root@localhost ..' Here's my Codeship commands: #…
jaym
  • 470
  • 1
  • 6
  • 17
1
vote
0 answers

Codeship doesn't deploy to Heroku

I'm using Codeship to deploy my NodeJS app (hosted on bitbucket) to Heroku. In Codeship I chose heroku and added my Heroku API Key and also the name of the app on Heroku. But when I push to bitbucket and look at the log in codeship, there's no sign…
Arian
  • 7,397
  • 21
  • 89
  • 177
1
vote
1 answer

how to run an node npm script in deployment hook in codeship

As part of my codeship to heroku deployment hook, I'd like to run database updates/migrations before the app starts. How can I trigger an npm script or a command line script in heroku using the codeship deployment step? I tried putting it in as…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

Codeship and PHPunit selenium class not loaded

I am using Codeship to run some PHPUnit tests for WordPress. Tests written with WP_UnitTestCase work fine. class ActionHookTests extends WP_UnitTestCase { function test_things() { // this runs fine } } However, my selenium tests…
Ben Cole
  • 1,847
  • 1
  • 15
  • 18
1
vote
3 answers

NodeJS Deployment confusion between localhost and other domain?

I have a simple program which executes fine in localhost. var express = require('express'); var app = express(); app.get('/', function (req, res) { res.send('Hello World!'); }); var port = process.env.PORT || 8080; var host = "127.0.0.1"; var…
Mithun Shreevatsa
  • 3,588
  • 9
  • 50
  • 95
1
vote
1 answer

Create heroku app from codeship's custom script

I'm trying to create a heroku-application in Codeship's custom script but I can't understand how to login on heroku programmatically. Is it possible to pass email and password to heroku login command? Or maybe I can setup ssh-key to do…
MrBinWin
  • 1,269
  • 1
  • 16
  • 30
1
vote
2 answers

Test language switching on Codeship

I'm doing a basic test to ensure once the language is switched, the right text is loaded. Locally, the test works but the same test fails on codeship. The code: class LanguageTest(TestCase): def setUp(self): translation.activate("sw") …
Stephen M
  • 809
  • 1
  • 10
  • 21
1
vote
2 answers

How can I make a script that will build w/ Codeship only when changes are made to a specific directory?

Let's say I have two directories, lib and src, and only want Codeship to build commited changes that are from the src directory. How would I go about making a Bash script that does that? I know that applying the --skip-ci flag to a commit will make…
T145
  • 1,415
  • 1
  • 13
  • 33
1
vote
0 answers

e2e Tests Failing in Codeship but not Locally

Use Heroku and Codeship for our CI. Have been creating a web-app in Angular using Protractor for testing. Everything runs fine locally, but when it gets to CI, some of the tests will fail. The weird thing is, the failing ones are random: sometimes…
lg365
  • 493
  • 8
  • 11
1
vote
1 answer

can't load repo into codeship

Im trying to set up my codeship project. However, I can't even load my repository. When I click on the name, I get an error (Internal Server Error). The name of the Repository "IS:Like This", the URL ends with "is-like-this.git". The repository is…
Jan
  • 1,268
  • 4
  • 12
  • 20
1
vote
2 answers

How to deploy existing app with CodeDeploy on a new EC2 instance

I use CodeShip to deploy my app to AWS EC2 instances when a new app version is out. CodeShip first packages my app into .zip and puts it in S3. Each deployment package is being generated with different file name. When I deploy with CodeShip, they…
1
vote
0 answers

bundle exec rake db:schema:load not working in codeship.io

I am using codeship.io for testing my Ruby on Rails app. In the 10th step I am getting the following error. What changes should I make in the database.yml file rake aborted! ActiveRecord::AdapterNotSpecified: database configuration does not…
webster
  • 3,902
  • 6
  • 37
  • 59
1
vote
2 answers

Deploying clean meteor 0.9 to heroku

I am creating a very small and clean meteor app and have recently updated to v0.9 of meteor to be able to get rid of meteorite as "package manager". For me it is really important in a way not to have any deployment specific stuff wired up into the…
haynzz
  • 105
  • 2
  • 8