This is an automated email from the ASF dual-hosted git repository.
rxl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new e7b455b Removed the content of verifying CGO client
e7b455b is described below
commit e7b455b00b3cd2e58ed1a4c9200ef9cd61f65e35
Author: 冉小龙 <[email protected]>
AuthorDate: Thu Apr 16 22:52:11 2020 +0800
Removed the content of verifying CGO client
---
Release-Candidate-Validation.md | 114 ----------------------------------------
1 file changed, 114 deletions(-)
diff --git a/Release-Candidate-Validation.md b/Release-Candidate-Validation.md
index 81f2130..94d7bda 100644
--- a/Release-Candidate-Validation.md
+++ b/Release-Candidate-Validation.md
@@ -3,10 +3,6 @@
* [Validate Pub/Sub and Java Functions](#validate-pubsub-and-java-functions)
* [Validate Connectors](#validate-connectors)
* [Validate Stateful Functions](#validate-stateful-functions)
-- [Validate RPM and DEB packages](#validate-rpm-and-deb-packages)
- * [Prepare](#prepare)
- * [Validate RPM](#validate-rpm)
- * [Validate DEB](#validate-deb)
The following are manual instructions for reviewing and validating a release
candidate.
You can automate these steps. Contributions are welcome!
@@ -589,113 +585,3 @@ The result in the terminal of step 3 is updated to `20`.
value = 10
value = 20
```
-
-## Validate RPM and DEB packages
-
-### Prepare
-
-Download the RPM and DEP packages to a directory, for example, name it as
`pulsar_validation`. Mount this directory to a docker container so that we can
validate RPM packages.
-
-### Validate RPM
-
-1. Start a centos docker to install RPM.
-
-```shell
-$ docker run -it --rm -v `pwd`:/pulsar centos:7
-```
-
-In centos container, navigate to the `/pulsar` directory.
-
-```shell
-[root@e6c29e2b70a9 /]# cd pulsar/
-[root@e6c29e2b70a9 pulsar]# ls
-```
-
-2. Install RPM in the centos container.
-
-```shell
-# rpm -ivh apache-pulsar-client-devel-2.1.0-1_incubating.x86_64.rpm
apache-pulsar-client-2.1.0-1_incubating.x86_64.rpm
-Preparing... ################################# [100%]
-Updating / installing...
- 1:apache-pulsar-client-2.1.0-1_incu################################# [ 50%]
- 2:apache-pulsar-client-devel-2.1.0-################################# [100%]
-```
-
-3. Build the go client to validate the RPM package.
-
-a) Install go.
-
-```shell
-# yum install -y epel-release
-# yum install -y go git
-```
-
-b) Get Pulsar go client.
-
-```shell
-# go get -u github.com/apache/pulsar/pulsar-client-go/pulsar
-```
-
-c) Build an example.
-
-```shell
-# cd ~/go/src/github.com/apache/pulsar/pulsar-client-go/examples/producer/
-# go build .
-# ls
-producer producer.go
-# ldconfig
-# ./producer
-```
-
-### Validate DEB
-
-1. Start an debian docker to install DEB.
-
-```shell
-$ docker run -it --rm -v `pwd`:/pulsar debian:9
-```
-
-In debian container, navigate to the `/pulsar` directory.
-
-```shell
-[root@e6c29e2b70a9 /]# cd pulsar/
-[root@e6c29e2b70a9 pulsar]# ls
-```
-
-2. Install DEB in the centos container.
-
-```shell
-# apt install ./apache-pulsar-client.deb
-# apt install ./apache-pulsar-client-dev.deb
-```
-
-3. Build the go client to validate the DEB package.
-
-a) Install go.
-
-```shell
-# apt-get update
-# apt-get -y upgrade
-# apt-get install -y git curl gcc
-# curl -O https://storage.googleapis.com/golang/go1.12.1.linux-amd64.tar.gz
-# tar -xvf go1.12.1.linux-amd64.tar.gz
-# mv go /usr/local
-# export GOROOT=/usr/local/go
-# export PATH=$PATH:$GOROOT/bin
-```
-
-b) Get pulsar go client.
-
-```shell
-# go get -u github.com/apache/pulsar/pulsar-client-go/pulsar
-```
-
-c) Build an example.
-
-```shell
-# cd ~/go/src/github.com/apache/pulsar/pulsar-client-go/examples/producer/
-# go build .
-# ls
-producer producer.go
-# ./producer
-```
\ No newline at end of file