Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

feat: Load Python version from .python-version file #34

Merged
merged 8 commits into from
Oct 28, 2021

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Oct 27, 2021

This is follow up work from
getsentry/sentry#29571

@@ -6,7 +6,7 @@ on:
pull_request:

jobs:
bootstrap:
fast-bootstrap:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later on we can add caches and let the slow one take its time.

@@ -18,6 +18,34 @@ jobs:
- uses: actions/checkout@v2

- name: Execute bootstrap
env:
STRAP_DEBUG: 1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is useful in case there's a failure so we can see what command failed.

@@ -577,7 +577,7 @@ sudo_refresh
# Before starting, get the user's code location root where we will clone sentry repos to
get_code_root_path

[ -z "$CI" ] && check_github_access
[ -z "$CI" ] && [ -z "$QUICK" ] && check_github_access
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's actually a slow step!

# shellcheck disable=SC1090 disable=SC1091
source "${SENTRY_ROOT}/scripts/lib.sh"
get-pyenv-version
)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the actual fix.

@armenzg armenzg marked this pull request as ready for review October 27, 2021 19:57
@armenzg armenzg requested a review from billyvg October 27, 2021 19:57
@armenzg armenzg merged commit 8912147 into main Oct 28, 2021
@armenzg armenzg deleted the armenzg/python-version-file-back branch October 28, 2021 20:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants