mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
test build
Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
parent
db01df7bdb
commit
7eece3ef95
14 changed files with 22 additions and 61 deletions
4
.github/workflows/rest-sample.yaml
vendored
4
.github/workflows/rest-sample.yaml
vendored
|
|
@ -10,9 +10,9 @@ env:
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
rest-sample:
|
||||
|
|
|
|||
4
.github/workflows/test-network-basic.yaml
vendored
4
.github/workflows/test-network-basic.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Basic tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
basic:
|
||||
|
|
|
|||
4
.github/workflows/test-network-events.yaml
vendored
4
.github/workflows/test-network-events.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Events tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
events:
|
||||
|
|
|
|||
4
.github/workflows/test-network-gateway.yaml
vendored
4
.github/workflows/test-network-gateway.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Gateway tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
gateway:
|
||||
|
|
|
|||
4
.github/workflows/test-network-hsm.yaml
vendored
4
.github/workflows/test-network-hsm.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network HSM tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
run:
|
||||
hsm:
|
||||
|
|
|
|||
4
.github/workflows/test-network-k8s.yaml
vendored
4
.github/workflows/test-network-k8s.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is testing the Kubernetes Test Network
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
ccaas-java:
|
||||
|
|
|
|||
4
.github/workflows/test-network-ledger.yaml
vendored
4
.github/workflows/test-network-ledger.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Ledger tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
basic:
|
||||
|
|
|
|||
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Off Chain tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
off-chain:
|
||||
|
|
|
|||
4
.github/workflows/test-network-private.yaml
vendored
4
.github/workflows/test-network-private.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Private tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
private:
|
||||
|
|
|
|||
4
.github/workflows/test-network-sbe.yaml
vendored
4
.github/workflows/test-network-sbe.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network SBE tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
SBE:
|
||||
|
|
|
|||
4
.github/workflows/test-network-secured.yaml
vendored
4
.github/workflows/test-network-secured.yaml
vendored
|
|
@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network Secured tests
|
|||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
branches: [ "foobar" ]
|
||||
|
||||
jobs:
|
||||
secured:
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
steps:
|
||||
- script: |
|
||||
sudo apt install -y softhsm2
|
||||
displayName: Install SoftHSM
|
||||
- script: |
|
||||
echo directories.tokendir = /tmp > $HOME/softhsm2.conf
|
||||
export SOFTHSM2_CONF=$HOME/softhsm2.conf
|
||||
softhsm2-util --init-token --slot 0 --label "ForFabric" --pin 98765432 --so-pin 1234
|
||||
displayName: Set up SoftHSM
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(NODE_VER)
|
||||
displayName: Install Node.js
|
||||
- script: curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-linux-amd64-${FABRIC_VERSION}-stable.tar.gz | tar xz
|
||||
displayName: Download Fabric CLI
|
||||
- script: curl -L --retry 5 --retry-delay 3 https://hyperledger.jfrog.io/hyperledger/fabric-binaries/hyperledger-fabric-ca-linux-amd64-${FABRIC_VERSION}-stable.tar.gz | tar xz
|
||||
displayName: Download Fabric CA CLI
|
||||
- script: curl https://raw.githubusercontent.com/kadwanev/retry/master/retry -o ./bin/retry && chmod +x ./bin/retry
|
||||
displayName: Install retry CLI
|
||||
- script: ./ci/scripts/pullFabricImages.sh
|
||||
displayName: Pull Fabric Docker Imagess
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
steps:
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: $(NODE_VER)
|
||||
displayName: Install Node.js
|
||||
Loading…
Reference in a new issue