-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
内部测试服务镜像拉取问题 #18
Comments
需同步的镜像列表为:
|
@dayuy 需要配置镜像地址的地方包括: caSpec:
license:
accept: true
ingress:
class: "portal-ingress"
images:
caImage: hyperledgerk8s/fabric-ca
caTag: "iam-20230131"
caInitImage: hyperledgerk8s/ubi-minimal
caInitTag: latest
images:
ordererInitImage: hyperledgerk8s/ubi-minimal
ordererInitTag: latest
grpcwebImage: hyperledgerk8s/grpc-web
grpcwebTag: latest
ordererImage: hyperledgerk8s/fabric-orderer
ordererTag: v2.4.7
peerSpec:
images:
peerInitImage: hyperledgerk8s/ubi-minimal
peerInitTag: latest
grpcwebImage: hyperledgerk8s/grpc-web
grpcwebTag: latest
peerImage: hyperledgerk8s/fabric-peer
peerTag: v2.4.7 |
#!/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" |
Fixed. 内部服务统一使用bestchains-dev镜像仓库。并且前端增加环境变量配置默认的镜像仓库地址 Tracked at bestchains/installer#16 |
BFF:节点创建、网络创建、组织创建 都改了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
目前,内部的测试服务器无法拉取
docker.io
镜像。需要:The text was updated successfully, but these errors were encountered: