LoginSignup
1
0

More than 5 years have passed since last update.

bitbucket-pipelinesを使ってAWS beanstalkのデプロイを自動化しようと思ったけどハマった話

Last updated at Posted at 2018-07-25

やりたかったこと

bitbucketにプッシュしたときにbitbucket-pipelinesを使って、ステージングへのデプロイを自動化したい。

はまったこと

pip install awsebcli --upgrade

をbitbucket-pipelines.ymlに書いた時に

ERROR: UnicodeDecodeError - 'ascii' codec can't decode byte 0xe3 in position 52: ordinal not in range(128)

のエラーが出てデプロイが進まない。

直したこと

pip install awsebcli==3.1.0

にしたら動いた、どうやら最新版のバグらしい。

追記
違った、これだとebignoreがうまく聞かないので、これだとうまくいくっぽい

image: python:2.7.13

にすると治る。
どうやらPythonのバージョンの問題っぽい、これでebignoreも反映されて、楽しいアジャイルライフを送ることができるようになった

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0