]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
chore: Remove broken support for `--run-output`
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 13:39:29 +0000 (08:39 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Fri, 7 Nov 2025 17:11:19 +0000 (12:11 -0500)
Dead code as of 28e7226a809c522d69913e2aab2c55fbb55646e3

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
build-scripts/docker/repo-test/generate-repo-files.py

index a2adbea06574b43816dfb9d9ddcb5d7740dcae4a..2ad263cf6614b075c65b368aa24a4ffda58a2261 100755 (executable)
@@ -34,7 +34,6 @@ g_env = Environment(
 )
 
 g_dockerfile = 'Dockerfile.'
-g_run_output = False
 
 
 # Init Functions
@@ -54,8 +53,6 @@ def init_argparser():
                                  'dnsdist-master'],
                         help='the release to generate Docker files for: ' +
                              '%(choices)s')
-    parser.add_argument('--run-output', action='store_true',
-                        help='always show output from running a container')
     parser.add_argument('--test', action='store_true',
                         help='test the release')
     parser.add_argument('--test-aarch64', action='store_true',
@@ -201,10 +198,6 @@ def build (dockerfile, arch='x86_64'):
 
 
 def run (tag, arch='x86_64'):
-    if g_run_output:
-        capture_run_output = False
-    else:
-        capture_run_output = not(g_verbose)
     print('Running Docker container tagged {}...'.format(tag))
     if arch == 'x86_64':
         cp = subprocess.run(['docker', 'run', tag],
@@ -305,9 +298,6 @@ if args.version:
 if args.verbose:
     g_verbose = True
 
-if args.run_output:
-    g_run_output = True
-
 write_release_files(args.release)
 
 if args.test: