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
0 answers

Codeship deploy custom script error: "bash: npm: command not found bash: pm2: command not found"

I m trying to automatically run "npm install" and "pm2 restart all" whenever codeship deployed my codes onto DigitalOcean. This is the custom script: rsync -avz -e "ssh" ~/clone/ root@IP:/opt/projectname ssh root@IP 'cd /opt/projectname/; npm…
mkto
  • 4,584
  • 5
  • 41
  • 65
1
vote
0 answers

Codeship Pro special characters

I'm trying to add a step to a Codeship Pro build that curls a bash script and executes it. So I have the following in my codeship-steps.yml - service: my_service command: bash <(curl -s https://url.of.the/script) When I try to run my build (on…
Nick
  • 6,900
  • 5
  • 45
  • 66
1
vote
0 answers

ElasticBeanstalk: Environment in an unhealthy state(Codeship Pro, Jets)

I am trying to deploy a django app using Codeship Pro to Elasticbeans talk(using docker of course). Running this step fails when when deploying codeship-steps.yml: - name: deployment tag: aws-docker service: awsdeployment …
anyavacy
  • 1,618
  • 5
  • 21
  • 43
1
vote
1 answer

bundle exec rake db:schema:load - fails on codeship

I am attempting to utilize Codeship for a Rails application but when I push to Github and Codeship creates the build I am getting this error which I haven't been able to resolve: bundle exec rake db:schema:load rake aborted! PG::ConnectionBad:…
Jared
  • 631
  • 1
  • 7
  • 19
1
vote
1 answer

Codeship build failing with NoDatabaseError

The builds for my rails app are failing with the following error on running tests 9) FailedKeyChecks should contain a value Failure/Error: ActiveRecord::Base.connection.execute(query) ActiveRecord::NoDatabaseError: FATAL: database…
Tony Vincent
  • 13,354
  • 7
  • 49
  • 68
1
vote
1 answer

Postgres UNNEST function in FROM query fails only in tests

I have a table objects like this: id | date | other_ids ===|============|========= 1 | 1489495210 | {3} 2 | 1489495520 | {} 3 | 1489495560 | {5,9} 4 | 1489496588 | {4} 5 | 1489496948 | {} 6 | 1489497022 | {1,3,8} 7 | 1489497035 | {3} 8 …
Stuart
  • 36,683
  • 19
  • 101
  • 139
1
vote
1 answer

What is the path variable for configuring CodeShip with Amazon?

I have a local git repo and I am trying to do continuous integration and deployment using Codeship. https://documentation.codeship.com I have the github hooked up to the continuous integration and it seems to work fine. I have an AWS account and a…
user1261710
  • 2,539
  • 5
  • 41
  • 72
1
vote
0 answers

How to setup Continuous Integration with Codeship (or Heroku)?

We host our web app source code on GitHub, and whenever something's pushed to the master branch, it's deployed to Heroku via CodeShip. Currently, we have two environments on Heroku: staging and production (we develop locally). I've created a test…
1
vote
1 answer

(ECDSA) to the list of known hosts. fatal: could not read Username for 'https://github.com': No such device or address

I've configured github repository in codeship already under Repository and add branch under Deployment. And BRANCH_NAME="${CI_BRANCH}" ROOT_FOLDER="/home/ubuntu/code" EC2_SERVER="blah@blah.compute.amazonaws.com" fetch_branch="cd $ROOT_FOLDER && git…
PPShein
  • 13,309
  • 42
  • 142
  • 227
1
vote
0 answers

React project showing babel plugin errors on Codeship

Attempting to set up my react starter kit project to have CI on codeship, and the project works fine locally. I'm getting the following error ReferenceError: Unknown plugin "syntax-trailing-function-commas" specified.. when I'm attempting to run…
MonkeyBonkey
  • 46,433
  • 78
  • 254
  • 460
1
vote
1 answer

Deploying a secret certificate file to Heroku from CI (Codeship)

An app I am building integrates with a 3rd party api. For access to this api it authenticates via oauth using the RSA-SHA1 signature method which requires a certificate file. The app is continuously deployed on heroku (php) using codeship. I don't…
harryg
  • 23,311
  • 45
  • 125
  • 198
1
vote
1 answer

Deploy from Codeship to DigitalOcean Droplet

I've got a project setup in Codeship which hooks into my private Github repo, tests and builds. I want to use a custom script to deploy to my DigitalOcean Droplet (VM). I thought of adding a git remote and using a simple push to the machine using…
Jason Strimpel
  • 14,670
  • 21
  • 76
  • 106
1
vote
1 answer

Handling codeship failures on references which no longer exist

Sometimes I push code to a feature branch, and because of rebasing and git push force the reference no longer exists. However, codeship still tries to download the reference and run its CI on it. Is there any way (such as a special exit code) to…
Andrew Grimm
  • 78,473
  • 57
  • 200
  • 338
1
vote
1 answer

Deployment failed on codeship due to shallow clone

Codeship pulls a clone with a depth of 50 to speed up the build process. We had a pull request that was over 50 commits (uncommon but happens) and our deployment to catalyze failed with the following error: Warning: Permanently added '
arenfroe
  • 23
  • 7
1
vote
1 answer

Codeship skip ci for tagging

I've tried several ways to skip ci but it doesn't work. git tag -a $NEXT_TAG -m "Bump version --skip-ci" git tag -a $NEXT_TAG -m "Bump version [skip ci]" Please help me out, thanks.
haipham23
  • 456
  • 2
  • 8
  • 21