mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
Try BuildJet
Add auto-cancel Signed-off-by: Ry Jones <ry@linux.com>
This commit is contained in:
parent
67ae2c9d02
commit
95a030d9d3
13 changed files with 76 additions and 24 deletions
14
.github/workflows/lint.yaml
vendored
14
.github/workflows/lint.yaml
vendored
|
|
@ -11,6 +11,10 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VER: 1.19.6
|
GO_VER: 1.19.6
|
||||||
NODE_VER: 16.x
|
NODE_VER: 16.x
|
||||||
|
|
@ -18,7 +22,7 @@ env:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
go:
|
go:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -28,7 +32,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-go.sh
|
- run: ci/scripts/lint-go.sh
|
||||||
|
|
||||||
typescript:
|
typescript:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
@ -37,7 +41,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-typescript.sh
|
- run: ci/scripts/lint-typescript.sh
|
||||||
|
|
||||||
javascript:
|
javascript:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
@ -46,7 +50,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-javascript.sh
|
- run: ci/scripts/lint-javascript.sh
|
||||||
|
|
||||||
java:
|
java:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-java@v3
|
- uses: actions/setup-java@v3
|
||||||
|
|
@ -56,7 +60,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-java.sh
|
- run: ci/scripts/lint-java.sh
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: ci/scripts/lint-shell.sh
|
- run: ci/scripts/lint-shell.sh
|
||||||
|
|
|
||||||
6
.github/workflows/rest-sample.yaml
vendored
6
.github/workflows/rest-sample.yaml
vendored
|
|
@ -16,9 +16,13 @@ on:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
paths: [ "asset-transfer-basic/rest-api-typescript/**" ]
|
paths: [ "asset-transfer-basic/rest-api-typescript/**" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-sample:
|
test-sample:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
14
.github/workflows/test-fsat.yaml
vendored
14
.github/workflows/test-fsat.yaml
vendored
|
|
@ -8,9 +8,13 @@ on:
|
||||||
- "main"
|
- "main"
|
||||||
- "release-2.5"
|
- "release-2.5"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ansible:
|
ansible:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -19,7 +23,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
appdev:
|
appdev:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -28,7 +32,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
chaincode:
|
chaincode:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -37,7 +41,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -46,7 +50,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
console:
|
console:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-basic.yaml
vendored
6
.github/workflows/test-network-basic.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-events.yaml
vendored
6
.github/workflows/test-network-events.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
events:
|
events:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-gateway.yaml
vendored
6
.github/workflows/test-network-gateway.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gateway:
|
gateway:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-hsm.yaml
vendored
6
.github/workflows/test-network-hsm.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hsm:
|
hsm:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
12
.github/workflows/test-network-k8s.yaml
vendored
12
.github/workflows/test-network-k8s.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ccaas-java:
|
ccaas-java:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -25,7 +29,7 @@ jobs:
|
||||||
CHAINCODE_LANGUAGE: java
|
CHAINCODE_LANGUAGE: java
|
||||||
|
|
||||||
ccaas-external:
|
ccaas-external:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -37,7 +41,7 @@ jobs:
|
||||||
CHAINCODE_LANGUAGE: external
|
CHAINCODE_LANGUAGE: external
|
||||||
|
|
||||||
k8s-builder:
|
k8s-builder:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
@ -50,7 +54,7 @@ jobs:
|
||||||
CHAINCODE_BUILDER: k8s
|
CHAINCODE_BUILDER: k8s
|
||||||
|
|
||||||
multi-namespace:
|
multi-namespace:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-ledger.yaml
vendored
6
.github/workflows/test-network-ledger.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
off-chain:
|
off-chain:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-private.yaml
vendored
6
.github/workflows/test-network-private.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
private:
|
private:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-sbe.yaml
vendored
6
.github/workflows/test-network-sbe.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
SBE:
|
SBE:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
6
.github/workflows/test-network-secured.yaml
vendored
6
.github/workflows/test-network-secured.yaml
vendored
|
|
@ -11,9 +11,13 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "main", "release-2.5" ]
|
branches: [ "main", "release-2.5" ]
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
secured:
|
secured:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: buildjet-2vcpu-ubuntu-2204
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue