-
Notifications
You must be signed in to change notification settings - Fork 3.4k
70 lines (64 loc) · 1.88 KB
/
test-network-k8s.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#
# 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: fabric-ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test the network
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CLIENT_LANGUAGE: typescript
CHAINCODE_LANGUAGE: java
ccaas-external:
runs-on: fabric-ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test the network
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CLIENT_LANGUAGE: typescript
CHAINCODE_LANGUAGE: external
k8s-builder:
runs-on: fabric-ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test the network
working-directory: test-network-k8s
run: ../ci/scripts/run-k8s-test-network-basic.sh
env:
CHAINCODE_NAME: basic
CHAINCODE_LANGUAGE: java
CHAINCODE_BUILDER: k8s
multi-namespace:
runs-on: fabric-ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test the network
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