Parece que eu perdi git
como uma dependência. A mensagem de erro estava bem oculta na saída --verbose
do comando deploy.
Os seguintes trabalhos -
image: ubuntu:16.04
pipelines:
branches:
testing:
- step:
name: Build & Deploy
script:
- apt-get update && apt-get -y upgrade && apt-get install -y python-dev python-pip curl build-essential git-all
- curl -sL https://deb.nodesource.com/setup_8.x | bash
- apt-get install nodejs
- pip install awsebcli --ignore-installed setuptools --upgrade
- node -v
- npm -v
- eb --version
- npm install
- export AWS_ACCESS_KEY_ID="$TEST_AWS_ACCESS_KEY_ID"
- export AWS_DEFAULT_REGION="$TEST_AWS_DEFAULT_REGION"
- export AWS_SECRET_ACCESS_KEY="$TEST_AWS_SECRET_ACCESS_KEY"
- echo "deploying to $TEST_BEANSTALK_ENVIRONMENT_NAME"
- eb deploy $TEST_BEANSTALK_ENVIRONMENT_NAME --verbose