我已经在本地厨师食谱中测试了Amazon Linux 2018.03
,并且顺利通过。根据Travis CI文档here,我还通过docker在本地运行了travis-ci,它也顺利通过。但是,当它在Travis CI服务上运行时,它会因错误而超时:
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
Check the details on how to adjust your build configuration on: https://docs.travis-ci.com/user/common-build-problems/#Build-times-out-because-no-output-was-received.
The build has been terminated.
以下是回购链接: https://github.com/asdf-chef/asdf
这里是失败构建的链接: https://travis-ci.org/asdf-chef/asdf/jobs/443278283
这是.travis.yml文件:
sudo: false
dist: trusty
addons:
apt:
sources:
- chef-current-trusty
packages:
- chefdk
install: echo "skip bundle install"
branches:
only:
- master
services: docker
env:
matrix:
- INSTANCE=test-amazon-201803
- INSTANCE=test-centos-7
- INSTANCE=test-fedora-28
- INSTANCE=test-ubuntu-1804
before_script:
- sudo iptables -L DOCKER || ( echo "DOCKER iptables chain missing" ; sudo iptables -N DOCKER )
- eval "$(/opt/chefdk/bin/chef shell-init bash)"
- chef --version
- cookstyle --version
- foodcritic --version
script: KITCHEN_LOCAL_YAML=.kitchen.dokken.yml kitchen verify ${INSTANCE}
after_script:
- docker images
- docker ps -a
- cat .kitchen/logs/kitchen.log
matrix:
include:
- script:
- delivery local verify
env: UNIT_AND_LINT=1
任何帮助将不胜感激。谢谢!