chore(ci): skip pyenv installation if already exists (#627) · josecorella/aws-encryption-sdk-python@1006758 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 1006758

chore(ci): skip pyenv installation if already exists (aws#627)

File tree

4 files changed

lines changed

4 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ phases:
21 21 build:
22 22 commands:
23 23 - cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
24 - - pyenv install 3.12.0
24 + - pyenv install --skip-existing 3.12.0
25 25 - pyenv local 3.12.0
26 26 - pip install --upgrade pip
27 27 - pip install setuptools
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ phases:
19 19 build:
20 20 commands:
21 21 - cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
22 - - pyenv install 3.12.0
22 + - pyenv install --skip-existing 3.12.0
23 23 - pyenv local 3.12.0
24 24 - pip install --upgrade pip
25 25 - pip install setuptools
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ phases:
19 19 build:
20 20 commands:
21 21 - cd /root/.pyenv/plugins/python-build/../.. && git pull && cd -
22 - - pyenv install 3.12.0
22 + - pyenv install --skip-existing 3.12.0
23 23 - pyenv local 3.12.0
24 24 - pip install --upgrade pip
25 25 - pip install setuptools
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ phases:
11 11 - git clone https://github.com/aws-samples/busy-engineers-document-bucket.git
12 12 - cd busy-engineers-document-bucket/exercises/python/encryption-context-complete
13 13 - 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
15 15 - pyenv local 3.8.12
16 16 - pip install "tox < 4.0"
17 17 build: