Skip to content

Commit

Permalink
Deprecated fabric tools image
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Yuan <yy19902439@126.com>
  • Loading branch information
SamYuan1990 authored and denyeart committed May 1, 2024
1 parent c2bc505 commit bbf090c
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -82,8 +82,6 @@ jobs:
CONTEXT: .
- COMPONENT: orderer
CONTEXT: .
- COMPONENT: tools
CONTEXT: .

steps:
- name: Set up QEMU
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Expand Up @@ -41,7 +41,6 @@
# - publish-images - publishes release docker images to nexus3 or docker hub.
# - release-all - builds release packages for all target platforms
# - release - builds release packages for the host platform
# - tools-docker[-clean] - ensures the tools container is available[/cleaned]
# - unit-test-clean - cleans unit test state (particularly from docker)
# - unit-test - runs the go-test based unit tests
# - verify - runs unit tests for only the changed package tree
Expand Down Expand Up @@ -82,7 +81,7 @@ GO_VER = 1.21.9
GO_TAGS ?=

RELEASE_EXES = orderer $(TOOLS_EXES)
RELEASE_IMAGES = baseos ccenv orderer peer tools
RELEASE_IMAGES = baseos ccenv orderer peer
RELEASE_PLATFORMS = darwin-amd64 darwin-arm64 linux-amd64 linux-arm64 windows-amd64
TOOLS_EXES = configtxgen configtxlator cryptogen discover ledgerutil osnadmin peer

Expand Down Expand Up @@ -237,7 +236,6 @@ $(BUILD_DIR)/images/baseos/$(DUMMY): BUILD_CONTEXT=images/baseos
$(BUILD_DIR)/images/ccenv/$(DUMMY): BUILD_CONTEXT=images/ccenv
$(BUILD_DIR)/images/peer/$(DUMMY): BUILD_ARGS=--build-arg GO_TAGS=${GO_TAGS}
$(BUILD_DIR)/images/orderer/$(DUMMY): BUILD_ARGS=--build-arg GO_TAGS=${GO_TAGS}
$(BUILD_DIR)/images/tools/$(DUMMY): BUILD_ARGS=--build-arg GO_TAGS=${GO_TAGS}

$(BUILD_DIR)/images/%/$(DUMMY):
@echo "Building Docker image $(DOCKER_NS)/fabric-$*"
Expand Down
8 changes: 3 additions & 5 deletions docs/source/channel_update_tutorial.rst
Expand Up @@ -174,11 +174,9 @@ This Docker Compose file has been configured to bridge across our initial networ
so that the Org3 peer resolves with the existing peers and ordering
node of the test network.

.. note:: the `./addOrg3.sh up` command uses a `fabric-tools` CLI container to perform
the channel configuration update process demonstrated below. This is to avoid the
`jq` dependency requirement for first-time users. However, it is recommended to
follow the process below directly on your local machine instead of using the unnecessary
CLI container.
.. note:: the `./addOrg3.sh up` command uses a `jq` CLI to perform
the channel configuration update process demonstrated. It is recommended to
follow the process below directly on your local machine.

Fetch the Configuration
~~~~~~~~~~~~~~~~~~~~~~~
Expand Down
2 changes: 0 additions & 2 deletions docs/source/create_channel/create_channel_test_net.md
Expand Up @@ -46,9 +46,7 @@ Creating volume "net_peer0.org2.example.com" with default driver
Creating peer0.org2.example.com ... done
Creating orderer.example.com ... done
Creating peer0.org1.example.com ... done
Creating cli ... done
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1667543b5634 hyperledger/fabric-tools:latest "/bin/bash" 1 second ago Up Less than a second cli
b6b117c81c7f hyperledger/fabric-peer:latest "peer node start" 2 seconds ago Up 1 second 0.0.0.0:7051->7051/tcp peer0.org1.example.com
703ead770e05 hyperledger/fabric-orderer:latest "orderer" 2 seconds ago Up Less than a second 0.0.0.0:7050->7050/tcp, 0.0.0.0:7053->7053/tcp orderer.example.com
718d43f5f312 hyperledger/fabric-peer:latest "peer node start" 2 seconds ago Up 1 second 7051/tcp, 0.0.0.0:9051->9051/tcp peer0.org2.example.com
Expand Down
3 changes: 1 addition & 2 deletions docs/source/prereqs.md
Expand Up @@ -79,8 +79,7 @@ go version # => go1.21.9 darwin/amd64

### JQ

Optional: Install the latest version of [jq](https://stedolan.github.io/jq/download/) if it is not already installed
(only required for the tutorials related to channel configuration transactions).
Install the latest version of [jq](https://stedolan.github.io/jq/download/) if it is not already installed, it's required for the tutorials that utilize the fabric-samples test-network.

```shell
brew install jq
Expand Down
2 changes: 0 additions & 2 deletions docs/source/test_network.md
Expand Up @@ -113,9 +113,7 @@ Creating volume "net_peer0.org2.example.com" with default driver
Creating peer0.org2.example.com ... done
Creating orderer.example.com ... done
Creating peer0.org1.example.com ... done
Creating cli ... done
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
1667543b5634 hyperledger/fabric-tools:latest "/bin/bash" 1 second ago Up Less than a second cli
b6b117c81c7f hyperledger/fabric-peer:latest "peer node start" 2 seconds ago Up 1 second 0.0.0.0:7051->7051/tcp peer0.org1.example.com
703ead770e05 hyperledger/fabric-orderer:latest "orderer" 2 seconds ago Up Less than a second 0.0.0.0:7050->7050/tcp, 0.0.0.0:7053->7053/tcp orderer.example.com
718d43f5f312 hyperledger/fabric-peer:latest "peer node start" 2 seconds ago Up 1 second 7051/tcp, 0.0.0.0:9051->9051/tcp peer0.org2.example.com
Expand Down
2 changes: 1 addition & 1 deletion scripts/bootstrap.sh
Expand Up @@ -118,7 +118,7 @@ pullDockerImages() {
command -v ${CONTAINER_CLI} >& /dev/null
NODOCKER=$?
if [ "${NODOCKER}" == 0 ]; then
FABRIC_IMAGES=(peer orderer ccenv tools)
FABRIC_IMAGES=(peer orderer ccenv)
case "$VERSION" in
[2-3].*)
FABRIC_IMAGES+=(baseos)
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-fabric.sh
Expand Up @@ -225,7 +225,7 @@ pullImages() {
command -v ${CONTAINER_CLI} >& /dev/null
NODOCKER=$?
if [ "${NODOCKER}" == 0 ]; then
FABRIC_IMAGES=(peer orderer ccenv tools)
FABRIC_IMAGES=(peer orderer ccenv)
case "$VERSION" in
[2-3].*)
FABRIC_IMAGES+=(baseos)
Expand Down

0 comments on commit bbf090c

Please sign in to comment.