aboutsummaryrefslogtreecommitdiff
path: root/openembedded-armv8-luvos.yaml
blob: 225caa90a461cd1680a7cd81f4d859509a38830a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
- job:
    name: openembedded-armv8-luvos
    project-type: freestyle
    defaults: global
    logrotate:
        daysToKeep: 30
        numToKeep: 30
    properties:
        - authorization:
            anonymous:
                - job-read
                - job-extended-read
    parameters:
        - string:
            name: MACHINE
            default: 'genericarmv8'
        - string:
            name: DISTRO
            default: 'luv'
    disabled: false
    node: build
    display-name: 'Linux UEFI Validation Operating System (luvOS) for ARMv8'
    scm:
        - git:
            url: https://github.com/01org/luv-yocto.git
            refspec: +refs/heads/master:refs/remotes/origin/master
            name: origin
            branches:
                - refs/heads/master
            skip-tag: true
            shallow-clone: true
            wipe-workspace: false
    wrappers:
        - timestamps
        - build-name:
            name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}'
    builders:
        - linaro-publish-token
        - shell: |
            #!/bin/bash

            set -ex

            trap cleanup_exit INT TERM EXIT

            cleanup_exit()
            {
              cd ${WORKSPACE}
              rm -rf build/tmp/
            }

            # Build
            source oe-init-build-env
            echo "BBLAYERS += \" ${WORKSPACE}/meta-luv\"" >> conf/bblayers.conf
            bitbake luv-live-image

            # Publish
            rm -f ${WORKSPACE}/build/tmp/deploy/images/genericarmv8/*.txt
            find ${WORKSPACE}/build/tmp/deploy/images/genericarmv8 -type l -delete
            ${HOME}/bin/linaro-cp ${WORKSPACE}/build/tmp/deploy/images/genericarmv8 openembedded/pre-built/luvos/${BUILD_NUMBER}
    publishers:
        - email:
            recipients: 'fathi.boudra@linaro.org naresh.bhat@linaro.org'