Skip to content

Commit

Permalink
chore: skip pyenv installation if already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
imabhichow committed Jan 30, 2024
1 parent 93a67d8 commit c7f50c5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion codebuild/py312/awses_local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ phases:
build:
commands:
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
- pyenv install 3.12.0
- pyenv install --skip-existing 3.12.0
- pyenv local 3.12.0
- pip install --upgrade pip
- pip install setuptools
Expand Down
2 changes: 1 addition & 1 deletion codebuild/py312/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ phases:
build:
commands:
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
- pyenv install 3.12.0
- pyenv install --skip-existing 3.12.0
- pyenv local 3.12.0
- pip install --upgrade pip
- pip install setuptools
Expand Down
2 changes: 1 addition & 1 deletion codebuild/py312/integ.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ phases:
build:
commands:
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
- pyenv install 3.12.0
- pyenv install --skip-existing 3.12.0
- pyenv local 3.12.0
- pip install --upgrade pip
- pip install setuptools
Expand Down
2 changes: 1 addition & 1 deletion codebuild/release/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ phases:
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
- sed -i "s/aws_encryption_sdk/aws_encryption_sdk==$VERSION/" requirements-dev.txt
- pyenv install 3.8.12
- pyenv install --skip-existing 3.8.12
- pyenv local 3.8.12
- pip install "tox < 4.0"
build:
Expand Down

0 comments on commit c7f50c5

Please sign in to comment.