← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~pwlars/cc-lab-manager:allocate-command into cc-lab-manager:master

 

Paul Larson has proposed merging ~pwlars/cc-lab-manager:allocate-command into cc-lab-manager:master.

Requested reviews:
  Canonical Hardware Certification (canonical-hw-cert)

For more details, see:
https://code.launchpad.net/~pwlars/cc-lab-manager/+git/cc-lab-manager/+merge/448934

This is needed for multi-agent jobs, but we're also testing this as a possible mechanism for spread integration. I'm in the process of adding the "tf-allocate" script to our agent hosts, but if there's some place that these are pulled from or documented for when we deploy new agent hosts, that should be updated as well.

-- 
Your team Canonical Hardware Certification is requested to review the proposed merge of ~pwlars/cc-lab-manager:allocate-command into cc-lab-manager:master.
diff --git a/cc_lab_manager/gen_config/gen_agent_tf_config.py b/cc_lab_manager/gen_config/gen_agent_tf_config.py
index f545771..713a190 100644
--- a/cc_lab_manager/gen_config/gen_agent_tf_config.py
+++ b/cc_lab_manager/gen_config/gen_agent_tf_config.py
@@ -56,6 +56,7 @@ tf_config = {"agent_id": None,
              "setup_command": "tf-setup", 
              "provision_command": "tf-provision", 
              "test_command": "tf-test", 
+             "allocate_command": "tf-allocate", 
              "reserve_command": "tf-reserve", 
              "cleanup_command": "tf-cleanup", 
              "provision_type": None