Skip to content

Commit 66eff85

Browse files
author
EarthmanT
committed
another change
1 parent 378a360 commit 66eff85

File tree

1 file changed

+51
-53
lines changed

1 file changed

+51
-53
lines changed

.circleci/config.yml

Lines changed: 51 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ commands:
4646
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
4747
- run:
4848
name: Install pip
49-
command: sudo python get-pip.py 'pip<=20.3.3'
49+
command: sudo python get-pip.py
5050
- run:
5151
name: Install virtualenv
5252
command: pip install --user virtualenv
@@ -64,8 +64,7 @@ commands:
6464
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
6565
- attach_workspace:
6666
at: workspace
67-
- run: python .circleci/validate_docs.py
68-
67+
- run: ecosystem-test validate-docs
6968
validate_version:
7069
steps:
7170
- run:
@@ -78,7 +77,7 @@ commands:
7877
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
7978
- run:
8079
name: Install pip
81-
command: sudo python get-pip.py 'pip<=20.3.3'
80+
command: sudo python get-pip.py
8281
- run:
8382
name: Install virtualenv
8483
command: pip install --user virtualenv
@@ -96,8 +95,50 @@ commands:
9695
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
9796
- attach_workspace:
9897
at: workspace
99-
- run: python .circleci/validate_version.py
100-
98+
- run: ecosystem-test validate-plugin-version
99+
merge_docs:
100+
steps:
101+
- attach_workspace:
102+
at: workspace
103+
- run:
104+
name: "Pull Submodules"
105+
command: |
106+
git submodule init
107+
git submodule update --remote --recursive
108+
- run:
109+
name: Set Python
110+
command: |
111+
if ! pyenv -v COMMAND &> /dev/null
112+
then
113+
echo "pyenv could not be found"
114+
exit
115+
else
116+
pyenv global 3.6.5
117+
fi
118+
- run:
119+
name: Download pip
120+
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
121+
- run:
122+
name: Install pip
123+
command: sudo python get-pip.py
124+
- run:
125+
name: Install virtualenv
126+
command: pip install --user virtualenv
127+
- run:
128+
name: Init virtualenv
129+
command: virtualenv env
130+
- run:
131+
name: install tox
132+
command: pip install --user pygithub pyyaml==3.10
133+
- run:
134+
name: upgrade setuptools
135+
command: pip install --upgrade setuptools
136+
- run:
137+
name: install local project
138+
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
139+
- attach_workspace:
140+
at: workspace
141+
- run: ecosystem-tests merge-docs
101142
run_unittests_py27:
102143
steps:
103144
- checkout
@@ -247,7 +288,7 @@ commands:
247288
at: workspace
248289
- run:
249290
name: update pip
250-
command: pip install -U pip===20.3.3
291+
command: pip install -U pip
251292
- run:
252293
name: install cloudify
253294
command: |
@@ -283,7 +324,7 @@ commands:
283324
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
284325
- run:
285326
name: Install pip
286-
command: sudo python get-pip.py 'pip<=20.3.3'
327+
command: sudo python get-pip.py
287328
- run:
288329
name: Install virtualenv
289330
command: pip install --user virtualenv
@@ -292,7 +333,7 @@ commands:
292333
command: virtualenv env
293334
- run:
294335
name: install tox
295-
command: pip install --user pygithub pyyaml==3.10
336+
command: pip install --user pygithub pyyaml==5.3.1
296337
- run:
297338
name: upgrade setuptools
298339
command: pip install --upgrade setuptools
@@ -301,43 +342,9 @@ commands:
301342
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
302343
- attach_workspace:
303344
at: workspace
304-
- run: python .circleci/package_release.py
345+
- run: ecosystem-tests package-release --name cloudify-openstack-plugin
305346

306347

307-
merge_docs:
308-
steps:
309-
- attach_workspace:
310-
at: workspace
311-
- run:
312-
name: "Pull Submodules"
313-
command: |
314-
git submodule init
315-
git submodule update --remote --recursive
316-
- run:
317-
name: Download pip
318-
command: curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
319-
- run:
320-
name: Install pip
321-
command: sudo python get-pip.py 'pip<=20.3.3'
322-
- run:
323-
name: Install virtualenv
324-
command: pip install --user virtualenv
325-
- run:
326-
name: Init virtualenv
327-
command: virtualenv env
328-
- run:
329-
name: install tox
330-
command: pip install --user pygithub pyyaml==3.10
331-
- run:
332-
name: upgrade setuptools
333-
command: pip install --upgrade setuptools
334-
- run:
335-
name: install local project
336-
command: pip install https://github.com/cloudify-incubator/cloudify-ecosystem-test/archive/latest.zip
337-
- attach_workspace:
338-
at: workspace
339-
- run: python .circleci/merge_docs.py
340-
341348
jobs:
342349

343350
unittests_py27:
@@ -391,15 +398,6 @@ jobs:
391398
- checkout
392399
- build_archive
393400

394-
# integration_tests_510:
395-
# executor: cloudify-machine-510
396-
# environment:
397-
# CLOUDIFY_SSL_TRUST_ALL: true
398-
# IAAS: openstack
399-
# steps:
400-
# - checkout
401-
# - run_integration_tests_510
402-
403401
release:
404402
executor: py36
405403
steps:

0 commit comments

Comments
 (0)