Skip to content

Commit

Permalink
update latest version in deployer config map template
Browse files Browse the repository at this point in the history
Signed-off-by: MuthuSundaravadivel <[email protected]>
  • Loading branch information
MuthuSundaravadivel committed May 24, 2024
1 parent 2d5541e commit e0024b9
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 31 deletions.
4 changes: 2 additions & 2 deletions defaultconfig/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ func GetImages() *deployer.ConsoleImages {
ConsoleInitImage: "registry.access.redhat.com/ubi8/ubi-minimal",
ConsoleInitTag: "latest",
ConfigtxlatorImage: "hyperledger/fabric-tools",
ConfigtxlatorTag: "2.2.5",
ConfigtxlatorTag: "2.5.8",
DeployerImage: "ghcr.io/ibm-blockchain/fabric-deployer",
DeployerTag: "latest",
CouchDBImage: "couchdb",
CouchDBTag: "3.2.2",
CouchDBTag: "3.3.3",
}
}
18 changes: 9 additions & 9 deletions definitions/console/deployer-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,37 +45,37 @@ data:
imagePullSecret: ""
versions:
ca:
1.5.10-1:
1.5.11-1:
default: true
version: 1.5.10-1
version: 1.5.11-1
image:
caInitImage: registry.access.redhat.com/ubi8/ubi-minimal
caInitTag: latest
caImage: hyperledger/fabric-ca
caTag: 1.5.10
caTag: 1.5.11
peer:
2.5.7-1:
2.5.8-1:
default: true
version: 2.5.7-1
version: 2.5.8-1
image:
peerInitImage: registry.access.redhat.com/ubi8/ubi-minimal
peerInitTag: latest
peerImage: hyperledger/fabric-peer
peerTag: 2.5.7
peerTag: 2.5.8
couchdbImage: couchdb
couchdbTag: 3.3.3
grpcwebImage: ghcr.io/hyperledger-labs/grpc-web
grpcwebTag: latest
orderer:
2.5.7-1:
2.5.8-1:
default: true
version: 2.5.7-1
version: 2.5.8-1
image:
ordererInitImage: registry.access.redhat.com/ubi8/ubi-minimal
ordererInitTag: latest
ordererImage: hyperledger/fabric-orderer
ordererTag: 2.5.7
ordererTag: 2.5.8
grpcwebImage: ghcr.io/hyperledger-labs/grpc-web
grpcwebTag: latest
Expand Down
4 changes: 2 additions & 2 deletions integration/images.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
package integration

