Wykres commitów

2709 Commity (2e26e773b79a6a4865492893700f988fdb6c546f)

Autor SHA1 Wiadomość Data
YuviPanda 592ccb7596 Set ubuntu 20.04 as new base image
We would at some point need to set this as the default.
To prepare for that, I think we should make this an option
that is available, and run our tests on this too.

The R stack seems possibly currently unavailable for 20.04
(see https://community.rstudio.com/t/rstudio-server-ubuntu-20-04/64188)
but I'll try it out
2022-12-10 13:15:07 -08:00
YuviPanda 5058eca99f Fix a couple of failing tests 2022-11-18 15:07:57 -08:00
YuviPanda ad5ecaa865 Switch default python to 3.10
3.7 is *quite* old, and folks get caught up in it because
it also sometimes forces much older versions of packages - and
it can be quite confusing to debug (see
https://github.com/2i2c-org/infrastructure/issues/1934)
for example.
2022-11-18 14:36:05 -08:00
Min RK ab4c4f2a19
Merge pull request #1217 from jupyterhub/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-11-17 13:09:03 +01:00
pre-commit-ci[bot] 485a8ad097
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v3.2.0 → v3.2.2](https://github.com/asottile/pyupgrade/compare/v3.2.0...v3.2.2)
- [github.com/pre-commit/mirrors-prettier: v2.7.1 → v3.0.0-alpha.4](https://github.com/pre-commit/mirrors-prettier/compare/v2.7.1...v3.0.0-alpha.4)
2022-11-15 00:13:39 +00:00
Yuvi Panda d8942c47fa
Merge pull request #1218 from consideRatio/pr/test-cleanup
ci: cleanup no longer used test logic related to memlimit
2022-11-10 23:43:30 -08:00
Erik Sundell 98aceac76d tests: cleanup legacy logic
These files are no longer used as of repo2docker PR 912
2022-11-11 07:55:45 +01:00
Erik Sundell e6a66316ab ci: update outdated comment in node test 2022-11-11 07:55:12 +01:00
Erik Sundell 9be3ac697c
Merge pull request #1216 from frankier/julia-binder-dir-project-toml
Create Julia projects based on binder/Project.toml when found
2022-11-09 17:40:10 +01:00
Erik Sundell 37ce79a5d4
Merge pull request #1211 from minrk/cli-defaults
reconcile CLI/config priority
2022-11-09 17:26:00 +01:00
Erik Sundell 430565faf7 ci: coalesce tests to avoid increasing test durations 2022-11-09 17:13:12 +01:00
Min RK 31e9722c82
add --clean
for consistency with other both-ways boolean flags
2022-11-09 16:31:20 +01:00
Min RK 8802ca2a30
update test expectations of log messages 2022-11-08 16:28:01 +01:00
Min RK d5f291bec1
move cleanup_checkout / local repo, dry_run/push/run relationships to app
so app behaves more consistently when run without cli
2022-11-08 16:27:45 +01:00
Min RK 2a9dab13f8
test some cli > config > defaults priority
not full coverage, but covers some important cases
2022-11-08 16:01:31 +01:00
Min RK 98724fb255
handle more options from config
- warn if repo is specified in config, because it doesn't make sense and will be ignored
- only override config for ref/image/run/build if specified on the cli

requires both-directions config for run and build, to handle the default being inverted in a config file
2022-11-08 15:40:23 +01:00
Min RK b841dea4ac
reconcile CLI/config priority
- avoid CLI defaults clobbering values from config.
  Mostly by using `default=None`, and adding `if args.name is not None` checks
  before assigning attributes
2022-11-08 15:25:27 +01:00
Frankie Robertson e99a106171 Add test for Julia project.toml in binder subdirectory 2022-11-08 15:13:39 +02:00
Frankie Robertson 61b76f622d Create Julia projects based on binder/Project.toml when found 2022-11-08 14:48:47 +02:00
Simon Li b4fee8e3a7
Merge pull request #1213 from SylvainCorlay/upgrade-mamba
Upgrade to mamba 1.0
2022-11-03 08:54:06 +00:00
Sylvain Corlay 3e5a64f82f Upgrade to mamba 1.0 2022-11-03 00:50:34 +01:00
Simon Li ecd7c5d1c0
Merge pull request #1212 from consideRatio/pr/update-to-alpine3.16
docker image: update alpine to 3.16
2022-11-02 18:07:15 +00:00
Erik Sundell ff586d0e10 docker image: update alpine to 3.16 2022-11-02 16:42:29 +01:00
Yuvi Panda b6098c02f3
Merge pull request #1202 from consideRatio/pr/enable-pyupgrade
pre-commit: add pyupgrade, isort, and prettier for .md files
2022-11-01 07:39:14 -07:00
pre-commit-ci[bot] ae3aeb6dc5 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 22:40:52 +00:00
Erik Sundell 94bd21e16e pre-commit: enable prettier for markdown 2022-10-31 23:40:34 +01:00
pre-commit-ci[bot] 27c2b403db [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 22:32:14 +00:00
Erik Sundell 1926795c8c pre-commit: enable isort 2022-10-31 23:29:57 +01:00
Erik Sundell 15a1fb6e2d refactor: manually add transitions to f-strings 2022-10-31 21:22:32 +01:00
pre-commit-ci[bot] 5a93542321 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2022-10-31 21:22:32 +01:00
Erik Sundell ce44f98c9a pre-commit: enable pyupgrade 2022-10-31 21:22:32 +01:00
Erik Sundell eab0b50fc4
Merge pull request #1209 from consideRatio/pr/fix-codecov-deprecation
ci: use non-deprecated codecov uploader
2022-10-31 20:17:40 +01:00
Erik Sundell 89f2b61db6 ci: use non-deprecated codecov uploader 2022-10-31 19:26:55 +01:00
Erik Sundell 3d05b32dee
Merge pull request #1126 from minrk/test-tmp
Add check-tmp step to local repo tests
2022-10-31 17:41:44 +01:00
Min RK e7c93b0fc8
update pipenv to 2022.1.8
pipenv 2018 doesn't actually clear its cache when asked to

2021.5.29 is the last to support 2.7, 3.5
2022-10-31 15:23:35 +01:00
Min RK 757799516d
ensure some cache files are cleaned up 2022-10-31 15:23:35 +01:00
Min RK bd02e2e997
run check-tmp as root
- avoids permission errors
- lets us check /root/ where we've left files in the past
2022-10-31 15:22:56 +01:00
Min RK 6b0291551d
Make sure we delete /tmp/shiny.deb
revealed by check-tmp
2022-10-31 15:22:55 +01:00
Min RK 2da784ca21
check-tmp needs to run on Python 3.5 2022-10-31 15:22:55 +01:00
Min RK 38f5aceb45
Add check-tmp step to local repo tests
- check-tmp checks disk usage in a collection of directories,
  and fails if they exceed a certain size, reporting on contents
- re-use images and skip build stage in verify/check-tmp tests.
  Should save some time,
  even though the build cache would have been used.
  This way, we don't even check.
2022-10-31 15:22:52 +01:00
Min RK f6ecb28e5e
Merge pull request #1208 from consideRatio/pr/fix-pipfile-clear
pipfile: pass --clear flag, and do it separetely to not be ignored
2022-10-31 15:21:22 +01:00
Erik Sundell 9a80e95600 pipfile: pass --clear flag, and do it separetely to not be ignored
Maybe --clear flag works as part of `pipenv install` now, but code
inspection indicates to me it still don't. This resolves the issue with
the pipenv versions we currently use in tests at least.
2022-10-31 14:54:54 +01:00
Erik Sundell 442951d010
Merge pull request #1200 from consideRatio/pr/rely-on-pre-commit.ci
ci: stop running pre-commit in gha, rely on pre-commit.ci
2022-10-31 14:23:41 +01:00
Erik Sundell ea1fbcd440 ci: stop populating pip cache in a pre-requisite test job 2022-10-31 13:59:58 +01:00
Erik Sundell 8a28264b97 ci: stop running pre-commit in gha, rely on pre-commit.ci 2022-10-31 13:54:34 +01:00
Erik Sundell 4a5b8541e7
Merge pull request #1199 from consideRatio/pr/switch-to-build-package
Create wheels with the build package, stop calling setup.py directly
2022-10-31 13:50:23 +01:00
Erik Sundell f3284bfcd1
Apply suggestions from code review 2022-10-31 13:48:33 +01:00
Erik Sundell 224633af93 ci: upload built wheels as an artifact for ease of inspection 2022-10-31 13:37:48 +01:00
Erik Sundell 55a9cd81f8 Create wheels with the build package 2022-10-31 13:37:48 +01:00
Erik Sundell 84408ef12b
Merge pull request #976 from bollwyvl/add-target-repo-dir-perms
Allow REPO_DIR to be a non-existing folder by creating it and providing the user with permissions
2022-10-31 13:09:44 +01:00