circleci

Build fails because of “multiple definition” linker errors in native dependencies

試著忘記壹切 提交于 2019-12-05 00:09:12
I maintain an open-source framework that uses CircleCI for continuous integration. I've recently hit a wall where the project suddenly refused to build in rather strange circumstances. Build 27 was the last one that succeeded. After that, I made some minor changes to dependencies and noticed that the build fails. I've tried to fix it without success, so I reverted back to last working configuration and it still failed . The reason for failure are two dependencies, both being bindings to native C libraries: OpenGL ( OpenGLRaw ) and GLFW ( bindings-glfw ). They error out in link stage with

Running docker-container tests on circleCI

假如想象 提交于 2019-12-04 19:35:31
I have created some integration tests for my open-sourced code and I am looking for a publicly accessible CI service to host them. As Travis-CI has to small quotas for all my containers, I think I will use CircleCI. This is my cirle.yml : machine: services: - docker dependencies: override: - pip install docker-compose test: override: - cd integration-tests && docker-compose run --rm runner However after running this I get error message "client and server don't have same version (client : 1.18, server: 1.16)" What is my problem? @zefciu This config just worked for me machine: services: - docker

Authentication plugin 'caching_sha2_password' cannot be loaded in circleci/mysql

女生的网名这么多〃 提交于 2019-12-04 09:47:08
I've recently encountered problems when testing code in CircleCi 2. Parts of our config.yml: jobs: build: environment: docker: ... - image: circleci/mysql - image: rabbitmq:3-alpine working_directory: ~/webapp steps: ... - run: name: Prepare DB command: echo "create database" | mysql --host 127.0.0.1 The build fails at Prepare DB with ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: Error loading shared library /usr/lib/mysql/plugin/caching_sha2_password.so: No such file or directory Exited with code 1 This error only occurred now, and no changes has been

CircleCI deployment to AWS EC2

帅比萌擦擦* 提交于 2019-12-04 09:03:50
Can you help me find a useful step-by-step guide or a Gist outlining in detail how to configure CircleCI (using 2.0 syntax) to deploy to AWS EC2? I understand the basic requirements and the moving pieces, but unsure what to put in the .circleci/config.yml file in the deploy step. So far I got: A "Hello World" Node.js app which is building successfully in CircleCI (just without the deploy step) A running EC2 instance (Ubuntu 16.04) An IAM user with sufficient permissions added to CircleCI for that particular job Can you help out with the CircleCI deploy step? Following your repository, you

circleci: pip install dlib fails

佐手、 提交于 2019-12-04 06:23:48
问题 I have a python project that requires dlib . I am trying to setup CircleCI and wrote my config.yml as follows: # Python CircleCI 2.0 configuration file # # Check https://circleci.com/docs/2.0/language-python/ for more details # version: 2 jobs: build: docker: # specify the version you desire here # use `-browsers` prefix for selenium tests, e.g. `3.6.1-browsers` - image: circleci/python:3.6.1 # Specify service dependencies here if necessary # CircleCI maintains a library of pre-built images #

CircleCI Android constraintLayout doesn't work

萝らか妹 提交于 2019-12-03 12:31:26
I am now using the CircleCI for my project. Also I am implementing the new constraintLayout in my project. Now I am stuck with the CircleCI building. It shows me this when gradle -dependencies run: File /home/ubuntu/.android/repositories.cfg could not be loaded. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':app'. > You have not accepted the license agreements of the following SDK components: [com.android.support.constraint:constraint-layout:1.0.0-alpha3, com.android.support.constraint:constraint-layout-solver:1.0.0-alpha3]. Before building

CircleCI gems caching

孤街浪徒 提交于 2019-12-01 05:06:53
Is it possible to cache gems, so that bundle install will not install bunch of gems for every build? This takes 5 minutes on every build, that is too much. I've added this to the circle.yml config: dependencies: cache_directories: - "/home/ubuntu/.rvm/gems/ruby-2.1.2/gems/" This is the common directory which is provided by bundle show gem_name where all system gems are put. After this addition system writes such log: restoring cache v4/company/repo_name/dependency/circle-ci/42/mGWhlYQIxyOy0GZtt4QmCw__.tar.gz restoring home/ubuntu/repo_name/vendor/bundle, home/ubuntu/.m2, home/ubuntu/.ivy2,

Gradle error : Could not find com.android.tools.build:gradle:2.2.3

久未见 提交于 2019-11-28 06:45:39
I'm trying to build my android project using gradle and circleCI, but I've got this error : * What went wrong: A problem occurred configuring root project '<myproject>'. > Could not resolve all dependencies for configuration ':classpath'. > Could not find com.android.tools.build:gradle:2.2.3. Searched in the following locations: file:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom file:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.jar https://repo1.maven.org/maven2/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom https:/

Gradle error : Could not find com.android.tools.build:gradle:2.2.3

雨燕双飞 提交于 2019-11-27 01:28:43
问题 I'm trying to build my android project using gradle and circleCI, but I've got this error : * What went wrong: A problem occurred configuring root project '<myproject>'. > Could not resolve all dependencies for configuration ':classpath'. > Could not find com.android.tools.build:gradle:2.2.3. Searched in the following locations: file:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2.2.3.pom file:/home/ubuntu/.m2/repository/com/android/tools/build/gradle/2.2.3/gradle-2

Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci

给你一囗甜甜゛ 提交于 2019-11-26 11:43:15
I update the gradle plugin to the latest : com.android.tools.build:gradle:3.0.0-alpha1 and this error occured : export TERM="dumb" if [ -e ./gradlew ]; then ./gradlew test;else gradle test;fi FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'Android-app'. Could not resolve all dependencies for configuration ':classpath'. Could not find com.android.tools.build:gradle:3.0.0-alpha1. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.0-alpha1/gradle-3.0.0-alpha1.pom https://jcenter.bintray.com/com