Adding simplified pipelines
tf-m-static:
* Runs cppcheck and checkpatch jobs
* Triggers tf-m-build-and-test
tf-m-cppcheck/checkpatch:
* Run cppcheck and checkpatch accordingly
tf-m-build-config:
* Builds a single configuration of tf-m.
tf-m-build-and-test:
* Can be used to trigger a many configurations of tf-m at once.
* Configuration names generated from a python script
* Parameters then associated from this configuration name and triggers
downstream builds of tf-m-build-config
tf-m-build-docs:
* Builds reference and user guide
tf-m-lava-submit:
* Submits a single job to LAVA
tf-m-nightly:
* Same as tf-m-build-and-test that triggers nightly.
* Runs more configs
Change-Id: I858bbba03068e29c018a306e79116978af2300db
diff --git a/tf-m-static.yaml b/tf-m-static.yaml
new file mode 100644
index 0000000..425e5ee
--- /dev/null
+++ b/tf-m-static.yaml
@@ -0,0 +1,98 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+- job:
+ name: tf-m-static
+ description: 'Triggers static checks on Gerrit trigger, then triggers build job after.'
+ project-type: pipeline
+ disabled: false
+ sandbox: true
+ concurrent: true
+ properties:
+ - build-discarder:
+ days-to-keep: 15
+ num-to-keep: 45
+ - authorization:
+ suihkulokki:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ minosgalanakis:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ bhcopeland:
+ - job-read
+ - job-extended-read
+ - job-build
+ - job-cancel
+ parameters:
+ - string:
+ name: 'CODE_REPO'
+ default: 'https://review.trustedfirmware.org/trusted-firmware-m'
+ - string:
+ name: 'CI_SCRIPTS_REPO'
+ default: 'https://review.trustedfirmware.org/ci/tf-m-ci-scripts'
+ - string:
+ name: 'GERRIT_REFSPEC'
+ default: 'refs/heads/master'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_BRANCH'
+ default: 'master'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_HOST'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_CHANGE_NUMBER'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'GERRIT_PATCHSET_REVISION'
+ description: |
+ For use when triggering with unmerged Gerrit changes.
+ - string:
+ name: 'MBEDCRYPTO_VERSION'
+ default: 'mbedcrypto-3.0.1'
+ - string:
+ name: 'MBEDCRYPTO_URL'
+ default: 'https://github.com/ARMmbed/mbed-crypto.git'
+ - string:
+ name: 'CMSIS_VERSION'
+ default: '5.5.0'
+ - string:
+ name: 'CI_SCRIPTS_BRANCH'
+ default: 'master'
+ triggers:
+ - gerrit:
+ trigger-on:
+ - comment-added-event:
+ approval-category: 'Allow-CI'
+ approval-value: '1'
+ projects:
+ - project-compare-type: 'PLAIN'
+ project-pattern: 'iot-sw/tf-m/internal/tf-m'
+ branches:
+ - branch-compare-type: 'REG_EXP'
+ branch-pattern: 'master'
+ notification-level: 'OWNER_REVIEWERS'
+ custom-url: $RUN_DISPLAY_URL
+ pipeline-scm:
+ scm:
+ - git:
+ url: '$CI_SCRIPTS_REPO'
+ branches:
+ - '$CI_SCRIPTS_BRANCH'
+ credentials-id: GIT_SSH_KEY
+ wipe-workspace: false
+ script-path: jenkins/static.jpl