This repository was archived by the owner on Mar 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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-incubator/cloudify-awssdk-plugin/releases/download/2.1.1/cloudify_awssdk_plugin-2.1.1-py27-none-linux_x86_64-centos-Core.wgn -y http://www.getcloudify.org/spec/awssdk-plugin/2.1.1/plugin.yaml
28+ - run : cfy blueprints upload simple-blueprint.yaml -b bp1 > /dev/null 2>&1
29+ - run : cfy blueprints upload update-blueprint.yaml -b bp2 > /dev/null 2>&1
30+
31+ workflows :
32+ version : 2
33+ build_and_test :
34+ jobs :
35+ - test_validation
You can’t perform that action at this time.
0 commit comments