Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ workflows:
when: << pipeline.parameters.cron >>
jobs:
- cimg/update:
pre-steps:
- run: echo 'export PYENV_ROOT=/home/circleci/.pyenv' >> "$BASH_ENV"
- run: echo 'export PATH=/home/circleci/.pyenv/shims:/home/circleci/.pyenv/bin:$PATH' >> "$BASH_ENV"
- run: curl -sSL "https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer" | bash

update-script: pythonFeed.sh
image: cimg/python
tag: "3.11"
context:
- slack-notification-access-token
- slack-cimg-notifications
Expand All @@ -34,7 +37,7 @@ workflows:
branches:
ignore:
- main
context:
context:
- slack-notification-access-token
- slack-cimg-notifications
- cimg-docker-image-building
Expand Down
3 changes: 3 additions & 0 deletions pythonFeed.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#!/usr/bin/env bash

# Update to latest pyenv version
curl -sSL "https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer" | bash

if [ -f shared/automated-updates.sh ]; then
source shared/automated-updates.sh
else
Expand Down