Skip to content
This repository was archived by the owner on Mar 1, 2020. It is now read-only.

Commit 4190997

Browse files
authored
Merge pull request #4 from cloudify-examples/update-tests
update tests
2 parents 5d78405 + c26c293 commit 4190997

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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+
test_validation:
14+
machine:
15+
enabled: true
16+
python:
17+
version: pypy-2.2.1
18+
19+
steps:
20+
- checkout
21+
- run: wget http://cloudify-release-eu.s3.amazonaws.com/cloudify/18.4.17/release/cloudify-manager-docker-image-18.4.17.tar
22+
- run: docker load -i cloudify-manager-docker-image-18.4.17.tar
23+
- run: rm cloudify-manager-docker-image-18.4.17.tar
24+
- run: 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 docker-cfy-manager:latest
25+
- run: pip install cloudify
26+
- run: cfy profiles use localhost -u admin -p admin -t default_tenant
27+
- run: cfy plugins upload https://github.com/cloudify-cosmo/cloudify-openstack-plugin/releases/download/2.7.4/cloudify_openstack_plugin-2.7.4-py27-none-linux_x86_64-centos-Core.wgn -y http://www.getcloudify.org/spec/openstack-plugin/2.7.4/plugin.yaml
28+
- run: cfy blueprints upload simple-blueprint.yaml -b bp0 > /dev/null 2>&1
29+
30+
workflows:
31+
version: 2
32+
build_and_test:
33+
jobs:
34+
- test_validation

0 commit comments

Comments
 (0)