Skip to content

Commit 1ee0eb7

Browse files
committed
Bootstrap a StackStorm Exchange pack repository for pack jinja.
1 parent aa6515e commit 1ee0eb7

2 files changed

Lines changed: 170 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
version: 2
2+
3+
jobs:
4+
build_and_test:
5+
docker:
6+
- image: circleci/python:2.7
7+
- image: rabbitmq:3
8+
- image: mongo:3.4
9+
10+
working_directory: ~/repo
11+
12+
environment:
13+
VIRTUALENV_DIR: "~/virtualenv"
14+
15+
steps:
16+
- checkout
17+
- restore_cache:
18+
key: v1-dependency-cache-{{ checksum "requirements.txt" }}
19+
- run:
20+
name: Download dependencies
21+
command: |
22+
git clone -b master git://github.com/stackstorm-exchange/ci.git ~/ci
23+
~/ci/.circle/dependencies
24+
- run:
25+
name: Run tests
26+
command: ~/ci/.circle/test
27+
- save_cache:
28+
key: v1-dependency-cache-{{ checksum "requirements.txt" }}
29+
paths:
30+
- ~/.cache/pip
31+
- ~/.apt-cache
32+
- persist_to_workspace:
33+
root: /
34+
paths:
35+
- home/circleci/ci
36+
- home/circleci/virtualenv
37+
- tmp/st2
38+
- home/circleci/repo
39+
- home/circleci/.gitconfig
40+
41+
deploy:
42+
docker:
43+
- image: circleci/python:2.7
44+
45+
working_directory: ~/repo
46+
47+
environment:
48+
VIRTUALENV_DIR: "~/virtualenv"
49+
50+
steps:
51+
- checkout
52+
- restore_cache:
53+
key: v1-dependency-cache-{{ checksum "requirements.txt" }}
54+
- attach_workspace:
55+
at: /
56+
- run:
57+
name: Install dependencies
58+
command: sudo apt -y install gmic optipng
59+
- run:
60+
name: Update exchange.stackstorm.org
61+
command: ~/ci/.circle/deployment
62+
63+
workflows:
64+
version: 2
65+
build_test_deploy:
66+
jobs:
67+
- build_and_test
68+
- deploy:
69+
requires:
70+
- build_and_test
71+
filters:
72+
branches:
73+
only: master

.gitignore

Lines changed: 97 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,98 @@
1-
# JetBrains IDE
2-
.idea
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
./lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
*.egg-info/
24+
.installed.cfg
25+
*.egg
26+
27+
# PyInstaller
28+
# Usually these files are written by a python script from a template
29+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
30+
*.manifest
31+
*.spec
32+
33+
# Installer logs
34+
pip-log.txt
35+
pip-delete-this-directory.txt
36+
37+
# Unit test / coverage reports
38+
htmlcov/
39+
.tox/
40+
.coverage
41+
.coverage.*
42+
.cache
43+
nosetests.xml
44+
coverage.xml
45+
*,cover
46+
.hypothesis/
47+
48+
# Translations
49+
*.mo
50+
*.pot
51+
52+
# Django stuff:
53+
*.log
54+
local_settings.py
55+
56+
# Flask stuff:
57+
instance/
58+
.webassets-cache
59+
60+
# Scrapy stuff:
61+
.scrapy
62+
63+
# Sphinx documentation
64+
docs/_build/
365

4-
# Editor saves
5-
*~
66+
# PyBuilder
67+
target/
68+
69+
# IPython Notebook
70+
.ipynb_checkpoints
71+
72+
# pyenv
73+
.python-version
74+
75+
# celery beat schedule file
76+
celerybeat-schedule
77+
78+
# dotenv
79+
.env
80+
81+
# virtualenv
82+
venv/
83+
ENV/
84+
85+
# Spyder project settings
86+
.spyderproject
87+
88+
# Rope project settings
89+
.ropeproject
90+
91+
# Mr Developer
92+
.idea
93+
.DS_Store
94+
._*
95+
.vscode
96+
*.sublime-project
97+
*.sublime-workspace# PyCharm
98+
.idea

0 commit comments

Comments
 (0)