Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 7343a7f

Browse files
authored
Merge pull request #28 from cloudify-examples/dev
Dev
2 parents f88c6a8 + e54f00f commit 7343a7f

6 files changed

Lines changed: 540 additions & 31 deletions

File tree

.circleci/config.yml

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
version: 2
2+
3+
checkout:
4+
post:
5+
- >
6+
if [ -n "$CI_PULL_REQUEST" ]; then
7+
PR_ID=${CI_PULL_REQUEST##*/}
8+
git fetch origin +refs/pull/$PR_ID/merge:
9+
git checkout -qf FETCH_HEAD
10+
fi
11+
12+
jobs:
13+
14+
aws:
15+
docker:
16+
- image: amd64/centos:centos7.3.1611
17+
steps:
18+
- checkout
19+
- run:
20+
name: Install dependencies
21+
command: yum -y install python-devel gcc openssl git libxslt-devel libxml2-devel openldap-devel libffi-devel openssl-devel libvirt-devel
22+
- run:
23+
name: Download pip
24+
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
25+
- run:
26+
name: Install pip
27+
command: python get-pip.py
28+
- run:
29+
name: Upgrade pip
30+
command: pip install --upgrade pip==9.0.1
31+
- run:
32+
name: Install virtualenv
33+
command: pip install virtualenv
34+
- run:
35+
name: Init virtualenv
36+
command: virtualenv env
37+
- run:
38+
name: install cloudify
39+
command: pip install cloudify==4.3.2
40+
- run:
41+
name: install test requirements
42+
command: pip install nose https://github.com/cloudify-incubator/cloudify-awssdk-plugin/archive/2.3.4.zip https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/1.5.1.zip https://github.com/cloudify-incubator/cloudify-utilities-plugin/archive/1.7.1.zip https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/2.0.zip
43+
- run:
44+
name: execute test
45+
command: nosetests -s tests/test_env.py:TestAWS
46+
47+
azure:
48+
docker:
49+
- image: amd64/centos:centos7.3.1611
50+
steps:
51+
- checkout
52+
- run:
53+
name: Install dependencies
54+
command: yum -y install python-devel gcc openssl git libxslt-devel libxml2-devel openldap-devel libffi-devel openssl-devel libvirt-devel
55+
- run:
56+
name: Download pip
57+
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
58+
- run:
59+
name: Install pip
60+
command: python get-pip.py
61+
- run:
62+
name: Upgrade pip
63+
command: pip install --upgrade pip==9.0.1
64+
- run:
65+
name: Install virtualenv
66+
command: pip install virtualenv
67+
- run:
68+
name: Init virtualenv
69+
command: virtualenv env
70+
- run:
71+
name: install cloudify
72+
command: pip install cloudify==4.3.2
73+
- run:
74+
name: install test requirements
75+
command: pip install nose https://github.com/cloudify-incubator/cloudify-azure-plugin/archive/1.7.2.zip https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/1.5.1.zip https://github.com/cloudify-incubator/cloudify-utilities-plugin/archive/1.7.1.zip https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/2.0.zip
76+
- run:
77+
name: execute test
78+
command: nosetests -s tests/test_env.py:TestAzure
79+
80+
gcp:
81+
docker:
82+
- image: amd64/centos:centos7.3.1611
83+
steps:
84+
- checkout
85+
- run:
86+
name: Install dependencies
87+
command: yum -y install python-devel gcc openssl git libxslt-devel libxml2-devel openldap-devel libffi-devel openssl-devel libvirt-devel
88+
- run:
89+
name: Download pip
90+
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
91+
- run:
92+
name: Install pip
93+
command: python get-pip.py
94+
- run:
95+
name: Upgrade pip
96+
command: pip install --upgrade pip==9.0.1
97+
- run:
98+
name: Install virtualenv
99+
command: pip install virtualenv
100+
- run:
101+
name: Init virtualenv
102+
command: virtualenv env
103+
- run:
104+
name: install cloudify
105+
command: pip install cloudify==4.3.2
106+
- run:
107+
name: install test requirements
108+
command: pip install nose https://github.com/cloudify-cosmo/cloudify-gcp-plugin/archive/1.4.3.zip https://github.com/cloudify-cosmo/cloudify-fabric-plugin/archive/1.5.1.zip https://github.com/cloudify-incubator/cloudify-utilities-plugin/archive/1.7.1.zip https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/2.0.zip
109+
- run:
110+
name: execute test
111+
command: nosetests -s tests/test_env.py:TestGCP
112+
113+
workflows:
114+
version: 2
115+
tests:
116+
jobs:
117+
- azure:
118+
context: ecosystem
119+
filters:
120+
branches:
121+
only: /([0-9\.]*\-build|latest|dev)/
122+
- aws:
123+
context: ecosystem
124+
filters:
125+
branches:
126+
only: /([0-9\.]*\-build|latest|dev)/
127+
- gcp:
128+
context: ecosystem
129+
filters:
130+
branches:
131+
only: /([0-9\.]*\-build|latest|dev)/

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
# Cloudify Environment Setup
34

45
To ask a question or report an issue, please visit the [Cloudify users groups](https://groups.google.com/forum/#!forum/cloudify-users) or report an issue using [github issues](https://github.com/cloudify-examples/cloudify-environment-setup/issues).

azure.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ tosca_definitions_version: cloudify_dsl_1_3
22

33
imports:
44
- http://www.getcloudify.org/spec/cloudify/4.3.2/types.yaml
5-
- http://www.getcloudify.org/spec/azure-plugin/1.7.2/plugin.yaml
5+
- http://www.getcloudify.org/spec/azure-plugin/1.7.3/plugin.yaml
66
- http://www.getcloudify.org/spec/utilities-plugin/1.8.2/plugin.yaml
77
- http://www.getcloudify.org/spec/fabric-plugin/1.5.1/plugin.yaml
88
- imports/manager-configuration.yaml

circle.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

tests/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)