Skip to content

Commit 1006758

Browse files
authored
chore(ci): skip pyenv installation if already exists (#627)
1 parent 93a67d8 commit 1006758

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

codebuild/py312/awses_local.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ phases:
2121
build:
2222
commands:
2323
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
24-
- pyenv install 3.12.0
24+
- pyenv install --skip-existing 3.12.0
2525
- pyenv local 3.12.0
2626
- pip install --upgrade pip
2727
- pip install setuptools

codebuild/py312/examples.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ phases:
1919
build:
2020
commands:
2121
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
22-
- pyenv install 3.12.0
22+
- pyenv install --skip-existing 3.12.0
2323
- pyenv local 3.12.0
2424
- pip install --upgrade pip
2525
- pip install setuptools

codebuild/py312/integ.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ phases:
1919
build:
2020
commands:
2121
- cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
22-
- pyenv install 3.12.0
22+
- pyenv install --skip-existing 3.12.0
2323
- pyenv local 3.12.0
2424
- pip install --upgrade pip
2525
- pip install setuptools

codebuild/release/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ phases:
1111
- git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
1212
- cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
1313
- sed -i "s/aws_encryption_sdk/aws_encryption_sdk==$VERSION/" requirements-dev.txt
14-
- pyenv install 3.8.12
14+
- pyenv install --skip-existing 3.8.12
1515
- pyenv local 3.8.12
1616
- pip install "tox < 4.0"
1717
build:

0 commit comments

Comments
 (0)