Add job tf-m-extra-build

Add tf-m-extra-build job to build some extra configs in Open CI.
This job aims to cover all platforms supported by TF-M.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: I4845612e6bc9605c42a48800c623bacea474c924
diff --git a/tf-m-extra-build.yaml b/tf-m-extra-build.yaml
new file mode 100644
index 0000000..ee550d0
--- /dev/null
+++ b/tf-m-extra-build.yaml
@@ -0,0 +1,119 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2021, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+- job:
+    name: tf-m-extra-build
+    description: 'Build extra configurations.'
+    project-type: pipeline
+    disabled: false
+    sandbox: true
+    concurrent: true
+    properties:
+      - build-discarder:
+          days-to-keep: 15
+          num-to-keep: 45
+      - authorization:
+          !include: authorization.yaml.inc
+    parameters:
+      - string:
+          name: 'FILTER_GROUP'
+          default: 'arm_corstone1000 cypress_psoc64 laird_bl5340 nordic_nrf5340dk nordic_nrf9160dk nxp_lpcxpresso55s69 stm_b_u585i_iot02a stm_nucleo_l552ze_q stm_stm32l562e_dk'
+          description: |
+            Filter to a group of configurations as recognised by configs.py
+      - string:
+          name: 'CODE_REPO'
+          default: 'https://git.trustedfirmware.org/TF-M/trusted-firmware-m'
+          description: |
+            Change to https://review.trustedfirmware.org/TF-M/trusted-firmware-m use when triggering with unmerged Gerrit changes.
+      - string:
+          name: 'CI_SCRIPTS_REPO'
+          default: 'https://git.trustedfirmware.org/ci/tf-m-ci-scripts'
+      - string:
+          name: 'CI_SCRIPTS_BRANCH'
+          default: 'master'
+      - 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: 'MBEDTLS_VERSION'
+          default: 'mbedtls-3.0.0'
+      - string:
+          name: 'MBEDTLS_URL'
+          default: 'https://git.trustedfirmware.org/mirror/mbed-tls.git'
+      - string:
+          name: 'LAVA_URL'
+          default: 'https://tf.validation.linaro.org'
+      - string:
+          name: 'CODE_COVERAGE_EN'
+          default: 'FALSE'
+      - string:
+          name: 'LAVA_CREDENTIALS'
+          default: 'LAVA_CREDENTIALS'
+          description: "Name of Jenkins credential for authentication with LAVA."
+      - string:
+          name: 'EMAIL_NOTIFICATION'
+          default: ''
+      - string:
+          name: 'SQUAD_CONFIGURATIONS'
+          default: ''
+          description: 'Reference configurations whose metrics will be sent to a SQUAD Dashboard'
+      - string:
+          name: 'MCUBOOT_REFSPEC'
+          default: 'v1.8.0'
+          description: |
+            Specify which MCUboot version to use
+            refs/heads/master    : Pick up latest master
+            refs/tags/<TAG_NAME> : Pick up a tagged version
+      - string:
+          name: 'MCUBOOT_URL'
+          default: 'https://git.trustedfirmware.org/mirror/mcuboot.git'
+      - string:
+          name: 'TFM_TESTS_URL'
+          default: 'https://git.trustedfirmware.org/TF-M/tf-m-tests.git'
+      - string:
+          name: 'TFM_TESTS_REFSPEC'
+          default: 'refs/heads/master'
+      - string:
+          name: 'PSA_ARCH_TESTS_URL'
+          default: 'https://git.trustedfirmware.org/mirror/psa-arch-tests.git'
+      - string:
+          name: 'PSA_ARCH_TESTS_VERSION'
+          default: 'v21.10_API1.3_ADAC_ALPHA-1'
+      - string:
+          name: SHARE_FOLDER
+          default: '/srv/shared/${JOB_NAME}/${BUILD_NUMBER}'
+          description: 'Folder containing shared repositories for downstream pipeline jobs'
+    wrappers:
+        - timestamps
+    pipeline-scm:
+      scm:
+        - git:
+            url: '$CI_SCRIPTS_REPO'
+            branches:
+            - '$CI_SCRIPTS_BRANCH'
+            credentials-id: GIT_SSH_KEY
+            wipe-workspace: false
+      script-path: jenkins/ci.jpl