mdedtls-amis: initial job
Change-Id: Ifa94331b640ce3c6e1485ad72e9d8998079e9e01
diff --git a/mbedtls-amis.yaml b/mbedtls-amis.yaml
new file mode 100644
index 0000000..da4f2f7
--- /dev/null
+++ b/mbedtls-amis.yaml
@@ -0,0 +1,22 @@
+- job:
+ name: mbedtls-amis
+ project-type: freestyle
+ defaults: global
+ properties:
+ - authorization:
+ anonymous:
+ - job-read
+ - job-extended-read
+ - build-discarder:
+ days-to-keep: 90
+ num-to-keep: 200
+ disabled: false
+ node: build-amd64-private
+ concurrent: false
+ display-name: 'build AMIs for mbedtls'
+ builders:
+ - shell:
+ !include-raw: mbedtls-amis/builders.sh
+ publishers:
+ - email:
+ recipients: linaro-infrastructure-errors@lists.linaro.org
diff --git a/mbedtls-amis/builders.sh b/mbedtls-amis/builders.sh
new file mode 100644
index 0000000..fe84b93
--- /dev/null
+++ b/mbedtls-amis/builders.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+rm -rf mbedtls-amis
+git clone https://gitlab.com/suihkulokki/mbedtls-amis.git
+cd mbedtls-amis
+
+packer build packer_config.json
+