File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,6 @@ def ensure_jupyterhub_package(prefix):
115
115
os .path .join (HERE , "requirements-hub-env.txt" ),
116
116
upgrade = True ,
117
117
)
118
- traefik .ensure_traefik_binary (prefix )
119
118
120
119
121
120
def ensure_usergroups ():
@@ -536,6 +535,7 @@ def main():
536
535
537
536
logger .info ("Setting up JupyterHub..." )
538
537
ensure_jupyterhub_package (HUB_ENV_PREFIX )
538
+ traefik .ensure_traefik_binary (HUB_ENV_PREFIX )
539
539
540
540
# Stop the http server with the progress page before traefik starts
541
541
if args .progress_page_server_pid :
Original file line number Diff line number Diff line change 29
29
plat = None
30
30
31
31
# Traefik releases: https://github.com/traefik/traefik/releases
32
- traefik_version = "2.10.1 "
32
+ traefik_version = "3.1.4 "
33
33
34
34
# record sha256 hashes for supported platforms here
35
35
# checksums are published in the checksums.txt of each release
36
36
checksums = {
37
- "linux_amd64" : "8d9bce0e6a5bf40b5399dbb1d5e3e5c57b9f9f04dd56a2dd57cb0713130bc824 " ,
38
- "linux_arm64" : "260a574105e44901f8c9c562055936d81fbd9c96a21daaa575502dc69bfe390a " ,
37
+ "linux_amd64" : "eb7227b1b235195355904839c514a9ed6a0aecdcf5dab02ad48db21b05c5e700 " ,
38
+ "linux_arm64" : "e5d970a7f11267b70a8e308cb80f859bba4f420f24789f7393fdf3f4cd031631 " ,
39
39
}
40
40
41
41
_tljh_path = Path (__file__ ).parent .resolve ()
@@ -91,7 +91,10 @@ def check_traefik_version(traefik_bin):
91
91
92
92
@backoff .on_exception (backoff .expo , Exception , max_tries = 2 , giveup = fatal_error )
93
93
def ensure_traefik_binary (prefix ):
94
- """Download and install the traefik binary to a location identified by a prefix path such as '/opt/tljh/hub/'"""
94
+ """
95
+ Ensure that a traefik binary of a hardcoded version is made available at a
96
+ prefix path such as '/opt/tljh/hub/'.
97
+ """
95
98
if plat is None :
96
99
raise OSError (
97
100
f"Error. Platform: { os .uname ().sysname } / { machine } Not supported."
You can’t perform that action at this time.
0 commit comments