EdgecaseInc / wercker-step-install-aws-cli

Wercker step to pull down and install latest AWS command line tools
1 stars 9 forks source link

Wercker build fails #5

Open CalvinMcGee opened 7 years ago

CalvinMcGee commented 7 years ago

I'm getting the following when trying to install aws cli:

Traceback (most recent call last): File "./awscli-bundle/install", line 138, in <module> main() File "./awscli-bundle/install", line 129, in main Running cmd: /usr/bin/python virtualenv.py --python /usr/bin/python /usr/local/aws Running cmd: /usr/local/aws/bin/pip install --no-index --find-links file:///pipeline/source/awscli-bundle/packages awscli-1.11.21.tar.gz pip_install_packages(opts.install_dir) File "./awscli-bundle/install", line 98, in pip_install_packages pip_script, PACKAGES_DIR, cli_tarball)) File "./awscli-bundle/install", line 44, in run p.returncode, cmd, stdout + stderr)) __main__.BadRCError: Bad rc (1) for cmd '/usr/local/aws/bin/pip install --no-index --find-links file:///pipeline/source/awscli-bundle/packages awscli-1.11.21.tar.gz': Processing ./awscli-1.11.21.tar.gz

And I get the following when trying to use the aws-cli:

/pipeline/script-f8745800-db0f-4d8f-a785-f475d075d2ef/run.sh: line 2: aws: command not found

CalvinMcGee commented 7 years ago

It seems to be because of this issue: https://github.com/aws/aws-cli/issues/2290

CalvinMcGee commented 7 years ago

Pull request: https://github.com/EdgecaseInc/wercker-step-install-aws-cli/pull/6 should solve this issue