From 6c2443b06d705f9d5f7a1cce1b25f61d25088b9e Mon Sep 17 00:00:00 2001
From: Riku Voipio
- THIS END USER LICENCE AGREEMENT (“LICENCE”) IS A LEGAL AGREEMENT BETWEEN YOU (EITHER A SINGLE INDIVIDUAL, OR SINGLE LEGAL ENTITY) AND ARM LIMITED ("ARM") FOR THE USE OF THE SOFTWARE ACCOMPANYING THIS LICENCE. ARM IS ONLY WILLING TO LICENSE THE SOFTWARE TO YOU ON CONDITION THAT YOU ACCEPT ALL OF THE TERMS IN THIS LICENCE. BY CLICKING “I AGREE” OR BY INSTALLING OR OTHERWISE USING OR COPYING THE SOFTWARE YOU INDICATE THAT YOU AGREE TO BE BOUND BY ALL OF THE TERMS OF THIS LICENCE. IF YOU DO NOT AGREE TO THE TERMS OF THIS LICENCE, ARM IS UNWILLING TO LICENSE THE SOFTWARE TO YOU AND YOU MAY NOT INSTALL, USE OR COPY THE SOFTWARE, AND YOU SHOULD PROMPTLY RETURN THE SOFTWARE TO YOUR SUPPLIER.
-
- “Software” means any software, firmware and data accompanying this Licence, any printed, electronic or online documentation supplied with it under the terms of this Licence for the MALI GPU Driver.
-
-
- 1. LICENCE GRANTS TO YOU.
-
- 1.1 ARM hereby grants to you, subject to the terms and conditions of this Licence, a non-exclusive, non-transferable, revocable, worldwide licence to: (i) use the Software or certain components or optional functionality in the Software, as applicable, solely for the purposes of designing or developing applications for use in conjunction with MALI GPU based products manufactured under licence from ARM; and (ii) modify the Software or certain components or optional functionality in the Software for the purposes of porting the Software to your target;
-
-
- BENCHMARKING: This Licence does not prevent you from using the Software for internal benchmarking purposes. However, you shall treat any and all benchmarking data relating to the Software, and any other results of your use or testing of the Software which are indicative of its performance, efficacy, reliability or quality, as confidential information and you shall not disclose such information to any third party without the express written permission of ARM. -
-- COPYRIGHT AND RESERVATION OF RIGHTS: The Software is owned by ARM or its licensors and is protected by copyright and other intellectual property laws and international treaties. The Software is licensed not sold. You acquire no rights to the Software other than as expressly provided by this Licence. You shall not remove from the Software any copyright notice or other notice and shall ensure that any such notice is reproduced in any copies of the whole or any part of the Software made by you or other permitted users. -
-- REVERSE ENGINEERING: Except to the extent that such activity is permitted by applicable law you shall not reverse engineer, decompile or disassemble any of the Software. If the Software was provided to you in Europe you shall not reverse engineer, decompile or disassemble any of the Software for the purposes of error correction. -
--
-
- YOU EXPRESSLY ASSUME ALL LIABILITIES AND RISKS, FOR USE OR OPERATION OF SOFTWARE APPLICATIONS, INCLUDING WITHOUT LIMITATION, SOFTWARE APPLICATIONS DESIGNED OR INTENDED FOR MISSION CRITICAL APPLICATIONS, SUCH AS PACEMAKERS, WEAPONRY, AIRCRAFT NAVIGATION, FACTORY CONTROL SYSTEMS, ETC. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE ENTIRE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. -
--
- ARM does not seek to limit or exclude liability for death or personal injury arising from ARM's negligence or ARM’s fraud and because some jurisdictions do not permit the exclusion or limitation of liability for consequential or incidental damages the above limitation relating to liability for consequential damages may not apply to you. -
-- NOTWITHSTANDING ANYTHING TO THE CONTRARY CONTAINED IN THIS LICENCE, THE MAXIMUM LIABILITY OF ARM TO YOU IN AGGREGATE FOR ALL CLAIMS MADE AGAINST ARM IN CONTRACT TORT OR OTHERWISE UNDER OR IN CONNECTION WITH THE SUBJECT MATTER OF THIS LICENCE SHALL NOT EXCEED THE GREATER OF: (I) THE TOTAL OF SUMS PAID BY YOU TO ARM (IF ANY) FOR THIS LICENCE; AND (II) $10.00 USD. THE EXISTENCE OF MORE THAN ONE CLAIM WILL NOT ENLARGE OR EXTEND THE LIMIT. -
--
-
-
-
- At ARM’s request, you agree to check your computers for installations of the Software and any other information requested by ARM relating to Software installation and to provide this information to ARM. You agree that auditors nominated by ARM may also perform such checking and reporting on behalf of ARM by prior appointment during your normal business hours on seven (7) days’ notice. ARM shall bear the auditors’ costs for that audit unless it reveals unlicensed usage in which case you shall promptly reimburse ARM for all reasonable costs and expenses, including professional fees, relating to such audit. Any information which is disclosed to ARM or such auditors during checking or audit shall be treated as your confidential information and shall only be used by ARM for licence management, compliance and enforcement purposes. -
-- The Software provided under this Licence is subject to U.S. export control laws, including the U.S. Export Administration Act and its associated regulations, and may be subject to export or import regulations in other countries. You agree to comply fully with all laws and regulations of the United States and other countries ("Export Laws") to assure that the Software, is not (1) exported, directly or indirectly, in violation of Export Laws, either to any countries that are subject to U.S.A. export restrictions or to any end user who has been prohibited from participating in the U.S.A. export transactions by any federal agency of the U.S.A. government; or (2) intended to be used for any purpose prohibited by Export Laws, including, without limitation, nuclear, chemical, or biological weapons proliferation. -
-- Mali GPU Userspace LES-PRE-20376 -
diff --git a/android-tv/hikey/builders.sh b/android-tv/hikey/builders.sh deleted file mode 100755 index beb525f086..0000000000 --- a/android-tv/hikey/builders.sh +++ /dev/null @@ -1,86 +0,0 @@ -# Build Android -rm -rf build/out build/android-patchsets build/device/linaro/hikey -mkdir -p build/ -cd build/ -wget https://dl.google.com/dl/android/aosp/linaro-hikey-20170523-4b9ebaff.tgz -tar -xvf linaro-hikey-20170523-4b9ebaff.tgz -yes "I ACCEPT" | ./extract-linaro-hikey.sh -cd - - -build-tools/node/build us-east-1.ec2-git-mirror.linaro.org "${CONFIG}" -cp -a /home/buildslave/srv/${BUILD_DIR}/build/out/*.json /home/buildslave/srv/${BUILD_DIR}/build/out/*.xml ${WORKSPACE}/ - -# Build Live TV app -cd build/ -source build/envsetup.sh -tapas LiveTv arm64 -make LiveTv -cp -r out/target/product/generic_arm64/system//priv-app/LiveTv/ out/system/priv-app/ -rm -rf out/target -cd - - -mkdir -p apps/ -cd apps/ -export ANDROID_HOME=/home/buildslave/srv/android-sdk/ -mkdir -p /home/buildslave/.android/ -echo "count=0" > /home/buildslave/.android/repositories.cfg - -rm -rf ExoPlayer androidtv-sample-inputs - -mkdir -p /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ - -git clone https://github.com/googlesamples/androidtv-sample-inputs -cd androidtv-sample-inputs/ -sed -i "s/23.0.3/26.0.2/g" app/build.gradle library/build.gradle -./gradlew assembleDebug -cp app/build/outputs/apk/app-debug.apk /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ -cd - - -git clone https://github.com/google/ExoPlayer -cd ExoPlayer -sed -i "s/23.0.3/26.0.2/g" build.gradle -./gradlew assembleDebug -cp ./demos/main/buildout/outputs/apk/withExtensions/debug/demo-withExtensions-debug.apk /home/buildslave/srv/${BUILD_DIR}/build/out/data/app/ -cd - - -# Compress images -cd /home/buildslave/srv/${BUILD_DIR}/build/out -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts -L data -l 5588893184 -a data userdata.img data -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts.bin -L system -l 1610612736 -a system system.img system system -host/linux-x86/bin/make_ext4fs -s -T -1 -S root/file_contexts -L data -l 1342177280 -a data userdata-4gb.img data - -# publish fip.bin and l-loader.bin -cp dist/fip.bin dist/l-loader.bin . -rm -f ramdisk.img -for image in "boot.img" "boot_fat.uefi.img" "system.img" "userdata.img" "userdata-4gb.img" "cache.img" "fip.bin" "l-loader.bin"; do - echo "Compressing ${image}" - xz ${image} -done - -rm -rf BUILD-INFO.txt -wget https://git.linaro.org/ci/job/configs.git/blob_plain/HEAD:/android-tv/hikey/build-info/aosp-master-template.txt -O BUILD-INFO.txt - -# Publish parameters -cat << EOF > ${WORKSPACE}/publish_parameters -PUB_SRC=${PWD} -PUB_DEST=/android/${JOB_NAME}/${BUILD_NUMBER} -EOF - -cd /home/buildslave/srv/${BUILD_DIR} -PUB_DEST=/android/${JOB_NAME}/${BUILD_NUMBER} -# Construct post-build-lava parameters -source build-configs/${BUILD_CONFIG_FILENAME} -cat << EOF > ${WORKSPACE}/post_build_lava_parameters -DEVICE_TYPE=${LAVA_DEVICE_TYPE:-${TARGET_PRODUCT}} -TARGET_PRODUCT=${TARGET_PRODUCT} -MAKE_TARGETS=${MAKE_TARGETS} -JOB_NAME=${JOB_NAME} -BUILD_NUMBER=${BUILD_NUMBER} -BUILD_URL=${BUILD_URL} -LAVA_SERVER=validation.linaro.org/RPC2/ -IMAGE_EXTENSION=img.xz -FRONTEND_JOB_NAME=${JOB_NAME} -DOWNLOAD_URL=http://snapshots.linaro.org/${PUB_DEST} -CUSTOM_JSON_URL=https://git.linaro.org/qa/test-plans.git/plain/android/hikey-v2/template-xtest-lmg.yaml -SKIP_REPORT=true -EOF diff --git a/android-tv/hikey/builders.yaml.inc b/android-tv/hikey/builders.yaml.inc deleted file mode 100644 index 721b796933..0000000000 --- a/android-tv/hikey/builders.yaml.inc +++ /dev/null @@ -1,14 +0,0 @@ - - shell: - !include-raw: - - android-lcr/common/builders.sh - - android-tv/hikey/builders.sh - - inject: - properties-file: publish_parameters - - linaro-publish-token - - shell: - !include-raw: - - android/linaro-publisher.sh - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true diff --git a/bridge-nfsroot.yaml b/bridge-nfsroot.yaml deleted file mode 100644 index d4b6509d53..0000000000 --- a/bridge-nfsroot.yaml +++ /dev/null @@ -1,69 +0,0 @@ -- job: - name: bridge-nfsroot - project-type: freestyle - defaults: global - description: | - * Create a minimal initramfs with bridge-nfsroot functionality - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - num-to-keep: 30 - days-to-keep: 30 - parameters: - - string: - name: DEB_ARCH - default: 'armhf arm64 amd64' - disabled: true - node: docker-jessie-arm64 - retry-count: 3 - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/suihkulokki/bridge-nfsroot.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 - - sudo apt-get -q=2 update - sudo apt-get install -y python-requests cpio wget - - rm -rf out && mkdir out - - set -ex - - for arch in ${DEB_ARCH}; do - ./mkinitrd.sh ${arch} - mv initramfs.${arch}.cpio.gz out/ - done - - # Publish to snapshots - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --link-latest \ - out components/bridge-nfsroot/${BUILD_NUMBER} - publishers: - - email: - recipients: 'anders.roxell@linaro.org fathi.boudra@linaro.org' - diff --git a/build-docker-rpm.yaml b/build-docker-rpm.yaml deleted file mode 100644 index aa9914f207..0000000000 --- a/build-docker-rpm.yaml +++ /dev/null @@ -1,54 +0,0 @@ -- job: - name: build-docker-rpm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - sudo yum install -y \ - btrfs-progs-devel \ - device-mapper-devel \ - git \ - glibc-static \ - go-md2man \ - golang \ - make \ - rpm-build \ - selinux-policy \ - selinux-policy-devel \ - sqlite-devel \ - wget \ - yum-utils - - sudo wget http://repo.linaro.org/rpm/linaro-overlay/centos-7/linaro-overlay.repo -O /etc/yum.repos.d/linaro-overlay.repo - yumdownloader --source docker - rpm -i docker-*.src.rpm - sudo yum-builddep --nogpg -y ~/rpmbuild/SPECS/docker.spec || true - rpmbuild -ba ~/rpmbuild/SPECS/docker.spec - ln -s ~/rpmbuild - publishers: - - archive: - artifacts: 'rpmbuild/*RPMS/**' - diff --git a/build-kernel-rpm.yaml b/build-kernel-rpm.yaml deleted file mode 100644 index c811709fd8..0000000000 --- a/build-kernel-rpm.yaml +++ /dev/null @@ -1,48 +0,0 @@ -- job: - name: build-kernel-rpm - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - disabled: true - node: docker-centos7-aarch64 - display-name: 'DELETE ME' - parameters: - - string: - name: source - description: 'source url for the SRPM' - wrappers: - - timestamps - builders: - - shell: | - #!/bin/bash - - set -ex - - sudo yum install -y wget git rpm-build yum-utils make openssl-devel - sudo wget http://repo.linaro.org/rpm/linaro-overlay/centos-7/linaro-overlay.repo -O /etc/yum.repos.d/linaro-overlay.repo - - wget --progress=dot -e dotbytes=2M $source - rpm -i *.src.rpm - - sudo yum-builddep --nogpg -y ~/rpmbuild/SPECS/kernel*.spec || true - rpmbuild -vv --without debug --without doc --without debuginfo -ba ~/rpmbuild/SPECS/kernel*.spec - ln -s ~/rpmbuild - publishers: - - archive: - artifacts: 'rpmbuild/*RPMS/**' - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/check-lava-status.yaml b/check-lava-status.yaml deleted file mode 100644 index 3fe50ae941..0000000000 --- a/check-lava-status.yaml +++ /dev/null @@ -1,80 +0,0 @@ -- job: - name: check-lava-status - project-type: freestyle - defaults: global - logrotate: - daysToKeep: 90 - numToKeep: 90 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - parameters: - - string: - name: LAVA_JOB_ID_POOL - default: '' - - password: - name: LAVA_USER - default: ${LAVA_USER} - - password: - name: LAVA_TOKEN - default: ${LAVA_TOKEN} - disabled: true - node: master - display-name: 'DELETE ME' - triggers: - - timed: 'H/5 * * * *' - wrappers: - - timestamps - publishers: - - groovy-postbuild: | - import groovy.net.xmlrpc.* - - void log(msg) { - manager.listener.logger.println(msg) - } - - def job = hudson.model.Hudson.instance.getItem("check-lava-status") - def property = job.getProperty(hudson.model.ParametersDefinitionProperty.class) - def parameter = property.getParameterDefinition("LAVA_JOB_ID_POOL") - def lavaJobIdPool = parameter.getDefaultValue().tokenize() - def lavaJobIdPoolClone = lavaJobIdPool.clone() - def lavaUser = property.getParameterDefinition("LAVA_USER").getDefaultValue() - def lavaToken = property.getParameterDefinition("LAVA_TOKEN").getDefaultValue() - - lavaJobIdPool.each { - def pblJob = hudson.model.Hudson.instance.getItem("post-build-lava") - def variables = pblJob.getBuildByNumber(it.toInteger()).getBuildVariables() - def lavaServer = variables.LAVA_SERVER - def lavaJobId = variables.LAVA_JOB_ID - def buildUrl = variables.BUILD_JOB.tokenize("/") - def buildName = buildUrl[4] - if (buildUrl.size() == 7) { - buildName += "/" + buildUrl[5] - } - def buildNumber = buildUrl.last().toInteger() - def build = hudson.model.Hudson.instance.getItemByFullName(buildName).getBuildByNumber(buildNumber) - - def lavaLab = new XMLRPCServerProxy("https://${lavaServer}") - lavaLab.setBasicAuth(lavaUser, lavaToken) - def response = lavaLab.invokeMethod("scheduler.job_status", [lavaJobId]) - log response - switch (response.job_status) { - case ["Complete", "Incomplete", "Canceled"]: - lavaJobIdPoolClone.remove(it) - log "LAVA job removed: " + lavaJobId - // update build job information (badge, shortText, description) - description = build.getDescription() - description = description.replaceAll(">${lavaJobId}<", ">${lavaJobId} - ${response.job_status}<") - build.setDescription(description) - break - } - } - - lavaJobIdPool = lavaJobIdPoolClone.join(" ") - parameter.setDefaultValue(lavaJobIdPool) - job.save() -# classpath: -# - "/usr/share/groovy/lib/groovy-xmlrpc-0.8.jar" - diff --git a/ci-dockerfiles-base.yaml b/ci-dockerfiles-base.yaml deleted file mode 100644 index 4ec9ace598..0000000000 --- a/ci-dockerfiles-base.yaml +++ /dev/null @@ -1,75 +0,0 @@ -- job: - name: ci-dockerfiles-base - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 90 - num-to-keep: 200 - disabled: true - node: build-arm64 - display-name: 'DELETE ME' - scm: - - git: - url: https://git.linaro.org/ci/dockerfiles.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}' - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: | - #!/bin/bash - - set -e - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - rm -rf ${HOME}/.docker - } - - mkdir -p ${HOME}/.docker - sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json - chmod 0600 ${HOME}/.docker/config.json - - # FIXME: include all the variants (centos, fedora, etc...) - for arch in arm64 armhf; do - for distro in debian ubuntu; do - if [ "${distro}" == "debian" ]; then - suite=stretch - mirror=http://deb.debian.org/debian - fi - if [ "${distro}" == "ubuntu" ]; then - suite=xenial - mirror=http://ports.ubuntu.com - fi - sudo debootstrap --arch=${arch} --variant=minbase ${suite} base-${arch}-${distro}-${suite} ${mirror} - sudo rm -rf base-arm*/var/lib/apt/lists/* base-arm*/tmp/* base-arm*/var/tmp/* - sudo tar -C base-${arch}-${distro}-${suite} -c . | docker import - linaro/base-${arch}-${distro}:${suite} - sudo rm -rf base-${arch}-${distro}-${suite} - docker push linaro/base-${arch}-${distro}:${suite} - done - done - diff --git a/ci-dockerfiles-manifests.yaml b/ci-dockerfiles-manifests.yaml deleted file mode 100644 index b0c58e8d60..0000000000 --- a/ci-dockerfiles-manifests.yaml +++ /dev/null @@ -1,36 +0,0 @@ -- job: - name: ci-dockerfiles-manifests - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 90 - num-to-keep: 200 - disabled: true - node: docker-stretch-amd64 - display-name: 'DELETE ME' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - shell: - !include-raw: ci-dockerfiles-manifests/builders.sh - publishers: - - email: - recipients: riku.voipio@linaro.org, fathi.boudra@linaro.org - diff --git a/ci-dockerfiles-manifests/builders.sh b/ci-dockerfiles-manifests/builders.sh deleted file mode 100644 index f32f9367d3..0000000000 --- a/ci-dockerfiles-manifests/builders.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -if ! sudo apt-get -q=2 update; then - echo "INFO: apt update error - try again in a moment" - sleep 15 - sudo apt-get -q=2 update || true -fi -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y manifest-tool; then - echo "INFO: apt install error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y manifest-tool -fi - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -rm -rf ${WORKSPACE}/* - -git clone --depth 1 https://git.linaro.org/ci/docker-manifests.git -cd docker-manifests -for manifest in *.yaml; do - manifest-tool push from-spec ${manifest} -done diff --git a/compass-cobbler.yaml b/compass-cobbler.yaml deleted file mode 100644 index 5fd5551fd9..0000000000 --- a/compass-cobbler.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-cobbler - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: false - node: build-arm64 - concurrent: true - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-cobbler.git - branches: - - origin/arm64 - basedir: compass-cobbler - skip-tag: true - shallow-clone: true - wipe-workspace: true - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-cobbler.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-db.yaml b/compass-db.yaml deleted file mode 100644 index 7a1e6886da..0000000000 --- a/compass-db.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-db - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-db.git - branches: - - origin/arm64 - basedir: compass-db - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-db.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-deck.yaml b/compass-deck.yaml deleted file mode 100644 index 390abced7c..0000000000 --- a/compass-deck.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-deck - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-deck.git - branches: - - origin/arm64 - basedir: compass-deck - skip-tag: true - shallow-clone: true - wipe-workspace: true - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-deck.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-flannel-cni.yaml b/compass-flannel-cni.yaml deleted file mode 100644 index ecf620cf56..0000000000 --- a/compass-flannel-cni.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-flannel-cni - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/flannel-cni.git - branches: - - origin/arm64 - basedir: flannel-cni - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-flannel-cni.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-mq.yaml b/compass-mq.yaml deleted file mode 100644 index 0d70b940c7..0000000000 --- a/compass-mq.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: compass-mq - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/compass-mq.git - branches: - - origin/arm64 - basedir: compass-mq - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-mq.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass-tasks.yaml b/compass-tasks.yaml deleted file mode 100644 index fc9ab8012e..0000000000 --- a/compass-tasks.yaml +++ /dev/null @@ -1,65 +0,0 @@ -- scm: - name: compass-tasks - scm: - - git: - url: https://github.com/yibo-cai/compass-tasks.git - branches: - - origin/arm64 - basedir: compass-tasks - skip-tag: true - shallow-clone: true - wipe-workspace: true - -- scm: - name: compass-tasks-k8s - scm: - - git: - url: https://github.com/yibo-cai/compass-tasks-k8s.git - branches: - - origin/arm64 - basedir: compass-tasks-k8s - skip-tag: true - shallow-clone: true - wipe-workspace: true - -- job: - name: compass-tasks - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - compass-tasks - - compass-tasks-k8s - triggers: - - pollscm: 'H/30 * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: compass/compass-tasks.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org di.xu@arm.com' - diff --git a/compass/compass-cobbler.sh b/compass/compass-cobbler.sh deleted file mode 100755 index c3fd6543bd..0000000000 --- a/compass/compass-cobbler.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-cobbler:latest compass-cobbler -docker push linaro/compass-cobbler:latest diff --git a/compass/compass-db.sh b/compass/compass-db.sh deleted file mode 100755 index 297b909f55..0000000000 --- a/compass/compass-db.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-db:latest compass-db -docker push linaro/compass-db:latest diff --git a/compass/compass-deck.sh b/compass/compass-deck.sh deleted file mode 100755 index 88f7f3848b..0000000000 --- a/compass/compass-deck.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-deck:latest compass-deck -docker push linaro/compass-deck:latest diff --git a/compass/compass-flannel-cni.sh b/compass/compass-flannel-cni.sh deleted file mode 100755 index 3c4683abb3..0000000000 --- a/compass/compass-flannel-cni.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -# push linaro/flannel-cni-arm64:v0.2.0 -cd flannel-cni && make diff --git a/compass/compass-mq.sh b/compass/compass-mq.sh deleted file mode 100755 index 6a15225738..0000000000 --- a/compass/compass-mq.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-mq:latest compass-mq -docker push linaro/compass-mq:latest diff --git a/compass/compass-tasks.sh b/compass/compass-tasks.sh deleted file mode 100755 index 0d93aaab32..0000000000 --- a/compass/compass-tasks.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -set -e - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -docker build -t linaro/compass-tasks:latest compass-tasks -docker push linaro/compass-tasks:latest - -docker build -t linaro/compass-tasks-k8s:latest compass-tasks-k8s -docker push linaro/compass-tasks-k8s:latest diff --git a/coresight.yaml b/coresight.yaml deleted file mode 100644 index 5636fb31b4..0000000000 --- a/coresight.yaml +++ /dev/null @@ -1,154 +0,0 @@ -- job: - name: coresight - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - parameters: - - string: - name: BUNDLE_STREAM_NAME - default: '/public/team/linaro/coresight/' - - string: - name: LAVA_SERVER - default: 'validation.linaro.org/RPC2/' - - string: - name: ROOTFS_BUILD_URL - default: 'http://releases.linaro.org/15.03/openembedded/images/minimal-armv7a/linaro-image-minimal-genericarmv7a-20150323-328.rootfs.tar.gz' - - string: - name: ROOTFS_BUILD_NUMBER - default: '328' - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: http://git.linaro.org/kernel/coresight.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - wipe-workspace: false - axes: - - axis: - type: dynamic - name: defconfig - values: - - defconfig_list - - axis: - type: slave - name: label - values: - - build - execution-strategy: - sequential: true - wrappers: - - timestamps - - build-name: - name: '#${BUILD_NUMBER}-${GIT_REVISION,length=8}' - - matrix-tie-parent: - node: build - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - rm -rf lci-build-tools - rm -rf builddir* - rm -rf out - rm -f *deb - git reset --hard - } - - export LANG=C - CCACHE_DIR="$HOME/ccache" - CCACHE_UNIFY=1 - CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros - export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS - export use_ccache=true - export make_install=true - export kernel_flavour="${defconfig}" - export use_config_fragment=1 - export conf_filenames="arch/arm/configs/${defconfig}_defconfig linaro/configs/coresight.conf" - export MAKE_DTBS=true - export tcbindir="${HOME}/srv/toolchain/arm-tc-15.02/bin" - export toolchain_url="http://releases.linaro.org/15.02/components/toolchain/binaries/arm-linux-gnueabihf/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf.tar.xz" - - case "${defconfig}" in - hisi) - export DEVICE_TYPE=d01 - ;; - vexpress) - export hwpack_type=vexpress - export DEVICE_TYPE=vexpress-tc2 - ;; - esac - - # Create coresight config fragment - mkdir -p linaro/configs - cat << EOF > linaro/configs/coresight.conf - CONFIG_CORESIGHT=y - CONFIG_CORESIGHT_LINKS_AND_SINKS=y - CONFIG_CORESIGHT_LINK_AND_SINK_TMC=y - CONFIG_CORESIGHT_SINK_TPIU=y - CONFIG_CORESIGHT_SINK_ETBV10=y - CONFIG_CORESIGHT_SOURCE_ETM3X=y - CONFIG_LBDAF=y - EOF - - test -d lci-build-tools || git clone https://git.linaro.org/git/ci/lci-build-tools.git lci-build-tools - bash lci-build-tools/jenkins_kernel_build_inst - - # Publish to snapshots - [ "${defconfig}" = "vexpress" ] && mv hwpack_linaro-${hwpack_type}* out/ - - ${HOME}/bin/linaro-cp --api_version 3 out kernel-hwpack/coresight/${defconfig}/${BUILD_NUMBER} - - CCACHE_DIR=${CCACHE_DIR} ccache -M 50G - CCACHE_DIR=${CCACHE_DIR} ccache -s - - KERNEL_URL=http://snapshots.linaro.org/kernel-hwpack/coresight/${defconfig}/${BUILD_NUMBER} - DTB_URL=${KERNEL_URL}/dtbs - [ "${defconfig}" = "vexpress" ] && HWPACK_BUILD_URL=${KERNEL_URL}/`ls out/hwpack_linaro-${hwpack_type}_*_armhf_supported.tar.gz |xargs basename` - - cat << EOF > post_build_lava_parameters - DEVICE_TYPE=${DEVICE_TYPE} - BUNDLE_STREAM_NAME=${BUNDLE_STREAM_NAME} - CUSTOM_JSON_URL=${JOB_URL}/ws/custom_lava_job_definition.json - LAVA_SERVER=${LAVA_SERVER} - KERNEL_URL=${KERNEL_URL} - DTB_URL=${DTB_URL} - HWPACK_BUILD_URL=${HWPACK_BUILD_URL} - hwpack_type=${hwpack_type} - EOF - - inject: - properties-file: post_build_lava_parameters - - shell: | - rm -rf configs lci-build-tools - git clone --depth 1 http://git.linaro.org/ci/lci-build-tools.git - git clone --depth 1 http://git.linaro.org/ci/job/configs.git - ./lci-build-tools/yaml-to-json.py configs/coresight/lava-job-definitions/${DEVICE_TYPE}/template.yaml > custom_lava_job_definition.json - - trigger-builds: - - project: 'post-build-lava' - property-file: post_build_lava_parameters - block: true - publishers: - - email: - recipients: 'mathieu.poirier@linaro.org fathi.boudra@linaro.org' - diff --git a/davidb-mcuboot.yaml b/davidb-mcuboot.yaml deleted file mode 100644 index 81f34ec8aa..0000000000 --- a/davidb-mcuboot.yaml +++ /dev/null @@ -1,71 +0,0 @@ -- job: - name: davidb-mcuboot - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: master - child-workspace: . - display-name: 'DELETE ME' - axes: - - axis: - type: slave - name: label - values: - - docker-xenial-amd64-13 - - axis: - type: user-defined - name: ZEPHYR_GCC_VARIANT - values: -# - gccarmemb - - zephyr - - axis: - type: user-defined - name: PLATFORM - values: - - frdm_k64f - - axis: - type: user-defined - name: PROJECT - values: - - mcuboot - wrappers: - - timestamps - builders: - - shell: - !include-raw: davidb-mcuboot/builders.sh - - inject: - properties-file: env_var_parameters - - build-name-setter: - template: '#${BUILD_NUMBER}-${GIT_COMMIT}' - macro: true - - linaro-publish-token - - shell: | - #!/bin/bash - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --api_version 3 \ - --link-latest \ - out/${PLATFORM} components/kernel/mcuboot/${ZEPHYR_GCC_VARIANT}/${PROJECT}/${PLATFORM}/${BUILD_NUMBER} - - rm -rf out - publishers: - - email: - recipients: 'david.brown@linaro.org' - diff --git a/davidb-mcuboot/builders.sh b/davidb-mcuboot/builders.sh deleted file mode 100755 index 7324daa332..0000000000 --- a/davidb-mcuboot/builders.sh +++ /dev/null @@ -1,79 +0,0 @@ -#!/bin/bash - -sudo apt-get -q=2 update -sudo apt-get -q=2 -y install ccache cmake g++-multilib gcc-arm-none-eabi git \ - python-requests python-serial python3-serial python3-ply \ - python3-yaml socat rsync device-tree-compiler \ - python3-crypto python3-pyasn1 python3-ecdsa python3-pip - -pip3 install --user pyelftools - -set -ex - -echo "Current directory: " -pwd -echo "Environment" -env - -# Build starts out in ${WORKSPACE} -# Clean any previous runs. -rm -rf ${WORKSPACE}/zephyr -rm -rf ${WORKSPACE}/mcuboot - -git clone --depth 1 https://chromium.googlesource.com/chromium/tools/depot_tools ${HOME}/depot_tools -PATH=${HOME}/depot_tools:${PATH} -git clone --depth 1 https://github.com/zephyrproject-rtos/zephyr ${WORKSPACE}/zephyr -git clone --depth 1 https://github.com/runtimeco/mcuboot ${WORKSPACE}/mcuboot -# (cd ${WORKSPACE}/mcuboot; git fetch origin pull/85/head; git checkout -b pull85 FETCH_HEAD) -echo "GIT_COMMIT=$(git rev-parse --short=8 HEAD)" > env_var_parameters - -# Toolchains are pre-installed and come from: -# https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -# https://github.com/zephyrproject-rtos/meta-zephyr-sdk/releases/download/0.9.1/zephyr-sdk-0.9.1-setup.run -# To install Zephyr SDK: ./zephyr-sdk-0.9.1-setup.run --quiet --nox11 -- <<< "${HOME}/srv/toolchain/zephyr-sdk-0.9.1" - -case "${ZEPHYR_GCC_VARIANT}" in - gccarmemb) - export GCCARMEMB_TOOLCHAIN_PATH="${HOME}/srv/toolchain/gcc-arm-none-eabi-6-2017-q2-update" - ;; - zephyr) - mkdir -p ${HOME}/opt - ln -sf ${HOME}/srv/toolchain/zephyr-sdk-0.9.1 ${HOME}/opt/zephyr-sdk-0.9.1 - export ZEPHYR_SDK_INSTALL_DIR="${HOME}/opt/zephyr-sdk-0.9.1" - ;; -esac - -# Set build environment variables -LANG=C -ZEPHYR_BASE=${WORKSPACE}/zephyr -export ZEPHYR_GCC_VARIANT=zephyr -PATH=${ZEPHYR_BASE}/scripts:${PATH} -export LANG ZEPHYR_BASE PATH -#CCACHE_DIR="${HOME}/srv/ccache" -#CCACHE_UNIFY=1 -#CCACHE_SLOPPINESS=file_macro,include_file_mtime,time_macros -#USE_CCACHE=1 -#export CCACHE_DIR CCACHE_UNIFY CCACHE_SLOPPINESS USE_CCACHE -env |grep '^ZEPHYR' - -echo "" -echo "########################################################################" -echo " Build" -echo "########################################################################" - -# make_wrapper=zmake -# [ "${PROJECT}" = "zephyr.js" ] && make_wrapper=zmake-z.js -# bash -x ${make_wrapper} ${PROJECT} BOARD=${PLATFORM} - -cd ${WORKSPACE} -source zephyr/zephyr-env.sh -cd ${WORKSPACE}/mcuboot/samples/zephyr -make full.bin BOARD=${PLATFORM} - -cd ${WORKSPACE} -mkdir -p out/${PLATFORM} -# TODO: Get a timestamp or something in this artifact. -mv mcuboot/samples/zephyr/full.bin ${WORKSPACE}/out/${PLATFORM} - -#CCACHE_DIR=${CCACHE_DIR} ccache -M 30G -#CCACHE_DIR=${CCACHE_DIR} ccache -s diff --git a/debian-arm64-rootfs.yaml b/debian-arm64-rootfs.yaml deleted file mode 100644 index d3756c4c40..0000000000 --- a/debian-arm64-rootfs.yaml +++ /dev/null @@ -1,94 +0,0 @@ -- job: - name: debian-arm64-rootfs - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-arm64 - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-arm64-${rootfs} builddir/ - cd builddir/jessie-arm64-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-arm64-${rootfs}/linaro-jessie-* out - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${rootfs}-arm64/${BUILD_NUMBER} - publishers: - - trigger: - project: '96boards-reference-platform-debian' - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/debian-armhf-rootfs.yaml b/debian-armhf-rootfs.yaml deleted file mode 100644 index 5c72150092..0000000000 --- a/debian-armhf-rootfs.yaml +++ /dev/null @@ -1,92 +0,0 @@ -- job: - name: debian-armhf-rootfs - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - artifactNumToKeep: 1 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: - after: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - docker-jessie-armhf - - axis: - type: user-defined - name: rootfs - values: - - alip - - developer - - installer - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - sudo apt-get update - sudo apt-get install -y --no-install-recommends cpio debootstrap live-build python-requests uuid-runtime - sudo dpkg -i --force-all packages/live-build_3.0.5-1linaro1_all.deb - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-armhf-${rootfs} builddir/ - cd builddir/jessie-armhf-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-armhf-${rootfs}/linaro-jessie-* out - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py --api_version 3 --link-latest out debian/images/${rootfs}-armhf/${BUILD_NUMBER} - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/debian-x86-rootfs.yaml b/debian-x86-rootfs.yaml deleted file mode 100644 index 73c2f21a41..0000000000 --- a/debian-x86-rootfs.yaml +++ /dev/null @@ -1,82 +0,0 @@ -- job: - name: debian-x86-rootfs - project-type: matrix - defaults: global - logrotate: - daysToKeep: 30 - numToKeep: 30 - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - linaro: - - job-build - - job-cancel - disabled: true - node: build - child-workspace: . - display-name: 'DELETE ME' - scm: - - git: - url: git://git.linaro.org/ci/ubuntu-build-service.git - refspec: +refs/heads/master:refs/remotes/origin/master - name: origin - branches: - - refs/heads/master - skip-tag: true - shallow-clone: true - clean: true - wipe-workspace: false - axes: - - axis: - type: slave - name: label - values: - - build - - axis: - type: user-defined - name: rootfs - values: - - nano - execution-strategy: - sequential: true - wrappers: - - timestamps - - matrix-tie-parent: - node: build - - timeout: - timeout: 120 - builders: - - linaro-publish-token - - shell: | - #!/bin/bash - - set -ex - - trap cleanup_exit INT TERM EXIT - - cleanup_exit() - { - cd ${WORKSPACE} - sudo umount builddir - } - - dpkg -s qemu-user-static |grep '^Version' - dpkg -s live-build |grep '^Version' - - test -d builddir || mkdir builddir - sudo mount -t tmpfs -o size=6G tmpfs builddir - cp -a jessie-x86-${rootfs} builddir/ - cd builddir/jessie-x86-${rootfs} - ./configure - make - - cd ${WORKSPACE} - sudo rm -rf out && mkdir out - sudo mv builddir/jessie-x86-${rootfs}/linaro-jessie-* out - time python ${HOME}/bin/linaro-cp --api_version 3 --link-latest out debian/images/${rootfs}-x86/${BUILD_NUMBER} - publishers: - - email: - recipients: 'fathi.boudra@linaro.org riku.voipio@linaro.org' - diff --git a/k8s-auxiliary.yaml b/k8s-auxiliary.yaml deleted file mode 100644 index 8ad1af9fc6..0000000000 --- a/k8s-auxiliary.yaml +++ /dev/null @@ -1,47 +0,0 @@ -- job: - name: k8s-auxiliary - project-type: freestyle - defaults: global - properties: - - authorization: - anonymous: - - job-discover - linaro: - - job-read - - job-extended-read - - build-discarder: - days-to-keep: 30 - num-to-keep: 30 - disabled: true - node: build-arm64 - concurrent: false - display-name: 'DELETE ME' - scm: - - git: - url: https://github.com/yibo-cai/autoscaler.git - branches: - - origin/arm64 - basedir: git-autoscaler - skip-tag: true - shallow-clone: true - wipe-workspace: false - triggers: - - pollscm: 'H * * * *' - wrappers: - - timestamps - - copy-to-slave: - includes: - - config.json - relative-to: 'somewhereElse' - - credentials-binding: - - text: - credential-id: DOCKER_AUTH - variable: DOCKER_AUTH - builders: - - linaro-publish-token - - shell: - !include-raw: k8s/builders.sh - publishers: - - email: - recipients: 'yibo.cai@linaro.org riku.voipio@linaro.org fathi.boudra@linaro.org' - diff --git a/k8s/builders.sh b/k8s/builders.sh deleted file mode 100755 index 264caa5f1b..0000000000 --- a/k8s/builders.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -ex - -trap cleanup_exit INT TERM EXIT - -cleanup_exit() -{ - rm -rf ${HOME}/.docker -} - -mkdir -p ${HOME}/.docker -sed -e "s|\${DOCKER_AUTH}|${DOCKER_AUTH}|" < ${WORKSPACE}/config.json > ${HOME}/.docker/config.json -chmod 0600 ${HOME}/.docker/config.json - -# Build addon-resizer -pushd git-autoscaler/addon-resizer -rm -f .docker-tag -make container ARCH=arm64 -# push to linaro/addon-resizer-arm64:2.1 -docker push $(cat .docker-tag) -popd diff --git a/kselftest.yaml b/kselftest.yaml deleted file mode 100644 index 1180713f58..0000000000 --- a/kselftest.yaml +++ /dev/null @@ -1,72 +0,0 @@ -- job: - name: kselftest - project-type: matrix - defaults: global - properties: - - authorization: - anonymous: - - job-read - - job-extended-read - - job-workspace - linaro: - - job-read - - job-extended-read - - job-build - - job-cancel - - build-discarder: - days-to-keep: 90 - num-to-keep: 90 - parameters: - - string: - name: KSELFTEST_URL - default: 'https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git' - - string: - name: KSELFTEST_BRANCH - default: 'master' - disabled: true - node: master - display-name: 'DELETE ME' - axes: - - axis: - type: slave - name: label - values: - - docker-xenial-amd64 - - docker-xenial-arm64 - - docker-xenial-armhf - execution-strategy: - sequential: false - wrappers: - - timestamps - builders: - - shell: - !include-raw: kselftest/builders.sh - - build-name-setter: - name: 'version.txt' - file: true - - linaro-publish-token - - shell: | - #!/bin/bash - - deb_host_arch=$(dpkg-architecture -qDEB_HOST_ARCH) - case "${deb_host_arch}" in - amd64) - export ARCH=x86_64 - ;; - arm64) - export ARCH=arm64 - ;; - armhf) - export ARCH=arm - ;; - esac - - # Publish - test -d ${HOME}/bin || mkdir ${HOME}/bin - wget -q https://git.linaro.org/ci/publishing-api.git/blob_plain/HEAD:/linaro-cp.py -O ${HOME}/bin/linaro-cp.py - time python ${HOME}/bin/linaro-cp.py \ - --server ${PUBLISH_SERVER} \ - --link-latest \ - tools/testing/selftests/out/ \ - components/kernel/kselftest/${ARCH}/${BUILD_NUMBER} - diff --git a/kselftest/builders.sh b/kselftest/builders.sh deleted file mode 100755 index 0abfb6b902..0000000000 --- a/kselftest/builders.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update; then - echo "INFO: apt update error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 update || true -fi - -pkg_list="git libcap-dev libcap-ng-dev libelf-dev libfuse-dev libmount-dev libpopt-dev pkg-config pxz rsync" -deb_host_arch=$(dpkg-architecture -qDEB_HOST_ARCH) -case "${deb_host_arch}" in - amd64) - export ARCH=x86_64 - pkg_list+=" libnuma-dev" - ;; - arm64) - export ARCH=arm64 - pkg_list+=" libnuma-dev" - ;; - armhf) - export ARCH=arm - ;; -esac - -if ! sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list}; then - echo "INFO: apt install error - try again in a moment" - sleep 15 - sudo DEBIAN_FRONTEND=noninteractive apt-get -q=2 install -y ${pkg_list} -fi - -KSELFTEST_URL=${KSELFTEST_URL:-"https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git"} -KSELFTEST_BRANCH=${KSELFTEST_BRANCH:-"master"} -WORKSPACE=${WORKSPACE:-"${PWD}"} - -set -x - -git clone -b ${KSELFTEST_BRANCH} ${KSELFTEST_URL} ${WORKSPACE} -git_describe=$(git describe) -echo "#${BUILD_NUMBER}-${git_describe}" > version.txt - -make ARCH=${ARCH} headers_install -export INSTALL_PATH=kselftest -make ARCH=${ARCH} -C tools/testing/selftests -make ARCH=${ARCH} -C tools/testing/selftests install - -mkdir -p tools/testing/selftests/out -cd tools/testing/selftests -tar -I pxz -cf out/kselftest_${ARCH}_${git_describe}.tar.xz kselftest - -# Build information -cat > out/HEADER.textile << EOF - -h4. kselftest - -Build description: -* Build URL: "${BUILD_URL}":${BUILD_URL} -* Kernel URL: ${KSELFTEST_URL} -* Kernel branch: ${KSELFTEST_BRANCH} -* Kernel commit: ${git_describe} -EOF - -cat > out/build_config.json <- lava-debian-busybox-armhf-initramfs build instructions" - ================================================ - - This initramfs is based on busybox-static. - dpkg is available as a busybox applet but apt is not. - Other useful busybox applets include wget and ifconfig. - See https://packages.debian.org/jessie/busybox-static - - https://ci.linaro.org/view/lava-ci/job/lava-debian-busybox-armhf-initramfs/ - - The script used by jenkins is available here: - https://git.linaro.org/lava-team/refactoring.git/blob/HEAD:/scripts/busybox-initramfs.sh - - https://git.linaro.org/ci/job/configs.git/blob/HEAD:/lava-debian-busybox-armhf-initramfs.yaml - The base system is a Debian Jessie VM. - - The initramfs uses a prompt of "root@busybox: #" - -