circleci

Invalid step structure

假如想象 提交于 2020-02-05 06:14:06
问题 I believe my configuration is valid after reading the CircleCi workflow documentation but I am still getting the error below. What is wrong with my configuration? Here is my workflow configuration: workflows: version: 2 build_assemble_deploy: jobs: - build - assemble: requires: - build filters: branches: only: master - deploy: requires: - assemble filters: branches: only: master And here is the full error CircleCi gives me: Build-agent version 0.1.799-f865b43f (2018-10-11T12:48:06+0000)

Serverless Framework deploy through CircleCI

不羁岁月 提交于 2020-02-05 05:16:39
问题 I'm trying to integrate serverless to my circleci workflow. I tried first adding both, key and secret to AWS permissions , but that did not work. Then, I added key and secret to Environment variables and in my config file: sudo npm install -g serverless sls config credentials --provider aws --key $AWS_ACCESS_KEY_ID --secret $AWS_SECRET_ACCESS_KEY sls deploy -v But I see the same error: Serverless Error --------------------------------------- You are not currently logged in. Follow

Serverless Framework deploy through CircleCI

大兔子大兔子 提交于 2020-02-05 05:16:07
问题 I'm trying to integrate serverless to my circleci workflow. I tried first adding both, key and secret to AWS permissions , but that did not work. Then, I added key and secret to Environment variables and in my config file: sudo npm install -g serverless sls config credentials --provider aws --key $AWS_ACCESS_KEY_ID --secret $AWS_SECRET_ACCESS_KEY sls deploy -v But I see the same error: Serverless Error --------------------------------------- You are not currently logged in. Follow

Laravel - CircleCI - Fails on phpunit

亡梦爱人 提交于 2020-01-24 09:13:40
问题 I have started the process of making use on Continuous Integration and I have decided on circleci. Please let me know if I can supply any other information as I am lost at this point. When circleci tries to run the phpunit command it returns the following error: I have failed miserably at solving this issue. vendor/bin/phpunit PHPUnit 3.7.37 by Sebastian Bergmann. Configuration read from /home/ubuntu/simple/phpunit.xml PHP Fatal error: Class 'Illuminate\View\Environment' not found in /home

Laravel - CircleCI - Fails on phpunit

僤鯓⒐⒋嵵緔 提交于 2020-01-24 09:13:08
问题 I have started the process of making use on Continuous Integration and I have decided on circleci. Please let me know if I can supply any other information as I am lost at this point. When circleci tries to run the phpunit command it returns the following error: I have failed miserably at solving this issue. vendor/bin/phpunit PHPUnit 3.7.37 by Sebastian Bergmann. Configuration read from /home/ubuntu/simple/phpunit.xml PHP Fatal error: Class 'Illuminate\View\Environment' not found in /home

Keep getting permissions error gcloud.container.clusters.get-credentials

给你一囗甜甜゛ 提交于 2020-01-24 03:47:05
问题 I am trying to integrate CircleCi with gcloud Kubernetes engine. I created a service account with Kubernetes Engine Developer and Storage Admin roles. Created CircleCi yaml file and configured CI. Part of my yaml file includes: docker: - image: google/cloud-sdk environment: - PROJECT_NAME: 'my-project' - GOOGLE_PROJECT_ID: 'my-project-112233' - GOOGLE_COMPUTE_ZONE: 'us-central1-a' - GOOGLE_CLUSTER_NAME: 'my-project-bed' steps: - checkout - run: name: Setup Google Cloud SDK command: | apt-get

Adding Google-services.json for CircleCI to function, on a public repository

≯℡__Kan透↙ 提交于 2020-01-23 14:35:04
问题 I've linked my Android project repository to CircleCI and when I build, I got an gradlew lint error saying that google-services.json is not present. Is there any way to add google-services.json to my project, without committing it to the repository? I'm using firebase as backend for my project 回答1: disclaimer: CircleCI Developer Advocate I'm not too familiar with google-services.json so I'll mention a few possible solutions and you can see what might work best for you. If the file is small

Adding Google-services.json for CircleCI to function, on a public repository

匆匆过客 提交于 2020-01-23 14:29:17
问题 I've linked my Android project repository to CircleCI and when I build, I got an gradlew lint error saying that google-services.json is not present. Is there any way to add google-services.json to my project, without committing it to the repository? I'm using firebase as backend for my project 回答1: disclaimer: CircleCI Developer Advocate I'm not too familiar with google-services.json so I'll mention a few possible solutions and you can see what might work best for you. If the file is small

rspec Bisect Runs Indefinitely

独自空忆成欢 提交于 2020-01-14 10:15:50
问题 I'm seeing some unexpected behavior regarding rspec --bisect when running on circleci. Often times the bisect runs indefinitely until it times out after 5 hours. Bisecting appears to be working initially, but once it reaches the expected end, it begins to slowly examine subsets in the opposite direction until it times out. My Env: Ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin16] RSpec 3.7 - rspec-core 3.7.1 - rspec-expectations 3.7.0 - rspec-mocks 3.7.0 - rspec-rails 3.7.2 - rspec

Running docker-container tests on circleCI

拜拜、爱过 提交于 2020-01-01 19:31:24
问题 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