mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 15:35:09 +00:00
GHA: Use ubuntu-20.04 for local forks
GHA: Use ubuntu-20.04 for local forks since local forks don't have access to fabric-ubuntu-20.04. Signed-off-by: David Enyeart <enyeart@us.ibm.com>
This commit is contained in:
parent
4763bcae8d
commit
2fa83c957a
15 changed files with 30 additions and 30 deletions
4
.github/actions/fsat-setup/action.yaml
vendored
4
.github/actions/fsat-setup/action.yaml
vendored
|
|
@ -12,10 +12,10 @@ inputs:
|
||||||
default: v0.25.3
|
default: v0.25.3
|
||||||
fabric-version:
|
fabric-version:
|
||||||
description: Version of Hyperledger Fabric
|
description: Version of Hyperledger Fabric
|
||||||
default: '2.5.4'
|
default: '2.5.7'
|
||||||
ca-version:
|
ca-version:
|
||||||
description: Version of Hyperledger Fabric CA
|
description: Version of Hyperledger Fabric CA
|
||||||
default: '1.5.7'
|
default: '1.5.10'
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ description: Set up the Test Network Runtime
|
||||||
inputs:
|
inputs:
|
||||||
go-version:
|
go-version:
|
||||||
description: Version of go
|
description: Version of go
|
||||||
default: '1.20'
|
default: '1.21'
|
||||||
node-version:
|
node-version:
|
||||||
description: Version of node
|
description: Version of node
|
||||||
default: 18.x
|
default: 18.x
|
||||||
|
|
@ -12,10 +12,10 @@ inputs:
|
||||||
default: 11.x
|
default: 11.x
|
||||||
fabric-version:
|
fabric-version:
|
||||||
description: Version of Hyperledger Fabric
|
description: Version of Hyperledger Fabric
|
||||||
default: 2.5.4
|
default: 2.5.7
|
||||||
ca-version:
|
ca-version:
|
||||||
description: Version of Hyperledger Fabric CA
|
description: Version of Hyperledger Fabric CA
|
||||||
default: 1.5.7
|
default: 1.5.10
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
|
|
||||||
12
.github/workflows/lint.yaml
vendored
12
.github/workflows/lint.yaml
vendored
|
|
@ -16,13 +16,13 @@ concurrency:
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GO_VER: '1.20'
|
GO_VER: '1.21'
|
||||||
NODE_VER: 18.x
|
NODE_VER: 18.x
|
||||||
JAVA_VER: 11.x
|
JAVA_VER: 11.x
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
go:
|
go:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-go.sh
|
- run: ci/scripts/lint-go.sh
|
||||||
|
|
||||||
typescript:
|
typescript:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-typescript.sh
|
- run: ci/scripts/lint-typescript.sh
|
||||||
|
|
||||||
javascript:
|
javascript:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-javascript.sh
|
- run: ci/scripts/lint-javascript.sh
|
||||||
|
|
||||||
java:
|
java:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
|
|
@ -60,7 +60,7 @@ jobs:
|
||||||
- run: ci/scripts/lint-java.sh
|
- run: ci/scripts/lint-java.sh
|
||||||
|
|
||||||
shell:
|
shell:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: ci/scripts/lint-shell.sh
|
- run: ci/scripts/lint-shell.sh
|
||||||
|
|
|
||||||
2
.github/workflows/rest-sample.yaml
vendored
2
.github/workflows/rest-sample.yaml
vendored
|
|
@ -22,7 +22,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test-sample:
|
test-sample:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|
|
||||||
10
.github/workflows/test-fsat.yaml
vendored
10
.github/workflows/test-fsat.yaml
vendored
|
|
@ -14,7 +14,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ansible:
|
ansible:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
appdev:
|
appdev:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
chaincode:
|
chaincode:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
cloud:
|
cloud:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
@ -50,7 +50,7 @@ jobs:
|
||||||
working-directory: full-stack-asset-transfer-guide
|
working-directory: full-stack-asset-transfer-guide
|
||||||
|
|
||||||
console:
|
console:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Full Stack Runtime
|
- name: Set up Full Stack Runtime
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-basic.yaml
vendored
2
.github/workflows/test-network-basic.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-events.yaml
vendored
2
.github/workflows/test-network-events.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
events:
|
events:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-gateway.yaml
vendored
2
.github/workflows/test-network-gateway.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
gateway:
|
gateway:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-hsm.yaml
vendored
2
.github/workflows/test-network-hsm.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
hsm:
|
hsm:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
8
.github/workflows/test-network-k8s.yaml
vendored
8
.github/workflows/test-network-k8s.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ccaas-java:
|
ccaas-java:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
CHAINCODE_LANGUAGE: java
|
CHAINCODE_LANGUAGE: java
|
||||||
|
|
||||||
ccaas-external:
|
ccaas-external:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
CHAINCODE_LANGUAGE: external
|
CHAINCODE_LANGUAGE: external
|
||||||
|
|
||||||
k8s-builder:
|
k8s-builder:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
CHAINCODE_BUILDER: k8s
|
CHAINCODE_BUILDER: k8s
|
||||||
|
|
||||||
multi-namespace:
|
multi-namespace:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-ledger.yaml
vendored
2
.github/workflows/test-network-ledger.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
basic:
|
basic:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
off-chain:
|
off-chain:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-private.yaml
vendored
2
.github/workflows/test-network-private.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
private:
|
private:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-sbe.yaml
vendored
2
.github/workflows/test-network-sbe.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
SBE:
|
SBE:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
2
.github/workflows/test-network-secured.yaml
vendored
2
.github/workflows/test-network-secured.yaml
vendored
|
|
@ -17,7 +17,7 @@ concurrency:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
secured:
|
secured:
|
||||||
runs-on: fabric-ubuntu-20.04
|
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chaincode-language:
|
chaincode-language:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue