summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-03-21 15:08:58 +0000
committerGerrit Code Review <review@openstack.org>2017-03-21 15:08:58 +0000
commitd6b67554ad401438ce31db4212c3d9f83fcd28ea (patch)
tree12d7f6207b7d9072782186ca35f1dcd4ef372195
parent9cc6c362d421f8164ac0d3f2341e9bc8b0935026 (diff)
parent40b21111208259cb32e35f191bad13d2ee694a9d (diff)
Merge "Updated bootstrap repos after fuel-bootstrap-cli reinstall"
-rw-r--r--gates_tests/helpers/utils.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/gates_tests/helpers/utils.py b/gates_tests/helpers/utils.py
index 3bf389f..ca69cf3 100644
--- a/gates_tests/helpers/utils.py
+++ b/gates_tests/helpers/utils.py
@@ -514,9 +514,18 @@ def check_package_version_injected_in_bootstraps(
514def update_bootstrap_cli_yaml(): 514def update_bootstrap_cli_yaml():
515 actions = BaseActions() 515 actions = BaseActions()
516 path = "/etc/fuel-bootstrap-cli/fuel_bootstrap_cli.yaml" 516 path = "/etc/fuel-bootstrap-cli/fuel_bootstrap_cli.yaml"
517 new_repo = {'name': 'auxiliary', 'priority': "1200", 517 astute_yaml_path = "/etc/fuel/astute.yaml"
518 'section': 'main restricted', 518
519 'suite': 'auxiliary', 'type': 'deb', 519 with YamlEditor(astute_yaml_path, ip=actions.admin_ip) as editor:
520 'uri': 'http://127.0.0.1:8080/ubuntu/auxiliary/'} 520 repos = editor.content["BOOTSTRAP"]["repos"]
521
522 repos.append({
523 'name': 'auxiliary',
524 'priority': "1200",
525 'section': 'main restricted',
526 'suite': 'auxiliary',
527 'type': 'deb',
528 'uri': 'http://127.0.0.1:8080/ubuntu/auxiliary/'})
529
521 with YamlEditor(path, ip=actions.admin_ip) as editor: 530 with YamlEditor(path, ip=actions.admin_ip) as editor:
522 editor.content['repos'].append(new_repo) 531 editor.content['repos'] = repos