const (
FabricCAVersion = "1.5.10"
FabricCAVersion = "1.5.11"
FabricVersion = "2.2.15"
FabricVersion24 = "2.5.7"
FabricVersion24 = "2.5.8"
InitImage = "registry.access.redhat.com/ubi8/ubi-minimal"
InitTag = "latest"
CaImage = "hyperledger/fabric-ca"
Expand Down
16 changes: 8 additions & 8 deletions operatorconfig/versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ import "github.com/IBM-Blockchain/fabric-operator/pkg/apis/deployer"
const (
InitImage = "registry.access.redhat.com/ubi8/ubi-minimal"
LatestTag = "latest"
FabricCAVersion = "1.5.10"
FabricVersion = "2.5.7"
FabricCAVersion = "1.5.11"
FabricVersion = "2.5.8"
)

func getDefaultVersions() *deployer.Versions {
return &deployer.Versions{
CA: map[string]deployer.VersionCA{
"1.5.10-1": {
"1.5.11-1": {
Default: true,
Version: "1.5.10-1",
Version: "1.5.11-1",
Image: deployer.CAImages{
CAInitImage: InitImage,
CAInitTag: LatestTag,
Expand All @@ -42,9 +42,9 @@ func getDefaultVersions() *deployer.Versions {
},
},
Peer: map[string]deployer.VersionPeer{
"2.5.7-1": {
"2.5.8-1": {
Default: true,
Version: "2.5.7-1",
Version: "2.5.8-1",
Image: deployer.PeerImages{
PeerInitImage: InitImage,
PeerInitTag: LatestTag,
Expand All @@ -58,9 +58,9 @@ func getDefaultVersions() *deployer.Versions {
},
},
Orderer: map[string]deployer.VersionOrderer{
"2.5.7-1": {
"2.5.8-1": {
Default: true,
Version: "2.5.7-1",
Version: "2.5.8-1",
Image: deployer.OrdererImages{
OrdererInitImage: InitImage,
OrdererInitTag: LatestTag,
Expand Down
4 changes: 2 additions & 2 deletions sample-network-multi-org/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ check:
CLUSTER_NAME := env_var_or_default("TEST_NETWORK_CLUSTER_NAME", "kind")
NAMESPACE := env_var_or_default("TEST_NETWORK_NAMESPACE", "test-network")
OPERATOR_IMAGE := env_var_or_default("TEST_NETWORK_OPERATOR_IMAGE", "ghcr.io/hyperledger-labs/fabric-operator:1.0")
FABRIC_VERSION := env_var_or_default("TEST_NETWORK_FABRIC_VERSION", "2.5.7")
FABRIC_CA_VERSION := env_var_or_default("TEST_NETWORK_FABRIC_CA_VERSION", "1.5.10")
FABRIC_VERSION := env_var_or_default("TEST_NETWORK_FABRIC_VERSION", "2.5.8")
FABRIC_CA_VERSION := env_var_or_default("TEST_NETWORK_FABRIC_CA_VERSION", "1.5.11")
CA_IMAGE := env_var_or_default("TEST_NETWORK_CA_IMAGE", "hyperledger/fabric-ca")
CA_IMAGE_TAG := env_var_or_default("TEST_NETWORK_CA_IMAGE_TAG", FABRIC_CA_VERSION)
PEER_IMAGE := env_var_or_default("TEST_NETWORK_PEER_IMAGE", "ghcr.io/hyperledger-labs/k8s-fabric-peer")
Expand Down
4 changes: 2 additions & 2 deletions sample-network-multi-org/scripts/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ else
echo -e "${SUCCESS} jq found:\t\t$(cat /tmp/cmdpath)"
fi

FABRIC_VERSION=2.5.7
FABRIC_CA_VERSION=1.5.10
FABRIC_VERSION=2.5.8
FABRIC_CA_VERSION=1.5.11
if ! command -v peer &> /tmp/cmdpath
then
echo "${WARN} Please install the Fabric CLI binaries; suggested install commands:"
Expand Down
4 changes: 2 additions & 2 deletions sample-network-multi-org/scripts/test-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ function destroyCluster() {
}

# fabric CLI binaries + config
FABRIC_VERSION=2.5.7
FABRIC_CA_VERSION=1.5.10
FABRIC_VERSION=2.5.8
FABRIC_CA_VERSION=1.5.11

curl -sSL https://raw.githubusercontent.com/hyperledger/fabric/main/scripts/install-fabric.sh | bash -s -- binary --fabric-version $FABRIC_VERSION --ca-version $FABRIC_CA_VERSION
export PATH=${PWD}/bin:$PATH
Expand Down
6 changes: 3 additions & 3 deletions sample-network/network
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ function context() {
export ${name}="${!override_name:-${default_value}}"
}

context FABRIC_VERSION 2.5.7
context FABRIC_CA_VERSION 1.5.10
context FABRIC_VERSION 2.5.8
context FABRIC_CA_VERSION 1.5.11

context CLUSTER_RUNTIME kind # or k3s for Rancher
context CONTAINER_CLI docker # or nerdctl for containerd
Expand Down Expand Up @@ -85,7 +85,7 @@ context INIT_IMAGE_LABEL latest
context GRPCWEB_IMAGE ghcr.io/hyperledger-labs/grpc-web
context GRPCWEB_IMAGE_LABEL latest
context COUCHDB_IMAGE couchdb
context COUCHDB_IMAGE_LABEL 3.2.2
context COUCHDB_IMAGE_LABEL 3.3.3
context CONSOLE_IMAGE ghcr.io/hyperledger-labs/fabric-console
context CONSOLE_IMAGE_LABEL latest
context DEPLOYER_IMAGE ghcr.io/ibm-blockchain/fabric-deployer
Expand Down
2 changes: 1 addition & 1 deletion testdata/deployercm/deployer-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ data:
peerImage: fabric-peer
peerTag: latest
couchdbImage: fabric-couchdb
couchdbTag: 3.2.2
couchdbTag: 3.3.3
grpcwebImage: fabric-grpcweb
grpcwebTag: latest
Expand Down

0 comments on commit e0024b9

Please sign in to comment.