forked from nimbusproject/cloudinit.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTESTING.txt
53 lines (36 loc) · 1.17 KB
/
TESTING.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Testing cloudinit.d
===================
Simple Testing on Local System
------------------------------
Setup cloudinit.d with:
python setup.py develop
Then use pip to install additional testing dependencies:
pip install cloudinit[test]
Finally, run basic tests with:
nosetests cloudinitd
Testing Against EC2
-------------------
You will need to set the following environment variables:
CLOUDINITD_IAAS_ACCESS_KEY
CLOUDINITD_IAAS_SECRET_KEY
CLOUDINITD_IAAS_IMAGE
CLOUDINITD_IAAS_ALLOCATION
CLOUDINITD_IAAS_SSHKEYNAME
CLOUDINITD_IAAS_SSHKEY
CLOUDINITD_SSH_USERNAME
ami-3202f25b is a suitable public image to run the tests on ec2 us east. Use
ssh username "ubuntu"
Testing Against Futuregrid
--------------------------
You will need to set the following environment variables:
CLOUDINITD_IAAS_ACCESS_KEY
CLOUDINITD_IAAS_SECRET_KEY
CLOUDINITD_IAAS_IMAGE
CLOUDINITD_IAAS_ALLOCATION
CLOUDINITD_IAAS_SSHKEYNAME
CLOUDINITD_IAAS_SSHKEY
CLOUDINITD_SSH_USERNAME
CLOUDINITD_IAAS_URL
CLOUDINITD_IAAS_TYPE
CLOUDINITD_IAAS_TYPE should be set to "nimbus", or "libcloud-nimbus" if you want
to test the libcloud drivers.