circleci-2.0

Simple CircleCI 2.0 configuration fails for global NPM package installation

☆樱花仙子☆ 提交于 2019-12-06 11:13:56
I have a Dockerfile that works fine: FROM node:10 RUN npm set unsafe-perm true RUN npm install -g '@oresoftware/r2g@0.0.132' but the same CircleCI config.yml file that mirrors the above Dockerfile does not work: { "version": 2, "jobs": { "build": { "docker": [ { "image": "circleci/node:10" } ], "steps": [ { "run": "npm set unsafe-perm true" }, { "run": "npm install -g --loglevel=warn '@oresoftware/r2g@0.0.132'" } ] } } } I get the following error on CircleCI using the above config.yml file: #!/bin/bash -eo pipefail npm install -g --loglevel=warn @oresoftware/r2g npm WARN checkPermissions

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

余生颓废 提交于 2019-12-06 06:11:42
问题 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:

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

How to call circleCI environment variable in an Angular 2+ project?

浪子不回头ぞ 提交于 2019-12-01 11:30:35
问题 I have an angular project that has an api-keys.ts file that looks like this: export var masterFirebaseConfig = {apiKey: $fireBaseApiKey, authDomain: 'dataJitsu.firebaseapp.com',databaseURL: 'https://datajitsu.firebaseio.com',storageBucket: '',messagingSenderId: '495992924984'}; I think the $fireBaseApiKey is stored as an environment variable in my project on circleCI, as you can see in the picture here: However, I still get the following error when I run my configuration on circleCI: ERROR in