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

Package.json missing script: stg

Using codeship to deploy to aws. Got error like npm ERR! missing script: stg custom script git clone https://${GITHUB_KEY}@github.com/me/myproject.git ls cd myproject composer install --no-interaction --prefer-dist nvm install 6.9.4 npm install…
kenpeter
  • 7,404
  • 14
  • 64
  • 95
0
votes
1 answer

Phpunit test suites are not running

I've an issue with php vendor/bin/phpunit I don't know why when I tried to run with codeship or bitbucket pipelines it seems wasn't run the test suites as follow: php vendor/bin/phpunit dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../phpunit/phpunit"…
Aeterno
  • 23
  • 5
0
votes
1 answer

Why is my build hanging in #codeship pro at a `git pull` step?

Why is my build hanging in #codeship pro at a git pull step after " Warning: Permanently added the RSA host key for IP address 'xxx.xxx.xxx.xxx' to the list of known hosts."? I followed instructions in…
user10681876
0
votes
1 answer

Terraform S3 backend authentication on Codeship/Docker

I'm using Terraform version 0.11.10 and I've setup the S3 backend and it works locally when I use AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables for authentication. provider "aws" { region = "eu-west-1" } terraform { backend…
Mikhail Janowski
  • 4,209
  • 7
  • 28
  • 40
0
votes
1 answer

Codeship independent CI for microservices in monorepo

Currently we have a NodeJS monolith app. The tests run in Codeship and if the tests are green then the code will be deployed to Heroku. That is pretty easy. So we would like to break up our monolith app into microservices and we prefer monorepo…
Peter Kota
  • 8,048
  • 5
  • 25
  • 51
0
votes
0 answers

How do I put Firebase-Admin credentials in an Environment Variable?

I'm trying to setup a Firebase project on Codeship CI/CD and I cannot seem to get the service credentials JSON key to work with my project when it's stored in an environment variable. MVCE Dev environment startup script export…
Luke Pighetti
  • 4,541
  • 7
  • 32
  • 57
0
votes
1 answer

Is it possible to use variables in a codeship-steps.yml file?

We currently use Codeship Pro to push Docker images to a private registry on AWS, as well as to deploy those images to an ECS cluster. However, the codeship-steps.yml file includes a hard-coded region name for which AWS region I'm pushing to. For…
matt
  • 345
  • 2
  • 15
0
votes
1 answer

Getting codeship deployments to digital ocean working

Oh god why is this so hard. I've now spent 3 days trying to get this seemingly simple crap to work. I need it to: - npm install on CI server (works) - run tests (works) - build angular frontend (works) - ship code to server via rsync (works) - ssh…
Askdesigners
  • 419
  • 5
  • 15
0
votes
1 answer

Override entrypoint in Codeship service's image

I'm working with a multi-stage image which builds and tests the service in the build process and it works fine with the push steps. The only problem is that I don't want to push the image every time a build of the feature branch is sent to Codeship,…
Heiner
  • 33
  • 6
0
votes
1 answer

Codeship Pro on_fail accross step

Is the on_fail directive of a step run when a previous step has failed ? I'm using these steps : - name: fail intentionally service: busybox command: false - name: check if onfail is called service: busybox command: true on_fail: -…
olivieradam666
  • 4,522
  • 2
  • 20
  • 25
0
votes
1 answer

AWS CodeDeploy Issue: Cannot run hooks in appspec file

I have just started working with AWS. I am trying to deploy a nodejs application using codeship and AWS codedeploy. I am successful in deploying the application from codeship to Ec2 instance. But the problem is that I am not able to run the hooks…
0
votes
1 answer

In Codeship Basic is redis memory flushed after/before each build?

I am using redis-based cache in my application. I am running my integration tests on Codeship Basic and measuring the code coverage. I often see that the code coverage is different for two subsequent builds that use redis cache. My hypothesis is…
Jan Grz
  • 1,373
  • 14
  • 18
0
votes
1 answer

Codeship marks the test as "failed" even when there is no error

I have some rails-cucumber tests, all looks fine but CS says the test suite failed: I didn't set "--strict" in the command line.
aarkerio
  • 2,183
  • 2
  • 20
  • 34
0
votes
1 answer

Selecting codeship steps based in a single repo based on files changed

I have a repository that build and deploys two different components - a frontend and a backend. Each of these have a specific set of steps that need to be executed for the CICD. Is there a way to run a selective set of steps based on which component…
Omprakaash
  • 159
  • 2
  • 9
0
votes
0 answers

SSH prompts password when deploying on remote server via Codeship

I am struggling with connection to my server via SSH through Codeship. I followed their docs but I cannot get it work. So far I have completed all the steps to make it work but still no luck with it. Codeship Project SSH public key - Added to my…
Ivica
  • 29
  • 2