From 9d2e4d09b0925af79ab159f7245b0c98e36de20a Mon Sep 17 00:00:00 2001 From: sapthasurendran Date: Tue, 28 Jun 2022 21:21:07 +0530 Subject: [PATCH] added pkcs11 enabled ca Signed-off-by: sapthasurendran --- ci/azure-pipelines.yml | 1 + ci/templates/install_deps_hsm_ca.yml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 ci/templates/install_deps_hsm_ca.yml diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index c8e0c684..0776f5f5 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -124,6 +124,7 @@ jobs: steps: - template: templates/install-deps.yml + - template: templates/install_deps_hsm_ca.yml - script: sudo apt-get install softhsm2 displayName: Install SoftHSM - script: ../ci/scripts/run-test-network-basic.sh diff --git a/ci/templates/install_deps_hsm_ca.yml b/ci/templates/install_deps_hsm_ca.yml new file mode 100644 index 00000000..eb58bc3e --- /dev/null +++ b/ci/templates/install_deps_hsm_ca.yml @@ -0,0 +1,8 @@ +# +# SPDX-License-Identifier: Apache-2.0 +# + +steps: + - template: install_deps_hsm.yml + - script: go install -tags pkcs11 github.com/hyperledger/fabric-ca/cmd/fabric-ca-client@latest + displayName: Install Fabric-ca-client with HSM Support \ No newline at end of file