mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-17 07:25:10 +00:00
* Support the fabric-builder-k8s for the chaincode "easy button." Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Run the CI/CD test suite using the correct matrix env for k8s builder Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com> * Incorporate review feedback : remove zz_unused and pkgk8scc routines Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
33 lines
No EOL
901 B
YAML
33 lines
No EOL
901 B
YAML
#
|
|
# Copyright IBM Corp. All Rights Reserved.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
---
|
|
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: org1-install-k8s-builder
|
|
spec:
|
|
backoffLimit: 0
|
|
completions: 1
|
|
template:
|
|
metadata:
|
|
name: org1-install-k8s-builder
|
|
spec:
|
|
restartPolicy: "Never"
|
|
containers:
|
|
- name: main
|
|
image: ghcr.io/hyperledgendary/k8s-fabric-peer:${K8S_CHAINCODE_BUILDER_VERSION}
|
|
imagePullPolicy: IfNotPresent
|
|
command:
|
|
- sh
|
|
- -c
|
|
- "mkdir -p /mnt/fabric-org1/fabric/external_builders && cp -rv /opt/hyperledger/k8s_builder /mnt/fabric-org1/fabric/external_builders/"
|
|
volumeMounts:
|
|
- name: fabric-org1-volume
|
|
mountPath: /mnt/fabric-org1
|
|
volumes:
|
|
- name: fabric-org1-volume
|
|
persistentVolumeClaim:
|
|
claimName: fabric-org1 |