Commit Graph

96 Commits

Author SHA1 Message Date
Nicolas Surleraux
bf360ec332 Enable https in test_listen_address so it renders 2023-05-24 11:53:18 +02:00
Nicolas Surleraux
bbc6c465ac Allow to listen on a specific address via TLJH config 2023-05-24 11:42:27 +02:00
Min RK
c5dec7f3b4 update test expectations for traefik ssl 2023-05-17 09:41:55 +02:00
Min RK
776ff5273b update letsEncrypt config after testing
verified this works now
2023-05-16 13:27:23 +02:00
Min RK
a58956f14b update for traefik v2, treafik-proxy v1
- tls config is no longer allowed in static config file, add separate dynamic config
- no longer need to persist auth config ourselves (TraefikProxy handles this)
- make sure to reload proxy before reloading hub in tests
2023-05-16 11:47:23 +02:00
pre-commit-ci[bot]
e95942d61b [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-05-15 08:51:36 +00:00
Erik Sundell
b366d6b63f Remove unused copy-paste remnants in tests 2023-05-15 10:49:56 +02:00
pre-commit-ci[bot]
e6994aab2d [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-04-24 00:10:25 +00:00
stevejpurves
836056f404 💚 green tests 2023-04-24 02:05:30 +02:00
stevejpurves
3f180a939f 🧪 add test 2023-04-24 02:05:30 +02:00
Min RK
f13a31c20c update upgrade expectation for test_installer
it may not upgrade all the way to 1.4 if other packages are pinned in the base env
2023-04-17 10:56:24 +02:00
Erik Sundell
438df10e1a Fix tests for update of mambaforge from 22.11.1-4 to 23.1.0-1 2023-04-17 10:26:38 +02:00
Min RK
000e4f2540 sync with main 2023-04-17 09:44:58 +02:00
Erik Sundell
6883316c36 Update mambaforge from 22.11.1-4 to 23.1.0-1 2023-04-15 11:06:29 +02:00
Erik Sundell
9e1bc61519 breaking, maint: remove deprecated use of nteract-on-jupyter 2023-04-04 22:00:44 +02:00
Min RK
b5a6b3f590 Avoid downgrading user-env conda/mamba
- Only check lower bound on conda/mamba, upgrade unbounded if not matched (let conda apply upper bound according to existing pins, such as Python)
- handle missing mamba
- avoid upgrading Python by aborting the install, instead of keeping old envs
- minimum supported Python for user env is 3.9
- Fix output reporting of conda install step (no need for json capture when we don't parse the output - exit codes will do)
2023-03-27 13:20:22 +02:00
Min RK
755d0d02fb avoid auto-updating conda in test env
because then we don't get the version we expect to test with!
2023-03-23 16:26:34 +01:00
Min RK
a24e038136 get canary package from conda-forge 2023-03-23 15:39:46 +01:00
Min RK
4d42f24e48 test ensure_user_environment
verify behavior for:

- current version (no change)
- old, supported version (upgrade, but not too far)
- too old, re-run installer
- directory exists, no conda
2023-03-23 12:34:44 +01:00
Min RK
1a3c48a500 Update base user environment to mambaforge 22.11.1-4
shift some duplicated code into utility functions and constants
2023-03-21 14:37:50 +01:00
Simon Li
9328c6bb78 Test non-existent version request 2022-06-22 20:22:44 +01:00
Simon Li
a7ae7f7eea Move bootstrap func tests to tests/test_bootstrap_functions.py 2022-06-17 16:48:25 +01:00
Erik Sundell
e0aaa4f995 pre-commit: run black with string normalization 2021-11-03 23:55:34 +01:00
Erik Sundell
771ae59636 pre-commit: run black without string normalization 2021-11-03 23:53:41 +01:00
Connor Dibble
a91571dd22 Support Arm64 CPU architectures 2021-11-03 23:06:37 +01:00
Erik Sundell
c2c4d708f5 pyupgrade fixes 2021-10-31 11:26:40 +01:00
Erik Sundell
a64f242b61 flake8 fixes: unused imports and f-strings without vars 2021-10-28 15:43:50 +02:00
Erik Sundell
2d6d970146 Merge pull request #719 from consideRatio/pr/update-hub-user-env-and-tljh-deps
Bump to recent versions, and make bootstrap.py update to those when run
2021-10-28 03:47:42 +02:00
Erik Sundell
990135e179 hub env: bump to require latest major version, less pinned now 2021-10-27 09:15:44 +02:00
Min RK
afa77c42f8 use Config object when testing config
Mocking only seems to make things more complicated
2021-10-27 09:14:33 +02:00
Erik Sundell
ea720219d0 tests: make MockConfigurer support subscription 2021-10-27 01:53:55 +02:00
Simon Li
80b347349a Update to mambaforge_version 4.10.3-7 2021-10-18 22:51:12 +01:00
Simon Li
0018beca4f Switch to mambaforge 2021-10-18 19:41:50 +01:00
Jeremy Tuloup
873e6bf661 Remove Node.js 2021-02-08 18:01:28 +01:00
Jean-Marc Alkazzi
f799206920 Add relevant tests and formatting 2020-11-04 14:32:48 +02:00
GeorgianaElena
af6b56cf73 Update unit test 2020-06-08 12:36:26 +03:00
GeorgianaElena
651425972f Modify loglevel 2020-06-05 15:04:14 +03:00
GeorgianaElena
acc1eea251 Traefik config files are .toml 2020-06-02 19:09:19 +03:00
GeorgianaElena
54bc95668b Test Traefik extra config 2020-06-02 18:21:08 +03:00
YuviPanda
f82c49c12c Use sha256 sums for verifying miniconda download
miniconda downloader now provides sha256 hashes. Previously
it provided only md5 hashes. md5 is deprecated everywhere for
everything, so let's use this
2020-05-29 13:32:55 +03:00
YuviPanda
41474e97e3 Update tests to check for newer location of idle culler 2020-05-03 16:00:07 +05:30
Yuvi Panda
edb7c29daf Merge pull request #498 from GeorgianaElena/tls_version
Set tls 1.2 to be the min version
2020-01-31 12:41:00 -08:00
GeorgianaElena
8e3131c8f1 Update tests 2020-01-31 12:35:34 +02:00
GeorgianaElena
8b5d7ee79a Bump conda in tests too 2020-01-30 12:05:54 +02:00
GeorgianaElena
fd81e9fef4 Bump conda to 4.7.10 2020-01-30 12:05:54 +02:00
GeorgianaElena
b4b37d84cc Added tests 2020-01-14 13:31:38 +02:00
GeorgianaElena
2bc44e672b pin conda version in tests 2019-08-26 15:13:19 +03:00
Yuvi Panda
f952e4e590 Merge pull request #399 from GeorgianaElena/add_append_to_arg
Allow adding multiple admins during install
2019-07-15 09:24:46 -07:00
GeorgianaElena
55e9aa2c29 Test multiple admins on install 2019-07-15 12:02:18 +03:00
Min RK
7d30501fc5 Merge pull request #382 from GeorgianaElena/issue349
Allow adding users to specific groups
2019-07-12 09:38:21 +02:00