@@ -27,6 +27,9 @@ executors:
2727 machine :
2828 image : ubuntu-1604:201903-01
2929
30+ cloudify-machine-510 :
31+ machine :
32+ image : ubuntu-1604:201903-01
3033
3134commands :
3235
@@ -108,16 +111,16 @@ commands:
108111 exit 1
109112 fi
110113
111- generate_py27_wagon :
114+ generate_py27py36_wagon :
112115 steps :
113116 - run :
114117 name : Create Workspace Build directory.
115118 command : mkdir -p workspace/build
116119 - run :
117- name : Build py27 Wagon
120+ name : Build py27py36 Wagon
118121 command : |
119122 git clone https://github.com/cloudify-cosmo/cloudify-wagon-build-containers.git
120- docker build -t cloudify-centos-7-wagon-builder cloudify-wagon-build-containers/centos_7
123+ docker build -t cloudify-centos-7-wagon-builder cloudify-wagon-build-containers/centos_7_py2py3
121124 docker run -v ~/project/:/packaging cloudify-centos-7-wagon-builder
122125 - run :
123126 name : copy wagon to workspace
@@ -127,36 +130,16 @@ commands:
127130 paths :
128131 - build/*
129132
130- generate_py3_wagon :
133+ generate_rhel_py27py36_wagon :
131134 steps :
132135 - run :
133136 name : Create Workspace Build directory.
134137 command : mkdir -p workspace/build
135138 - run :
136- name : Build py3 Wagon
139+ name : Build RHEL py27py36 Wagon
137140 command : |
138141 git clone https://github.com/cloudify-cosmo/cloudify-wagon-build-containers.git
139- docker build -t cloudify-centos-7-py3-wagon-builder cloudify-wagon-build-containers/centos_7_py3
140- docker run -v ~/project/:/packaging cloudify-centos-7-py3-wagon-builder
141- - run :
142- name : copy wagon to workspace
143- command : cp *.wgn workspace/build/
144- - persist_to_workspace :
145- root : workspace
146- paths :
147- - build/*
148-
149-
150- generate_rhel_py27_wagon :
151- steps :
152- - run :
153- name : Create Workspace Build directory.
154- command : mkdir -p workspace/build
155- - run :
156- name : Build RHEL 27 Wagon
157- command : |
158- git clone https://github.com/cloudify-cosmo/cloudify-wagon-build-containers.git
159- docker build -t cloudify-redhat-7-wagon-builder cloudify-wagon-build-containers/redhat_7 --build-arg USERNAME="$USERNAME" --build-arg PASSWORD="$PASSWORD"
142+ docker build -t cloudify-redhat-7-wagon-builder cloudify-wagon-build-containers/redhat_7_py2py3 --build-arg USERNAME="$USERNAME" --build-arg PASSWORD="$PASSWORD"
160143 docker run -v ~/project/:/packaging cloudify-redhat-7-wagon-builder
161144 - run :
162145 name : copy wagon to workspace
@@ -166,7 +149,7 @@ commands:
166149 paths :
167150 - build/*
168151
169- run_integration_tests :
152+ run_integration_tests_505 :
170153 steps :
171154 - run :
172155 name : " Pull Submodules"
@@ -180,7 +163,8 @@ commands:
180163 command : pip install -U pip
181164 - run :
182165 name : install cloudify
183- command : pip install -U cloudify==5.0.0 pytest==4.6.3 pyyaml==3.10
166+ command : |
167+ pip install -r test-requirements.txt
184168 - run :
185169 name : download manager docker image
186170 command : wget http://repository.cloudifysource.org/cloudify/5.0.5/ga-release/cloudify-docker-manager-5.0.5.tar
@@ -201,6 +185,41 @@ commands:
201185 command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
202186 - run : pytest -s .circleci/test_examples.py
203187
188+ run_integration_tests_510 :
189+ steps :
190+ - run :
191+ name : " Pull Submodules"
192+ command : |
193+ git submodule update --init --recursive --remote
194+ - attach_workspace :
195+ at : workspace
196+ - run :
197+ name : update pip
198+ command : pip install -U pip
199+ - run :
200+ name : install cloudify
201+ command : |
202+ pip install -r test-requirements.txt
203+ - run :
204+ name : download manager docker image
205+ command : wget http://repository.cloudifysource.org/cloudify/5.1.0/.dev1-release/cloudify-manager-aio-docker-5.1.0.dev1.tar
206+ - run :
207+ name : load docker image
208+ command : docker load -i cloudify-manager-aio-docker-5.1.0.dev1.tar
209+ - run :
210+ name : retain space by dumping the tar
211+ command : rm cloudify-manager-aio-docker-5.1.0.dev1.tar
212+ - run :
213+ name : show images
214+ command : docker images
215+ - run :
216+ name : start docker container
217+ command : docker run --name cfy_manager -d --restart unless-stopped -v /sys/fs/cgroup:/sys/fs/cgroup:ro --tmpfs /run --tmpfs /run/lock --security-opt seccomp:unconfined --cap-add SYS_ADMIN --network host cloudify-manager-aio:latest
218+ - run :
219+ name : install local project
220+ command : pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
221+ - run : pytest -s .circleci/test_examples.py
222+
204223 release_plugin :
205224 steps :
206225 - run :
@@ -299,24 +318,32 @@ jobs:
299318 executor : wagon_generator
300319 steps :
301320 - checkout
302- - generate_py27_wagon
321+ - generate_py27py36_wagon
303322 # - generate_py3_wagon # TODO: When we have Python3 Manager Integration Test.
304323
305324 rhel_wagon :
306325 executor : wagon_generator
307326 steps :
308327 - checkout
309- - generate_rhel_py27_wagon
310-
328+ - generate_rhel_py27py36_wagon
311329
312- integration_tests :
330+ integration_tests_505 :
313331 executor : cloudify-machine
314332 environment :
315333 CLOUDIFY_SSL_TRUST_ALL : true
316- IAAS : gcp
334+ IAAS : openstack
317335 steps :
318336 - checkout
319- - run_integration_tests
337+ - run_integration_tests_505
338+
339+ integration_tests_510 :
340+ executor : cloudify-machine-510
341+ environment :
342+ CLOUDIFY_SSL_TRUST_ALL : true
343+ IAAS : openstack
344+ steps :
345+ - checkout
346+ - run_integration_tests_510
320347
321348 release :
322349 executor : py27
@@ -369,6 +396,7 @@ workflows:
369396# - release
370397# - validate_documentation
371398
399+
372400 nightly :
373401 triggers :
374402 - schedule :
0 commit comments