2016-11-14 9 views
1

私はプロジェクトを開始しましたが、私はGitlab上で継続的な統合環境を作りたいと思っています。 私は単純な流星プロジェクトをプッシュし、ローカルマシンで正常に動作します。 私はそれがうまく動作しますが、パイプラインが開始プロキシ上のテストラインそれstucksに達し、決してその時点から通過したときに、私のgitlab-ci.ymlにGitlab継続的インテグレーション流星

image: fedora:24 

before_script: 
    - dnf install tar npm python gyp gcc-c++ mongodb -y 
    - dnf group install "Development Tools" -y 
    - curl https://install.meteor.com/ | sh 
    - meteor npm install 

stages: 
    - test 

test: 
    stage: test 
    script: 
    - meteor test --once --driver-package dispatch:mocha-phantomjs --allow-superuser 

これを書きました。

私はMeteor用のいくつかのドッカー画像を試しましたが、そのどれも動作していません。

UPDATE

Iは、ノードのドッカーベース画像変更:4.2.2を、今、次のエラーを示しています。

Looks like MongoDB doesn't understand your locale settings 

答えて

1

は、MongoDBのでの作業言語に関連する問題があると思われ

を解決しました。 次の行を追加するだけで、GitLab上でプロジェクトが正常に構築されます。

image: node:4.2.2 

before_script: 
    - apt-get update -y 
    - apt-get install locales -y 
    - locale-gen en_US.UTF-8 
    - localedef -i en_GB -f UTF-8 en_US.UTF-8 
    - dpkg-reconfigure locales 
    - echo export LC_ALL=C >> ~/.bashrc 
    - source ~/.bashrc 
    - curl https://install.meteor.com/ | sh 
    - meteor npm install 
関連する問題