diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2014-12-20 16:11:57 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2014-12-20 16:11:57 +0200 |
commit | 18478a9f5b1aee2ddcaf63cb2038b5ba3d6ce2a1 (patch) | |
tree | 512f91706f7277d43b226562a537f0d4bc1ceffe /linaro-edk2-capsule | |
parent | 871163b1be6835f941ed335f8a5597b053945c2b (diff) |
linaro-edk2-capsule: submit lava job definition
* add post-build-lava support
* update the template
- inject bl1/fip from the build
- add metadata
Change-Id: I339431c6dd28ec35ecbd2cbfae6339adf4e6a230
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'linaro-edk2-capsule')
-rw-r--r-- | linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json | 11 | ||||
-rw-r--r-- | linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml | 10 |
2 files changed, 17 insertions, 4 deletions
diff --git a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json index 22800ec1..b0cd8ca7 100644 --- a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json +++ b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.json @@ -14,10 +14,10 @@ "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp-base-gicv2-psci.dtb_UpdateCapsule_test": [ "boot:/fvp-base-gicv2-psci.dtb" ], - "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_bl1.bin": [ + "${BL1_URL}": [ "boot:/fvp_bl1.bin" ], - "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_fip.bin": [ + "${FIP_URL}": [ "boot:/fvp_fip.bin" ], "http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_example_v2.txt": [ @@ -25,6 +25,13 @@ ] }, "image": "${IMAGE_URL}" + }, + "metadata": { + "build id": "${BUILD_NUMBER}", + "git URL": "${GIT_URL}", + "git branch": "${GIT_BRANCH}", + "git commit": "${GIT_COMMIT}", + "template": "update-capsule" } }, { diff --git a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml index 583d7ad6..c8e36fe7 100644 --- a/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml +++ b/linaro-edk2-capsule/lava-job-definitions/rtsm_fvp_base-aemv8a/template.yaml @@ -9,13 +9,19 @@ actions: - 'boot:/Image' 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp-base-gicv2-psci.dtb_UpdateCapsule_test': - 'boot:/fvp-base-gicv2-psci.dtb' - 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_bl1.bin': + '${BL1_URL}': - 'boot:/fvp_bl1.bin' - 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/fvp_fip.bin': + '${FIP_URL}': - 'boot:/fvp_fip.bin' 'http://people.linaro.org/~fu.wei/LAVA/test/UEFI/uefi_update_capsule/uefi_update_capsule_example_v2.txt': - 'rootfs:/uefi_update_capsule_example.txt' image: '${IMAGE_URL}' + metadata: + build id: '${BUILD_NUMBER}' + git URL: '${GIT_URL}' + git branch: '${GIT_BRANCH}' + git commit: '${GIT_COMMIT}' + template: 'update-capsule' - command: boot_linaro_image parameters: boot_cmds: |