...
Warning |
---|
These pre-requisite development tools are not part of the release validation itself. The instructions are being provided for those testers that may not normally have these tools installed on their test system, and want to perform the expected tests. The pre-requisites listed may be be 100% complete (for example, we assume you have git, tar, etc... installed). If you run into any issues, please ask on the cloudstack-dev@incubatordev@cloudstack.apache.org mailing list. |
...
Note |
---|
Since we have graduated from the incubator, the git remote URL thats embedded in the original DevCloud image is incorrect. Before following the step below, ssh into the devcloud image and edit /opt/cloudstack/incubator-cloudstack/.git/config to modify the URL from https://git-wip-us.apache.org/repos/asf/*incubator--*cloudstack.git to https://git-wip-us.apache.org/repos/asf/cloudstack.git Once that's done, exit from your ssh session back to your local system. |
...
Code Block |
---|
mkdir /tmp/cloudstack; cd /tmp/cloudstack wget https://dist.apache.org/repos/dist/release/incubator/cloudstack/KEYS wget httpshttp://distpeople.apache.org/~jzb/reposcloudstack/dist/dev/incubator/cloudstack/candidatesreleases/4.0.1-incubating2/apache-cloudstack-4.0.1-incubating2-src.tar.bz2 wget httpshttp://distpeople.apache.org/~jzb/reposcloudstack/dist/dev/incubator/cloudstack/candidatesreleases/4.0.1-incubating2/apache-cloudstack-4.0.1-incubating2-src.tar.bz2.asc wget httpshttp://distpeople.apache.org/repos~jzb/cloudstack/dist/dev/incubator/cloudstack/candidates/releases/4.0.1-incubating2/apache-cloudstack-4.0.1-incubating2-src.tar.bz2.md5 wget httpshttp://distpeople.apache.org/~jzb/reposcloudstack/dist/dev/incubator/cloudstack/candidates/releases/4.0.1-incubating2/apache-cloudstack-4.0.12-incubating-src.tar.bz2.sha |
Install gpg (if needed): sudo apt-get install gpg
...
Code Block |
---|
gpg --verify apache-cloudstack-4.0.12-incubating-src.tar.bz2.asc |
This command should return "Good Signature".
Code Block |
---|
gpg --print-md MD5 apache-cloudstack-4.0.12-incubating-src.tar.bz2 | diff - apache-cloudstack-4.0.12-incubating-src.tar.bz2.md5 gpg --print-md SHA512 apache-cloudstack-4.0.1-incubating2-src.tar.bz2 | diff - apache-cloudstack-4.0.1-incubating2-src.tar.bz2.sha |
Each of these commands should return no output. If there is any output from them, then there is a difference between the hash you generated locally and the hash that has been pulled from the server.
...
Code Block |
---|
git clone https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git /tmp/cloudstack/git
cd /tmp/cloudstack/git
git archive --prefix=/tmp/cloudstack/tree/ <commit-hash> | tar Pxf -
|
...
Code Block |
---|
cd /tmp/cloudstack tar xvfj apache-cloudstack-4.0.12-incubating-src.tar.bz2 |
Compare the contents of the release artifact with the contents pulled from the repo:
Code Block |
---|
diff -r /tmp/cloudstack/apache-cloudstack-4.0.12-incubating-src /tmp/cloudstack/tree |
Nothing should be different.
...
Code Block |
---|
cd /tmp/cloudstack/apache-cloudstack-4.0.1-incubating2-src mvn --projects='org.apache.cloudstack:cloudstack' org.apache.rat:apache-rat-plugin:0.8:check |
...