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

Commit 13a804b

Browse files
authored
Merge pull request #2 from cloudify-examples/update-tests
update tests
2 parents a631089 + 1040728 commit 13a804b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.circleci/config.yml

+34
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-gcp-plugin/releases/download/1.4.0/cloudify_gcp_plugin-1.4.0-py27-none-linux_x86_64-centos-Core.wgn -y http://www.getcloudify.org/spec/gcp-plugin/1.4.0/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)