-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop installing custom python versions #3484
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
/.bundle | ||
/.core-bash_history | ||
/.env | ||
/.envrc | ||
/.git | ||
/tmp/ | ||
/helpers | ||
/spec | ||
gitignored | ||
/bundler/helpers/helpers/ | ||
/python/helpers/helpers/ | ||
/.vscode-server-insiders/ | ||
/.vscode-server/ | ||
/.vscode/ | ||
/dependabot-*.gem | ||
/dry-run | ||
/pkg | ||
/vendor | ||
/tmp | ||
**/.bundle | ||
**/coverage | ||
**/Gemfile.lock | ||
**/node_modules | ||
!**/spec/fixtures/* | ||
git.store | ||
.byebug_history | ||
.DS_Store | ||
*.pyc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,27 @@ | ||
FROM dependabot/dependabot-core | ||
|
||
# We pre-install these versions of python as they're known to be used in the | ||
# test suite. These used to be installed in-line, and pre-installing them helps | ||
# with the performance of the python test suite. | ||
RUN pyenv install -s 3.6.13 \ | ||
&& pyenv install -s 3.7.1 \ | ||
&& pyenv install -s 3.7.10 \ | ||
&& git config --global user.name dependabot-ci \ | ||
RUN git config --global user.name dependabot-ci \ | ||
&& git config --global user.email no-reply@github.com | ||
|
||
ARG CODE_DIR=/home/dependabot/dependabot-core | ||
WORKDIR ${CODE_DIR} | ||
COPY --chown=dependabot:dependabot . ${CODE_DIR} | ||
|
||
COPY --chown=dependabot:dependabot .rubocop.yml ${CODE_DIR}/.rubocop.yml | ||
COPY --chown=dependabot:dependabot omnibus ${CODE_DIR}/omnibus | ||
COPY --chown=dependabot:dependabot dep ${CODE_DIR}/dep | ||
COPY --chown=dependabot:dependabot git_submodules ${CODE_DIR}/git_submodules | ||
COPY --chown=dependabot:dependabot terraform ${CODE_DIR}/terraform | ||
COPY --chown=dependabot:dependabot github_actions ${CODE_DIR}/github_actions | ||
COPY --chown=dependabot:dependabot hex ${CODE_DIR}/hex | ||
COPY --chown=dependabot:dependabot elm ${CODE_DIR}/elm | ||
COPY --chown=dependabot:dependabot docker ${CODE_DIR}/docker | ||
COPY --chown=dependabot:dependabot nuget ${CODE_DIR}/nuget | ||
COPY --chown=dependabot:dependabot maven ${CODE_DIR}/maven | ||
COPY --chown=dependabot:dependabot gradle ${CODE_DIR}/gradle | ||
COPY --chown=dependabot:dependabot cargo ${CODE_DIR}/cargo | ||
COPY --chown=dependabot:dependabot composer ${CODE_DIR}/composer | ||
COPY --chown=dependabot:dependabot go_modules ${CODE_DIR}/go_modules | ||
COPY --chown=dependabot:dependabot python ${CODE_DIR}/python | ||
COPY --chown=dependabot:dependabot npm_and_yarn ${CODE_DIR}/npm_and_yarn | ||
COPY --chown=dependabot:dependabot bundler ${CODE_DIR}/bundler | ||
COPY --chown=dependabot:dependabot common ${CODE_DIR}/common |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/.bundle/* | ||
!/.bundle/config | ||
/.bundle | ||
/.env | ||
/tmp | ||
/dependabot-*.gem | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ fi | |
|
||
helpers_dir="$(dirname "${BASH_SOURCE[0]}")" | ||
cp -r \ | ||
"$helpers_dir/.bundle" \ | ||
"$helpers_dir/lib" \ | ||
"$helpers_dir/monkey_patches" \ | ||
"$helpers_dir/run.rb" \ | ||
|
@@ -21,5 +20,6 @@ cd "$install_dir" | |
|
||
# NOTE: Sets `BUNDLED WITH` to match the installed v1 version in Gemfile.lock | ||
# forcing native helpers to run with the same version | ||
BUNDLER_VERSION=2 bundle config set --local path ".bundle" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Copying setup from v2 |
||
BUNDLER_VERSION=1 bundle config set --local without "test" | ||
BUNDLER_VERSION=1 bundle install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
flaky; python_version < '3.7' | ||
flaky; python_version < '2.8' | ||
pytest | ||
pytest-xdist | ||
mock | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what this was ignoring