File tree Expand file tree Collapse file tree
asset-transfer-private-data/chaincode-typescript
full-stack-asset-transfer-guide
contracts/asset-transfer-typescript Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,24 +3,24 @@ description: Set up the Full Stack Asset Transfer Guide Dependencies
33inputs :
44 node-version :
55 description : Version of node
6- default : 20.x
6+ default : " lts/* "
77 just-version :
88 description : Just Version
9- default : " 1.24 .0"
9+ default : " 1.43 .0"
1010 k9s-version :
1111 description : k9s Version
12- default : v0.25.3
12+ default : v0.50.15
1313 fabric-version :
1414 description : Version of Hyperledger Fabric
15- default : " 2.5.13 "
15+ default : " 2.5.14 "
1616 ca-version :
1717 description : Version of Hyperledger Fabric CA
1818 default : " 1.5.15"
1919
2020runs :
2121 using : " composite"
2222 steps :
23- - uses : actions/setup-node@v4
23+ - uses : actions/setup-node@v6
2424 with :
2525 node-version : ${{ inputs.node-version }}
2626 cache : " npm"
2929 - name : Install k9s
3030 shell : bash
3131 run : |
32- curl --fail --silent --show-error -L https://github.com/derailed/k9s/releases/download/${{ inputs.k9s-version }}/k9s_Linux_x86_64 .tar.gz -o /tmp/k9s_Linux_x86_64 .tar.gz
33- tar -zxf /tmp/k9s_Linux_x86_64 .tar.gz -C /usr/local/bin k9s
32+ curl --fail --silent --show-error -L https://github.com/derailed/k9s/releases/download/${{ inputs.k9s-version }}/k9s_Linux_amd64 .tar.gz -o /tmp/k9s_Linux_amd64 .tar.gz
33+ tar -zxf /tmp/k9s_Linux_amd64 .tar.gz -C /usr/local/bin k9s
3434 sudo chown root /usr/local/bin/k9s
3535 sudo chmod 755 /usr/local/bin/k9s
3636
Original file line number Diff line number Diff line change @@ -3,35 +3,35 @@ description: Set up the Test Network Runtime
33inputs :
44 go-version :
55 description : Version of go
6- default : " 1.23 "
6+ default : stable
77 node-version :
88 description : Version of node
9- default : 20.x
9+ default : " lts/* "
1010 java-version :
1111 description : Version of JDK
1212 default : 25.x
1313 fabric-version :
1414 description : Version of Hyperledger Fabric
15- default : 2.5.13
15+ default : 2.5.14
1616 ca-version :
1717 description : Version of Hyperledger Fabric CA
1818 default : 1.5.15
1919
2020runs :
2121 using : " composite"
2222 steps :
23- - uses : actions/setup-go@v5
23+ - uses : actions/setup-go@v6
2424 with :
2525 go-version : ${{ inputs.go-version }}
2626 cache-dependency-path : " **/go.sum"
2727
28- - uses : actions/setup-node@v4
28+ - uses : actions/setup-node@v6
2929 with :
3030 node-version : ${{ inputs.node-version }}
3131 cache : " npm"
3232 cache-dependency-path : " **/package-lock.json"
3333
34- - uses : actions/setup-java@v4
34+ - uses : actions/setup-java@v5
3535 with :
3636 distribution : temurin
3737 java-version : ${{ inputs.java-version }}
Original file line number Diff line number Diff line change @@ -16,17 +16,16 @@ concurrency:
1616 cancel-in-progress : true
1717
1818env :
19- GO_VER : " 1.23"
20- NODE_VER : 20.x
19+ NODE_VER : " lts/*"
2120 JAVA_VER : 25.x
2221
2322jobs :
2423 go :
2524 runs-on : ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
2625 steps :
27- - uses : actions/setup-go@v5
26+ - uses : actions/setup-go@v6
2827 with :
29- go-version : ${{ env.GO_VER }}
28+ go-version : stable
3029 - uses : actions/checkout@v5
3130 - run : go install golang.org/x/tools/cmd/goimports@latest
3231 - run : ci/scripts/lint-go.sh
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ name: REST Sample 🐧
55run-name : ${{ github.actor }} is testing the REST Sample 🐧
66
77env :
8- NODE_VER : 20.x
8+ NODE_VER : " lts/* "
99
1010on :
1111 workflow_dispatch :
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ run-name: ${{ github.actor }} is running the Test Network with BFT Orderer tests
77on :
88 workflow_dispatch :
99 push :
10- branches : [ "main" ]
10+ branches : ["main"]
1111 pull_request :
12- branches : [ "main" ]
12+ branches : ["main"]
1313
1414concurrency :
1515 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
3838 # Note: The default Fabric version for CI is currently the latest LTS (v2.5.x).
3939 # To test BFT Orderers, Fabric v3.x is explicitly specified here.
4040 with :
41- fabric-version : 3.1.1
41+ fabric-version : 3.1.3
4242
4343 - name : Run Test Network with BFT Orderers
4444 working-directory : test-network
Original file line number Diff line number Diff line change 22#
33# SPDX-License-Identifier: Apache-2.0
44
5- ARG GO_VER=1.23
6- ARG ALPINE_VER=3.21
7-
8- FROM golang:${GO_VER}-alpine${ALPINE_VER}
5+ FROM golang:alpine
96
107WORKDIR /go/src/github.com/hyperledger/fabric-samples/asset-transfer-basic/chaincode-external
118COPY . .
Original file line number Diff line number Diff line change 11#
22# SPDX-License-Identifier: Apache-2.0
33#
4- FROM node:22 AS builder
4+ FROM node:lts AS builder
55
66WORKDIR /usr/src/app
77
@@ -11,7 +11,7 @@ ENV npm_config_cache=/usr/src/app
1111RUN npm ci && npm run package
1212
1313
14- FROM node:22 AS production
14+ FROM node:lts AS production
1515ARG CC_SERVER_PORT
1616
1717# Setup tini to work better handle signals
Original file line number Diff line number Diff line change 1- FROM node:22 -alpine AS build
1+ FROM node:lts -alpine AS build
22
33RUN apk add --no-cache g++ make python3 dumb-init
44
@@ -10,7 +10,7 @@ RUN npm ci
1010RUN npm run build
1111RUN npm prune --production
1212
13- FROM node:22 -alpine
13+ FROM node:lts -alpine
1414ENV NODE_ENV production
1515WORKDIR /app
1616
Original file line number Diff line number Diff line change 11#
22# SPDX-License-Identifier: Apache-2.0
33#
4- FROM node:22 AS builder
4+ FROM node:lts AS builder
55
66WORKDIR /usr/src/app
77
@@ -11,7 +11,7 @@ ENV npm_config_cache=/usr/src/app
1111RUN npm ci && npm run package
1212
1313
14- FROM node:22 AS production
14+ FROM node:lts AS production
1515ARG CC_SERVER_PORT
1616
1717# Setup tini to work better handle signals
Original file line number Diff line number Diff line change 1- FROM node:22 -alpine AS build
1+ FROM node:lts -alpine AS build
22WORKDIR /app
33COPY package.json /app
44RUN npm install
You can’t perform that action at this time.
0 commit comments