test build

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-11-15 07:39:44 -05:00
parent db01df7bdb
commit 7eece3ef95
14 changed files with 22 additions and 61 deletions

View file

@ -10,9 +10,9 @@ env:
on:
workflow_dispatch:
push:
branches: [ "main" ]
branches: [ "foobar" ]
pull_request:
branches: [ "main" ]
branches: [ "foobar" ]
jobs:
rest-sample:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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:

View file

@ -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

View file

@ -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

View file

@ -1,9 +0,0 @@
#
# SPDX-License-Identifier: Apache-2.0
#
steps:
- task: NodeTool@0
inputs:
versionSpec: $(NODE_VER)
displayName: Install Node.js