Erik Sundell
54bc5fb81b
test refactor: add comment about python/conda/mamba
2023-06-09 17:08:12 +02:00
Erik Sundell
55eec52fd9
Merge pull request #920 from minrk/upgrade-mamba-conda
...
--force-reinstall conda to ensure it's working before we try to install conda packages
2023-06-09 15:56:30 +02:00
Min RK
39b1e1a7c7
preserve version pin when reinstalling conda
...
avoids upgrade on older versions
2023-06-09 15:33:36 +02:00
Min RK
ee23e041de
reinstall conda/mamba in a separate, unconditional step
...
makes it more likely that subsequent conda installs will succeed
- fix indentation on the upgrade steps so they aren't run every iteration
- no longer need to bump required versions
2023-06-09 15:00:00 +02:00
Min RK
29b354b42b
use force-reinstall
...
not deprecated --force
2023-06-09 14:16:27 +02:00
Min RK
4cc55df2a4
force upgrade of conda itself
...
if conda upgrade conda is broken, we are in trouble
this is required to avoid the RemoveError
2023-06-09 14:08:03 +02:00
Min RK
4f0179a84c
bump minimum conda/mamba versions
...
an old conda bug causes RemoveError: requests is a dependency of conda
when installing other packages
upgrading conda itself avoids this bug.
It's unclear what the true minimum version is to fix this,
but the important thing is that it will be upgraded if it's still the version in 0.2.0 (4.10),
so pick the version from today which we know works
2023-06-09 13:58:32 +02:00
Erik Sundell
e6fe1f2ddf
Merge pull request #919 from consideRatio/pr/isolate-bootstraptests-to-a-dedicated-job
...
test refactor: put bootstrap tests in an isolated job, save ~3 min in each of the integration test jobs
2023-06-09 13:11:56 +02:00
Erik Sundell
33643ba25b
Merge pull request #906 from jrdnbradford/google-troubleshooting-updates
...
Google Cloud troubleshooting and configuration updates
2023-06-09 13:00:36 +02:00
Erik Sundell
0c914afeab
test refactor: put bootstrap tests in an isolated job
2023-06-09 12:51:09 +02:00
Min RK
d5f688eebd
Merge pull request #916 from consideRatio/pr/refactor-tests
...
maint: refactor tests, fix upgrade tests (now correctly failing)
2023-06-09 12:43:48 +02:00
Erik Sundell
cb200d9702
test refactor: comment about test_bootstrap.py
2023-06-09 03:40:36 +02:00
Erik Sundell
b02a8b044f
test refactor: mitigate persisted state between tests
2023-06-09 03:37:39 +02:00
Erik Sundell
b1822d7098
test refactor: small details in test_hub.py
2023-06-09 03:37:39 +02:00
Erik Sundell
1d203ccd2a
test refactor: reduce time spent waiting on culling/not culling
2023-06-09 03:37:39 +02:00
Erik Sundell
3e9ee8ca8f
test refactor: remove test with broken assumption
...
To remove a user from the admin list doesn't matter, even though its
clearly something one may expect should matter.
The issue is that JupyterHub itself makes use of the admin_users list as
a way to declare new admins, not to remove users having been marked as
admin in the past.
What to do about this is not clear, but having a test for this doesn't
make sense.
2023-06-09 03:37:39 +02:00
Erik Sundell
ec3ee03dc8
test refactor: ignore code coverage warning
2023-06-09 03:37:39 +02:00
Erik Sundell
d1c2e51525
test refactor: avoid a redundant server startup test
2023-06-09 03:37:39 +02:00
Erik Sundell
b1c7e53be4
test refactor: try decouple admin tests from other tests
2023-06-09 03:37:39 +02:00
Erik Sundell
111e9bee86
test refactor: combine two separate installation setups
2023-06-09 03:37:39 +02:00
Erik Sundell
40b88cb780
test refactor: update simplest plugin tests
...
With this refactor, the simplest plugin stops interfering with other
tests.
2023-06-09 03:34:06 +02:00
Erik Sundell
971b7d5c7e
test refactor: show logs from jupyterhub and traefik after tests
2023-06-09 03:34:06 +02:00
Erik Sundell
cdc4a9d388
test refactor: reduce timeout for starting user server, sleep less
2023-06-09 03:34:06 +02:00
Erik Sundell
f127322aa3
test refactor: be more generous with timeout values
2023-06-09 03:34:06 +02:00
Erik Sundell
7f873966b5
test refactor: combine admin and plugin tests
2023-06-09 03:34:06 +02:00
Erik Sundell
835c6a1154
test refactor: refactoring of .github/integration-test.py
2023-06-09 03:34:06 +02:00
Erik Sundell
8f4cee1e46
test refactor: test_bootstrap.py, let container mount local dir and expose port
2023-06-09 03:34:06 +02:00
Erik Sundell
73e8eb2252
test refactor: slim down workflow for readability
2023-06-09 03:34:06 +02:00
Erik Sundell
e579d288c7
test refactor: remove re-specification of hub_url
2023-06-09 03:34:06 +02:00
Erik Sundell
2182f246ae
test refactor: remove redundant pytest.mark.asyncio
2023-06-09 03:34:06 +02:00
Erik Sundell
06edf1a76b
test refactor: put pytest config in pyproject.toml
2023-06-09 03:34:06 +02:00
Erik Sundell
9e95961886
bootstrap.py: extract get_os_release_variable to make testing easier
2023-06-08 23:13:26 +02:00
Erik Sundell
ecf11f0f27
bootstrap.py: let --version flag take precedence over env vars
2023-06-08 23:13:26 +02:00
Erik Sundell
ab947333d2
bootstrap.py: fix docstring summarizing --help output
2023-06-08 23:12:28 +02:00
Erik Sundell
d4c6da52e1
maint: let installer ensure /etc/sudoers.d directory exists
2023-06-08 23:11:58 +02:00
Erik Sundell
7974981f2d
Merge pull request #915 from consideRatio/pr/update-systemdspawner
...
Update systemdspawner from version 0.17.* to >=1.0.1,<2
2023-06-08 15:37:16 +02:00
Erik Sundell
c5eae3386a
SystemdSpawner 1: don't prevent admins from sudo / privilege escalation
...
Having upgraded systemdspawner to 1.0.0, its configuration option
`disable_user_sudo` now defaults to True. This would be a breaking
unwanted change for our jupyterhub admin users who are configured with
passwordless sudo.
Its unlikeley a breaking change for other users, but could be if they
are granted sudo rights without being a jupyterhub admin. But, if they
are, then they could grant themself such rights anyhow so its reasonable
to assume jupyterhub admins only should have sudo rights in a TLJH
installation.
2023-06-08 15:16:35 +02:00
Erik Sundell
a373b2108c
Update systemdspawner from v0.17 to v1.0.1+
2023-06-08 15:16:35 +02:00
Erik Sundell
84ea18991a
Merge pull request #917 from jrdnbradford/docker-mount-source-fix
...
Quote `pwd` to prevent error if dir has spaces
2023-06-06 17:06:48 +02:00
Jordan Bradford
08a787fd82
Quote pwd to prevent error if dir has spaces
2023-06-06 09:40:32 -04:00
Erik Sundell
f00e17b3d7
Merge pull request #912 from consideRatio/pr/remove-configurator
...
Stop bundling jupyterhub-configurator which has been disabled by default
2023-06-06 12:16:47 +02:00
Erik Sundell
93515a8086
Merge pull request #914 from consideRatio/pr/fix-typo-in-bounding-systemdspawner
...
Fix recently introduced failure to upper bound systemdspawner
2023-06-06 00:09:52 +02:00
Erik Sundell
78bc5bcedd
Fix recently introduced failure to upper bound systemdspawner
2023-06-05 23:12:20 +02:00
Jordan Bradford
6a7cbc8681
Add intro description of boot disk
2023-06-05 10:53:12 -04:00
Erik Sundell
ebb3d9bef1
Stop bundling jupyterhub-configurator which has been disabled by default
2023-06-02 16:57:39 +02:00
pre-commit-ci[bot]
232d595d49
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-05-29 01:09:08 +00:00
Jordan Bradford
b5bb25b559
Add instance logs and disk space to troubleshooting page
2023-05-28 20:58:33 -04:00
Jordan Bradford
9a1b600d99
Add Google Cloud config page
2023-05-28 20:56:57 -04:00
Min RK
2d645a7d89
Merge pull request #905 from nsurleraux-railnova/bind_address
...
Add a Traefik configuration to listen on a specific address (#903 )
2023-05-25 15:29:37 +02:00
pre-commit-ci[bot]
0f385af837
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-05-25 12:56:22 +00:00