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
Erik Sundell
2f13af8a29
Apply suggestions from code review
2022-10-31 13:09:17 +01:00
Nicholas Bollweg
23e195f363
add path check in conda/repo-dir, more docs in conftest.py
2022-10-31 13:09:17 +01:00
Nicholas Bollweg
df733fc81b
normalize ENV syntax, combine more layers
2022-10-31 13:09:17 +01:00
Nicholas Bollweg
803a1c223b
ensure existence/permissions on custom target dir, if doesn't exist, repo copy slash
2022-10-31 13:09:17 +01:00
Erik Sundell
be7fc8a11a
Merge pull request #918 from minrk/allow-one-port
...
allow user to specify a single port with default command
2022-10-31 12:58:00 +01:00
Erik Sundell
b3234b54f0
Refactor to f-strings to comply with pyupgrade
2022-10-31 12:57:23 +01:00