← Back to team overview

canonical-hw-cert team mailing list archive

[Merge] ~pwlars/hwcert-jenkins-jobs/+git/cert-juju:server-add-flavio into ~canonical-hw-cert/hwcert-jenkins-jobs/+git/cert-juju:master

 

Paul Larson has proposed merging ~pwlars/hwcert-jenkins-jobs/+git/cert-juju:server-add-flavio into ~canonical-hw-cert/hwcert-jenkins-jobs/+git/cert-juju:master.

Requested reviews:
  Paul Larson (pwlars)

For more details, see:
https://code.launchpad.net/~pwlars/hwcert-jenkins-jobs/+git/cert-juju/+merge/434378

Another new server-cert system
-- 
Your team hwcert-jenkins is subscribed to branch ~canonical-hw-cert/hwcert-jenkins-jobs/+git/cert-juju:master.
diff --git a/server-cert/data/flavio/default.yaml b/server-cert/data/flavio/default.yaml
new file mode 100644
index 0000000..6cfe2ed
--- /dev/null
+++ b/server-cert/data/flavio/default.yaml
@@ -0,0 +1,9 @@
+device_ip: 10.245.130.4
+node_id: e6wbk6
+node_name: flavio
+maas_user: server-cert
+agent_name: flavio
+env:
+    HEXR_DEVICE_SECURE_ID: 2Rhoju2kwe52yKRdroCRpR
+    DEVICE_IP: 10.245.130.4
+    TEST_TARGET_IPERF: 10.1.11.230,10.1.11.235,10.1.11.231,10.1.11.236,10.245.128.3
diff --git a/server-cert/data/flavio/testflinger-agent.conf b/server-cert/data/flavio/testflinger-agent.conf
new file mode 100644
index 0000000..438862c
--- /dev/null
+++ b/server-cert/data/flavio/testflinger-agent.conf
@@ -0,0 +1,19 @@
+agent_id: flavio
+server_address: https://testflinger.canonical.com
+global_timeout: 172800
+output_timeout: 43200
+
+execution_basedir: /home/ubuntu/testflinger/flavio/run
+logging_basedir: /home/ubuntu/testflinger/flavio/logs
+results_basedir: /home/ubuntu/testflinger/flavio/results
+logging_level: DEBUG
+# logging_quiet: True
+job_queues:
+   - flavio
+
+setup_command: tf-setup
+provision_command: tf-provision
+test_command: tf-test
+reserve_command: tf-reserve
+cleanup_command: tf-cleanup
+provision_type: maas2
diff --git a/server-cert/server-cert-agents.yaml b/server-cert/server-cert-agents.yaml
index 910a0dc..98f0045 100644
--- a/server-cert/server-cert-agents.yaml
+++ b/server-cert/server-cert-agents.yaml
@@ -513,4 +513,12 @@ applications:
     resources:
       testflinger_agent_configfile: data/whomp/testflinger-agent.conf
       device_configfile: data/whomp/default.yaml
+  flavio:
+    charm: ../charms/testflinger-agent-charm
+    num_units: 1
+    to:
+      - server-cert-agent-host
+    resources:
+      testflinger_agent_configfile: data/flavio/testflinger-agent.conf
+      device_configfile: data/flavio/default.yaml
 

References