Add mbed-tls-restricted-pr-test-parametrized.yaml for test
Signed-off-by: Arthur She <arthur.she@linaro.org>
Change-Id: I9810325a72eef934074a60290855c197bde20009
diff --git a/mbed-tls-restricted-pr-test-parametrized.yaml b/mbed-tls-restricted-pr-test-parametrized.yaml
new file mode 100644
index 0000000..6d2b377
--- /dev/null
+++ b/mbed-tls-restricted-pr-test-parametrized.yaml
@@ -0,0 +1,144 @@
+- job:
+ concurrent: true
+ description: Mbed TLS parametrized test PR job
+ disabled: false
+ name: mbed-tls-restricted-pr-test-parametrized
+ parameters:
+ - string:
+ default: development
+ description: Set this to the branch you would be targeting for a PR
+ name: CHANGE_TARGET
+ trim: 'false'
+ - string:
+ default: ssh://git@github.com/Mbed-TLS/mbedtls-restricted.git
+ description: Enter mbed TLS repo/fork
+ name: MBED_TLS_REPO
+ trim: 'true'
+ - string:
+ default: development-restricted
+ description: Enter branch or commit to test
+ name: MBED_TLS_BRANCH
+ trim: 'false'
+ - string:
+ default: ''
+ description: |-
+ Enter Mbed Crypto repo/fork. Note this *ONLY* influences the Mbed OS tests at this time.
+
+ Optional - if omitted will use what's embedded in the Mbed TLS submodule.
+ name: MBED_CRYPTO_REPO
+ trim: 'false'
+ - string:
+ default: ''
+ description: |-
+ Enter Mbed Crypto branch. Note this *ONLY* influences the Mbed OS tests at this time.
+
+ Optional - if omitted will use what's embedded in the Mbed TLS submodule.
+ name: MBED_CRYPTO_BRANCH
+ trim: 'false'
+ - string:
+ default: https://github.com/ARMmbed/mbed-os.git
+ description: Enter the Mbed OS repo or fork
+ name: MBED_OS_REPO
+ trim: 'false'
+ - string:
+ default: master
+ description: |-
+ Enter branch or commit to test.
+
+ By default we test with the HEAD of the master branch, which is NOT a fixed release.
+ name: MBED_OS_BRANCH
+ trim: 'false'
+ - string:
+ default: https://github.com/ARMmbed/mbed-os-example-tls.git
+ description: |-
+ Enter the Mbed OS examples repo or fork.
+
+ This defaults to the main repository the examples are held in.
+ name: MBED_OS_TLS_EXAMPLES_REPO
+ trim: 'false'
+ - string:
+ default: master
+ description: |-
+ Enter branch or commit to test.
+
+ This defaults to the HEAD of the master branch.
+ name: MBED_OS_TLS_EXAMPLES_BRANCH
+ trim: 'false'
+ - bool:
+ default: false
+ description: Run the basic linux PR job scripts.
+ name: RUN_LINUX_SCRIPTS
+ - bool:
+ default: false
+ description: Run the basic FreeBSD PR job scripts
+ name: RUN_FREEBSD
+ - bool:
+ default: false
+ description: Run Windows tests
+ name: RUN_WINDOWS_TEST
+ - bool:
+ default: false
+ description: Run all.sh tests
+ name: RUN_ALL_SH
+ - bool:
+ default: false
+ description: Run the ABI checking test
+ name: RUN_ABI_CHECK
+ - bool:
+ default: false
+ description: Import mbed TLS into mbed-os master and test mbed TLS authcrypt
+ example.
+ name: TEST_MBED_OS_AUTHCRYPT_EXAMPLE
+ - bool:
+ default: false
+ description: Import mbed TLS into mbed-os master and test mbed TLS benchmark
+ example.
+ name: TEST_MBED_OS_BENCHMARK_EXAMPLE
+ - bool:
+ default: false
+ description: Import mbed TLS into mbed-os master and test mbed TLS hashing
+ example.
+ name: TEST_MBED_OS_HASHING_EXAMPLE
+ - bool:
+ default: false
+ description: Import mbed TLS into mbed-os master and test mbed TLS tls-client
+ example.
+ name: TEST_MBED_OS_TLS_CLIENT_EXAMPLE
+ - git-parameter:
+ name: TEST_BRANCH
+ description: Branch or tag in https://github.com/Mbed-TLS/mbedtls-test.git (forks are not supported)
+ type: PT_BRANCH_TAG
+ quickFilterEnabled: True
+ defaultValue: master
+ pipeline-scm:
+ lightweight-checkout: false
+ scm:
+ - git:
+ branches:
+ - ${TEST_BRANCH}
+ url: https://github.com/Mbed-TLS/mbedtls-test.git
+ script-path: vars/mbedtls-pr-test-Jenkinsfile
+ project-type: pipeline
+ properties:
+ - speed-durability:
+ hint: performance-optimized
+ - build-blocker:
+ block-level: GLOBAL
+ blocking-jobs: []
+ queue-scanning: DISABLED
+ use-build-blocker: false
+ - build-discarder:
+ artifact-days-to-keep: -1
+ artifact-num-to-keep: -1
+ days-to-keep: 60
+ num-to-keep: 100
+ - github:
+ url: https://github.com/Mbed-TLS/mbedtls
+ - inject:
+ enabled: true
+ keep-build-variables: true
+ keep-system-variables: true
+ load-from-master: false
+ override-build-parameters: false
+ properties-content: GIT_CREDENTIALS_ID=mbedtls-github-ssh
+ triggers: []