Skip to content

Commit b709690

Browse files
author
earthmant
committed
update circle ci config
1 parent d3ff299 commit b709690

1 file changed

Lines changed: 38 additions & 8 deletions

File tree

.circleci/config.yml

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,25 @@ commands:
110110
paths:
111111
- build/*
112112

113+
114+
build_archive:
115+
steps:
116+
- attach_workspace:
117+
at: workspace
118+
- run:
119+
name: Create Workspace Build directory.
120+
command: mkdir -p workspace/build
121+
- run:
122+
name: Build Bundle
123+
command: |
124+
git clone https://github.com/cloudify-incubator/cloudify-ecosystem-test.git
125+
pip install -e cloudify-ecosystem-test
126+
python -c 'from ecosystem_cicd_tools import packaging; packaging.build_plugins_bundle_with_workspace()'
127+
- persist_to_workspace:
128+
root: workspace
129+
paths:
130+
- build/*
131+
113132
run_integration_tests_505:
114133
steps:
115134
- run:
@@ -261,6 +280,12 @@ jobs:
261280
- checkout
262281
- run_integration_tests_510
263282

283+
build_bundle:
284+
executor: wagon_generator
285+
steps:
286+
- checkout
287+
- build_archive
288+
264289
release:
265290
executor: py27
266291
steps:
@@ -273,7 +298,9 @@ workflows:
273298
jobs:
274299
- py3_compat
275300
- unittests_py27
276-
- unittests_py36
301+
- unittests_py36:
302+
requires:
303+
- py3_compat
277304
- wagon:
278305
filters:
279306
branches:
@@ -282,17 +309,24 @@ workflows:
282309
filters:
283310
branches:
284311
only: /([0-9\.]*\-build|master|dev)/
285-
- integration_tests_505:
312+
- build_bundle:
313+
filters:
314+
branches:
315+
only: /master/
286316
requires:
287317
- wagon
288318
- rhel_wagon
319+
- integration_tests_505:
320+
requires:
321+
- unittests_py27
322+
- build_bundle
289323
filters:
290324
branches:
291325
only: /([0-9\.]*\-build|master|dev)/
292326
- integration_tests_510:
293327
requires:
294-
- wagon
295-
- rhel_wagon
328+
- unittests_py36
329+
- build_bundle
296330
filters:
297331
branches:
298332
only: /([0-9\.]*\-build|master|dev)/
@@ -301,10 +335,6 @@ workflows:
301335
branches:
302336
only: /master/
303337
requires:
304-
- unittests_py27
305-
- unittests_py36
306-
- wagon
307-
- rhel_wagon
308338
- integration_tests_505
309339
- integration_tests_510
310340

0 commit comments

Comments
 (0)