khos2ow commented on issue #2433: CLOUDSTACK-10268: Fix and enhance package 
script
URL: https://github.com/apache/cloudstack/pull/2433#issuecomment-370598448
 
 
   I'm +1 on testing (may be individually on different environments). I don't 
think automated test would give us much needed information anyway (it helps 
regardless anyway).
   What I would do is:
   
   - build with `--use-timestamp`
     - once RPMs
     - once DEBs
   - build systemvm. preferably with
   ```bash
   VERSION=$(mvn -q -Dexec.executable="echo" -Dexec.args='${project.version}' 
--non-recursive org.codehaus.mojo:exec-maven-plugin:1.3.1:exec)
   TIMESTAMP=$(date +%s)
   VERSION=$(echo $VERSION | sed 's/\-SNAPSHOT/\-'${TIMESTAMP}'/g')
   ./build.sh systemvmtemplate $VERSION $BUILD_NUMBER
   ```
   - manually deploy the whole thing
   
   What to look for:
   
   - .rpm or .deb file to have a name like `cloudstack-xxx-<epoch>.[deb|rpm]`
   - when logged in the UI > About Cloudstack should have the full version 
`4.12.0.0-<epoch>`
   - when ssh in the systemvm `cat /etc/cloudstack-release` should have the 
full version `4.12.0.0-<epoch>`
   - from UI > Infrastructure > VR should detect correctly to upgrase
     - when upgraded should show the full version in the UI (`4.12.0.0-<epoch>`)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to