Comments (5)
#!/bin/bash
echo -n "Please ensure that the local docker for both repositories can push and pull properly: (y/n) "
read c
if [ $c == 'n' ]; then
exit 1
fi
arg_count=$#
if [ $arg_count -ne 2 ]; then
echo "Usage $0 <from-repository> <to-repository>"
exit 1
fi
FROM=$1
tail=`echo ${FROM: -1}`
echo "FROM last char ${tail}"
if [ $tail == '/' ]; then
FROM=`echo ${FROM%?}`
fi
echo "FROM: ${FROM}"
TO=$2
tail=`echo ${TO: -1}`
echo "TO last char ${tail}"
if [ $tail == '/' ]; then
TO=`echo ${TO%?}`
fi
echo "TO: ${TO}"
sync_images=(fabric-operator:latest ubi-minimal:latest fabric-ca:iam-20230131 fabric-peer:2.4.7
couchdb:3.2.2 fabric-orderer:2.4.7 fabric-console:latest grpc-web:latest)
for img in ${sync_images[*]}
do
i=$FROM/$img
target=$TO/$img
echo "sync ${i} -- ${target}"
docker pull $i
if [ $? -ne 0 ]; then
exit 1
fi
docker tag $i $target
if [ $? -ne 0 ]; then
exit 1
fi
docker push $target
if [ $? -ne 0 ]; then
exit 1
fi
done
echo "✅done"
from bc-console.
需同步的镜像列表为:
- hyperledgerk8s/fabric-operator:latest
- hyperledgerk8s/ubi-minimal:latest
- hyperledgerk8s/fabric-ca:iam-20230131
- hyperledgerk8s/fabric-peer:2.4.7 hyperledgerk8s/fabric-peer:2.4.7
- hyperledgerk8s/couchdb:3.2.2 hyperledgerk8s/fabric-orderer:2.4.7
- hyperledgerk8s/fabric-console:latest hyperledgerk8s/grpc-web:latest
from bc-console.
@dayuy 需要配置镜像地址的地方包括:
caSpec:
license:
accept: true
ingress:
class: "portal-ingress"
images:
caImage: hyperledgerk8s/fabric-ca
caTag: "iam-20230131"
caInitImage: hyperledgerk8s/ubi-minimal
caInitTag: latest
- 网络创建 https://github.com/bestchains/fabric-operator/blob/main/config/samples/ibp.com_v1beta1_network.yaml
修改networkSpec.orderSpec.images
如下:
images:
ordererInitImage: hyperledgerk8s/ubi-minimal
ordererInitTag: latest
grpcwebImage: hyperledgerk8s/grpc-web
grpcwebTag: latest
ordererImage: hyperledgerk8s/fabric-orderer
ordererTag: v2.4.7
- 节点创建 https://github.com/bestchains/fabric-operator/blob/main/config/samples/peers/ibp.com_v1beta1_peer_org1peer1.yaml
修改peerSpec
下的
peerSpec:
images:
peerInitImage: hyperledgerk8s/ubi-minimal
peerInitTag: latest
grpcwebImage: hyperledgerk8s/grpc-web
grpcwebTag: latest
peerImage: hyperledgerk8s/fabric-peer
peerTag: v2.4.7
from bc-console.
Fixed. 内部服务统一使用bestchains-dev镜像仓库。并且前端增加环境变量配置默认的镜像仓库地址
Tracked at bestchains/installer#16
from bc-console.
BFF:节点创建、网络创建、组织创建 都改了
from bc-console.
Related Issues (20)
- 【产品】优化合约代码文件夹上传 HOT 1
- channel id展示问题
- 升级合约操作变成新建合约,且合约名称有误 HOT 6
- 合约列表应按照合约版本大小降序排列 HOT 1
- 合约信息中的合约名称展示错误 HOT 2
- 通道数量展示不正常 HOT 2
- 通道信息渲染不同步
- 总览页页面开发 HOT 1
- 组织管理页面查看不到当前平台里的其他组织 HOT 1
- 网络管理-通道信息 中的背书策略名称展示不正确 HOT 2
- 总览页操作流程里 `创建区块链网络` 跳转到了 区块链浏览器
- 合约商店 HOT 3
- 可信存证服务 HOT 1
- 合约管理-合约信息中的通道应该展示 channel.spec.id 以及 背书策略的 displayName HOT 2
- 区块链浏览器数据请求的参数不正确 HOT 2
- .bcignore没有起作用 HOT 3
- 交易列表缺少区块高度信息
- 新建合约支持Git源
- 区块链浏览器交易数据展示优化 HOT 2
- 组织管理-新建组织异常,删除组织报错,跳转有误
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bc-console.