projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb/lava: Parameterize repo URL and branch for test scripts
[lttng-ci.git]
/
scripts
/
system-tests
/
lava2-submit.py
diff --git
a/scripts/system-tests/lava2-submit.py
b/scripts/system-tests/lava2-submit.py
index 232be5d43bb72016c08e5012bfe2d4702b9627c1..fd573af19ba2bf0664492125ac08a8ad379cbf11 100644
(file)
--- a/
scripts/system-tests/lava2-submit.py
+++ b/
scripts/system-tests/lava2-submit.py
@@
-199,6
+199,8
@@
def main():
'-r', '--rootfs-url', required=False,
default="https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_xenial_2018-12-05.tar.gz"
)
'-r', '--rootfs-url', required=False,
default="https://obj.internal.efficios.com/lava/rootfs/rootfs_amd64_xenial_2018-12-05.tar.gz"
)
+ parser.add_argument('--ci-repo', required=False, default='https://github.com/lttng/lttng-ci.git')
+ parser.add_argument('--ci-branch', required=False, default='master')
args = parser.parse_args()
if args.type not in TestType.values:
args = parser.parse_args()
if args.type not in TestType.values:
@@
-265,6
+267,9
@@
def main():
context['kprobe_round_nb'] = 10
context['kprobe_round_nb'] = 10
+ context['ci_repo'] = args.ci_repo
+ context['ci_branch'] = args.ci_branch
+
render = jinja_template.render(context)
print('Job to be submitted:')
render = jinja_template.render(context)
print('Job to be submitted:')
This page took
0.024169 seconds
and
4
git commands to generate.