codeship

Suppress output from Codeship service

拟墨画扇 提交于 2021-01-28 04:46:14
问题 I'm testing a container in Codeship that requires a database. Using services in codeship-services.yml I'm linking the database container to the application container. The problem is the database container is printing a lot of output that gets mixed with the output of the tests. I want to get rid of the MongoDB logs completely but MongoDB doesn't have options to do that. I'm currently running it with mongod --quiet --setParameter logLevel=0 but getting a lot of output still. So I'm looking for

Firebase tools login from command line

对着背影说爱祢 提交于 2020-08-06 12:51:24
问题 I'm using Codeship to deploy a firebase app. In order to do so, I first need to login using the firebase login command. Problem is, I need to login in the browser and then return to the command line and perform the deployment. Is there an automated way to supply credentials to Firebase? Cheers 回答1: See wvm2008's answer for a more up to date version One option would be to mint a token for the build server and pass it into the CLI with: firebase --token <token> You can also get a token from a

Docker-compose disable output on one of containers

流过昼夜 提交于 2020-05-11 03:51:39
问题 I am using Codeship CI for my project. I have selenium tests and I am using remote browser from selenium/standalone-firefox but it's producing tons of logs, so I want to disable stdout for selenium/standalone-firefox container . Any ideas how I can do this? 回答1: Use --log-driver=none in docker run : docker run -d --log-driver=none selenium/standalone-firefox Or docker-compose.yml version: '2' services: selenium: ports: - "4444:4444" logging: driver: "none" image: selenium/standalone-firefox

Failed to install the following Android SDK packages as some licences have not been accepted

左心房为你撑大大i 提交于 2020-01-14 13:12:26
问题 I need to integrate a continuous integration system in my Android project, I have seen that CodeShip is a good alternative so I have created and configured a project to compile my Android application using the following script: # Install java 8 jdk_switcher home oraclejdk8 jdk_switcher use oraclejdk8 export JAVA8_HOME=/usr/lib/jvm/java-8-oracle export BUILD_TOOLS_VERSION=23.0.3 export ANDROID_SDK=24 export ANDROID_SDK_REV=24.4.1 # # Install android sdk export SDK_TAR=android-sdk_r$ANDROID_SDK

Failed to install the following Android SDK packages as some licences have not been accepted

我与影子孤独终老i 提交于 2020-01-14 13:12:17
问题 I need to integrate a continuous integration system in my Android project, I have seen that CodeShip is a good alternative so I have created and configured a project to compile my Android application using the following script: # Install java 8 jdk_switcher home oraclejdk8 jdk_switcher use oraclejdk8 export JAVA8_HOME=/usr/lib/jvm/java-8-oracle export BUILD_TOOLS_VERSION=23.0.3 export ANDROID_SDK=24 export ANDROID_SDK_REV=24.4.1 # # Install android sdk export SDK_TAR=android-sdk_r$ANDROID_SDK

Deploying an Anguilarjs app on Heroku using CI/CD [duplicate]

眉间皱痕 提交于 2019-12-25 05:13:10
问题 This question already has an answer here : How to host an AngularJS app in Heroku using Node.js WITHOUT using yeoman? (1 answer) Closed 2 years ago . I have made a small Angularjs based on a typical directory structure that stores source on al "src" directory and deploys to a "dist" directory. So fa I haven't had problem with code being deployed on local server as in github pages. I already built a CodeShip CI/CD instance, it runs testing fine and deploys but it crushes there. The code is

Can not apply DaoAuthenticationConfigurer to already built object

六眼飞鱼酱① 提交于 2019-12-19 05:48:16
问题 I'm getting this exception: [WARN] org.springframework.web.context.support.GenericWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'accountResource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private io.ilopezluna.japanathome.service.UserService io

npm ERR! fetch failed status code 502

大城市里の小女人 提交于 2019-12-08 07:40:36
问题 I'm using Codeship to deploy my Ember project to Heroku. These deployments used to work without a problem but since yesteday they fail with "npm ERR! fetch failed ..." when installing the npm dependencies in step (6). I haven't changed anything since then and resetting the dependency cache has not helped. Anyone familiar with this issue? I'm using: ember-cli 3.3.12 npm v3.8.6 node v5.11.1 - ... - (step 1) ember test - (step 2) Exporting Heroku API Key - (step 3) check_access_to_heroku_app my

Running migrations when deploying django app to heroku with codeship

穿精又带淫゛_ 提交于 2019-12-08 07:12:42
问题 I'm trying to set up a continous integration pipeline for my python 3.5.1 / django 1.9.7 project. The project is running fine on heroku, and the codeship deployment pipeline for heroku works well as long as my database is unchanged. If I want to run migrations, I have to do so manually by entering heroku run python manage.py migrate on my computer which I would like to avoid. I added a "Custom Script" in my codeship deployment pipeline after the "heroku"-pipeline containing heroku run python

Testing Meteor with Velocity at Codeship

南笙酒味 提交于 2019-12-06 09:43:28
问题 I'm trying to configure a CI infrastructure at Codeship. My local meteor --test command works like charm, but I'm getting a weird error at Codeship. Local: I20141208-12:29:42.602(2)? Started I20141208-12:29:42.602(2)? . I20141208-12:29:42.603(2)? I20141208-12:29:42.603(2)? 1 spec, 0 failures I20141208-12:29:42.603(2)? Finished in 0.014 seconds PASSED jasmine-server-unit : Job => Job should be created with title, description, location and isRemote Codeship: => Started proxy. => Started MongoDB