mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
bootstrap.py: update documentation for consistency
This commit is contained in:
1
.github/workflows/integration-test.yaml
vendored
1
.github/workflows/integration-test.yaml
vendored
@@ -71,7 +71,6 @@ jobs:
|
|||||||
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade"
|
- name: "Int. tests: Ubuntu 22.04, Py 3.10, --upgrade"
|
||||||
distro_image: "ubuntu:22.04"
|
distro_image: "ubuntu:22.04"
|
||||||
extra_flags: --upgrade
|
extra_flags: --upgrade
|
||||||
dont_run_on_ref: refs/heads/main
|
|
||||||
|
|
||||||
integration-tests:
|
integration-tests:
|
||||||
needs: decide-on-test-jobs-to-run
|
needs: decide-on-test-jobs-to-run
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ Environment variables:
|
|||||||
installing the tljh installer. Pass the values
|
installing the tljh installer. Pass the values
|
||||||
yes or no.
|
yes or no.
|
||||||
|
|
||||||
Command line flags:
|
Command line flags, from "bootstrap.py --help":
|
||||||
|
|
||||||
The bootstrap.py script accept the following command line flags. All other
|
The bootstrap.py script accept the following command line flags. All other
|
||||||
flags are passed through to the tljh installer without interception by this
|
flags are passed through to the tljh installer without interception by this
|
||||||
@@ -36,6 +36,11 @@ Command line flags:
|
|||||||
logs can be accessed during installation. If this is
|
logs can be accessed during installation. If this is
|
||||||
passed, it will pass --progress-page-server-pid=<pid>
|
passed, it will pass --progress-page-server-pid=<pid>
|
||||||
to the tljh installer for later termination.
|
to the tljh installer for later termination.
|
||||||
|
--version TLJH version or Git reference. Default 'latest' is
|
||||||
|
the most recent release. Partial versions can be
|
||||||
|
specified, for example '1', '1.0' or '1.0.0'. You
|
||||||
|
can also pass a branch name such as 'main' or a
|
||||||
|
commit hash.
|
||||||
"""
|
"""
|
||||||
from argparse import ArgumentParser
|
from argparse import ArgumentParser
|
||||||
import os
|
import os
|
||||||
@@ -340,8 +345,23 @@ def main():
|
|||||||
"""
|
"""
|
||||||
distro, version = ensure_host_system_can_install_tljh()
|
distro, version = ensure_host_system_can_install_tljh()
|
||||||
|
|
||||||
parser = ArgumentParser()
|
parser = ArgumentParser(
|
||||||
parser.add_argument("--show-progress-page", action="store_true")
|
description=(
|
||||||
|
"The bootstrap.py script accept the following command line flags. "
|
||||||
|
"All other flags are passed through to the tljh installer without "
|
||||||
|
"interception by this script."
|
||||||
|
)
|
||||||
|
)
|
||||||
|
parser.add_argument(
|
||||||
|
"--show-progress-page",
|
||||||
|
action="store_true",
|
||||||
|
help=(
|
||||||
|
"Starts a local web server listening on port 80 where logs can be "
|
||||||
|
"accessed during installation. If this is passed, it will pass "
|
||||||
|
"--progress-page-server-pid=<pid> to the tljh installer for later "
|
||||||
|
"termination."
|
||||||
|
),
|
||||||
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--version",
|
"--version",
|
||||||
default="latest",
|
default="latest",
|
||||||
|
|||||||
Reference in New Issue
Block a user