내가 circleCI 2.0을 사용하고 있는데 그들이 AWS를 찾을 수 있지만, 자신의 documents 분명 나는이 circle.yml를 사용하는 경우 AWS는 기본circleci 2.0은 찾을 수 없습니다 awscli
에 설치되어 있다고
version: 2
jobs:
build:
working_directory: ~/rian
docker:
- image: node:boron
steps:
- checkout
- run:
name: Pre-Dependencies
command: mkdir ~/rian/artifacts
- restore_cache:
keys:
- rian-{{ .Branch }}-{{ checksum "yarn.lock" }}
- rian-{{ .Branch }}
- rian-master
- run:
name: Install Dependencies
command: yarn install
- run:
name: Test
command: |
node -v
yarn run test:ci
- save_cache:
key: rian-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- "~/.cache/yarn"
- store_artifacts:
path: ~/rian/artifacts
destination: prefix
- store_test_results:
path: ~/rian/test-results
- deploy:
command: aws s3 sync ~/rian s3://rian-s3-dev/ --delete
다음과 같은 오류가 발생합니다
/bin/bash: aws: command not found
Exited with code 127
을 내가 코드 이런 식으로
,332를 편집하는 경우 10는 내가 오류의 또 다른 종류의 수 :
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package awscli
Exited with code 100
사람이 어떻게 해결하기 위해 알고를 ???
* "나는 circleCI 2.0을 사용하고 있는데 그들은 AWS를 찾을 수 없습니다 자신의 [documents] (https://circleci.com/docs/1.0/build-image-trusty/#awscli)는 분명히 말합니다 ... "* - 바로 그 곳에서 멈추고 URL을보십시오. Circle 2.0을 사용하고 있지만 Circle 1.0 설명서를 읽는 중입니다. –