Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(950)

Unified Diff: blimp/tools/bundle-engine.py

Issue 1638153002: Set up an stunnel endpoint for the engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No loger apt-get updating twice Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/start_engine.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/tools/bundle-engine.py
diff --git a/blimp/tools/bundle-engine.py b/blimp/tools/bundle-engine.py
index 911e4db8fab8866621a10779b54638c1274cb520..9fd266e9d3c63effd4242e52e35d0baa90498e16 100755
--- a/blimp/tools/bundle-engine.py
+++ b/blimp/tools/bundle-engine.py
@@ -41,6 +41,10 @@ def main():
help=('Dockerfile to add to the bundle'),
required=True,
metavar='FILE')
+ parser.add_argument('--startup-script',
+ help=('Engine startup script to add to the bundle'),
+ required=True,
+ metavar='FILE')
parser.add_argument('--manifest',
help=('engine manifest'),
required=True)
@@ -55,6 +59,7 @@ def main():
# Add the deps to the tarball along with the Dockerfile.
with tarfile.open(args.output, 'w') as tarball:
tarball.add(args.dockerfile, arcname='Dockerfile')
+ tarball.add(args.startup_script, arcname='start_engine.sh')
os.chdir(args.build_dir)
for dep in deps:
try:
« no previous file with comments | « blimp/engine/start_engine.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698