fabric-samples/.github/workflows/test-network-k8s.yaml
dependabot[bot] c9b221e4a9
Some checks are pending
Lint 🎉 / java (push) Waiting to run
Lint 🎉 / shell (push) Waiting to run
Lint 🎉 / go (push) Waiting to run
Lint 🎉 / typescript (push) Waiting to run
Lint 🎉 / javascript (push) Waiting to run
Test High Throughput / basic (push) Waiting to run
Test Network Basic 🔎 / basic (go) (push) Waiting to run
Test Network Basic 🔎 / basic (java) (push) Waiting to run
Test Network Basic 🔎 / basic (javascript) (push) Waiting to run
Test Network Basic 🔎 / basic (typescript) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (go, ca) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (go, cryptogen) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (java, ca) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (java, cryptogen) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (javascript, ca) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (javascript, cryptogen) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (typescript, ca) (push) Waiting to run
Test Network BFT Orderer 🍟 / basic (typescript, cryptogen) (push) Waiting to run
Test Network Events 💡 / events (go, events) (push) Waiting to run
Test Network Events 💡 / events (java, events) (push) Waiting to run
Test Network Events 💡 / events (javascript, events) (push) Waiting to run
Test Network HSM 🍏 / hsm (go) (push) Waiting to run
Test Network HSM 🍏 / hsm (java) (push) Waiting to run
Test Network HSM 🍏 / hsm (javascript) (push) Waiting to run
Test Network HSM 🍏 / hsm (typescript) (push) Waiting to run
Kubernetes Test Network 🍒 / ccaas-java (push) Waiting to run
Kubernetes Test Network 🍒 / ccaas-external (push) Waiting to run
Kubernetes Test Network 🍒 / k8s-builder (push) Waiting to run
Kubernetes Test Network 🍒 / multi-namespace (push) Waiting to run
Kubernetes Test Network 🍒 / bft-orderer (push) Waiting to run
Test Network Ledger 🥑 / basic (go, ledger) (push) Waiting to run
Test Network Ledger 🥑 / basic (javascript, ledger) (push) Waiting to run
Test Network Ledger 🥑 / basic (typescript, ledger) (push) Waiting to run
Test Network Off Chain 🍔 / off-chain (go) (push) Waiting to run
Test Network Off Chain 🍔 / off-chain (java) (push) Waiting to run
Test Network Off Chain 🍔 / off-chain (javascript) (push) Waiting to run
Test Network Off Chain 🍔 / off-chain (typescript) (push) Waiting to run
Test Network Private 🔒 / private (go, private) (push) Waiting to run
Test Network Private 🔒 / private (java, private) (push) Waiting to run
Test Network Private 🔒 / private (typescript, private) (push) Waiting to run
Test Network SBE 🎵 / SBE (java, sbe) (push) Waiting to run
Test Network SBE 🎵 / SBE (typescript, sbe) (push) Waiting to run
Test Network Secured 🔔 / secured (go, secured) (push) Waiting to run
Bump actions/checkout from 6 to 7 (#1426)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-22 21:22:41 +01:00

124 lines
4.6 KiB
YAML

#
# SPDX-License-Identifier: Apache-2.0
#
name: Kubernetes Test Network 🍒
run-name: ${{ github.actor }} is testing the Kubernetes Test Network 🍒
on:
workflow_dispatch:
push:
branches: [ "main", "release-2.5" ]
pull_request:
branches: [ "main", "release-2.5" ]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ccaas-java:
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Test the network
id: run-test
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CLIENT_LANGUAGE: typescript
CHAINCODE_LANGUAGE: java
- name: Upload failure logs
if: ${{ failure() && steps.run-test.conclusion == 'failure' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ github.job }}-logs
path: test-network-k8s/network-debug.log
ccaas-external:
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Test the network
id: run-test
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CLIENT_LANGUAGE: typescript
CHAINCODE_LANGUAGE: external
- name: Upload failure logs
if: ${{ failure() && steps.run-test.conclusion == 'failure' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ github.job }}-logs
path: test-network-k8s/network-debug.log
k8s-builder:
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Test the network
id: run-test
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CHAINCODE_NAME: basic
CHAINCODE_LANGUAGE: java
CHAINCODE_BUILDER: k8s
- name: Upload failure logs
if: ${{ failure() && steps.run-test.conclusion == 'failure' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ github.job }}-logs
path: test-network-k8s/network-debug.log
multi-namespace:
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Test the network
id: run-test
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
ORG0_NS: org0-namespace
ORG1_NS: org1-namespace
ORG2_NS: org2-namespace
CHAINCODE_NAME: basic
CHAINCODE_LANGUAGE: java
CHAINCODE_BUILDER: k8s
- name: Upload failure logs
if: ${{ failure() && steps.run-test.conclusion == 'failure' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ github.job }}-logs
path: test-network-k8s/network-debug.log
bft-orderer:
runs-on: ${{ github.repository == 'hyperledger/fabric-samples' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }}
# This job requires Fabric v3.0 or later, which is only supported on 'main'.
# Ensure it does not run on 'release-2.5' or earlier versions.
if: ${{ github.ref == 'refs/heads/main' || github.event.pull_request.base.ref == 'main' }}
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Test the network
id: run-test
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CLIENT_LANGUAGE: typescript
CHAINCODE_LANGUAGE: java
# Note: The default Fabric version for CI is currently the latest LTS (v2.5.x).
# To test BFT Orderers, Fabric v3.x is explicitly specified here.
FABRIC_VERSION: '3.1'
ORDERER_TYPE: bft
- name: Upload failure logs
if: ${{ failure() && steps.run-test.conclusion == 'failure' }}
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: ${{ github.job }}-logs
path: test-network-k8s/network-debug.log