Repository for test results of images hosted on emis.eucalyptus.com and eustore.
The images should be listed here:
https://github.com/eucalyptus/eucalyptus/wiki/Starter-Images
Please input all the information under each column.
After image has been added to the Starter-Images wiki, use eutester to test the instance. The instancetest.py testcase under cloud_user should be used. The "BasicInstanceChecks", "MetaData", and "Reboot" tests are the minimal tests to run to validate an image. Here is an example of how to run the tests:
./testcases/cloud_user/instances/instancetest.py --emi emi-847837A3 --credpath ../creds/ --tests BasicInstanceChecks MetaData Reboot
After running the tests, add the results to image-verification-results repo on github. Here is an example:
- This is for the CentOS 6.3 x86_64 image *
-
Do a fork of Eucalyptus image-verification-results project (requires github account for information on how to set up a Github account, refer to the following URL: http://help.github.com/set-up-git-redirect/). On information on how to fork a project, refer to the following link: http://help.github.com/fork-a-repo/.
-
Clone image-verification-results project from user's github account (for example => hspencer77/image-verification-results):
git clone https://github.com/hspencer77/image-verification-results.git
- Add the eucalyptus/image-verification-results as a upstream remote:
cd image-verification-results
git remote add upstream https://github.com/eucalyptus/image-verification-results.git
git fetch upstream
- After doing that, put the results of the eustester testcase for the image into a text file:
### add output of instancetest.py to textfile ### (for example, we created one called centos6.3-eutester-testresults.txt
- Once the text file is created, add it to the local repo, and put in the appropriate commit message:
git add .
git commit -m "Eutester Test Case for CentOS 6.3 Image x86_64"
- Finally, push the code to master to prepare for a pull request:
git push origin master
- Once the test results have been pushed to master, do a pull request to the eucalyptus/image-verification-results project. For information on how to do a pull request in Github, refer to the following help link: http://help.github.com/send-pull-requests/.
After the pull request has been merged, we will do the following:
- update the "Latest Test" column on the Starter-Images page by referencing the URL to the file in the image-verification-results repo.
- update the URL under "URL to Image" to reference the location on emis.eucalyptus.com.
- update the catalog file on emis.eucalyptus.com so that eustore can access the new image.
For any questions concerning how to use Euster, please refer to https://github.com/eucalyptus/eutester.