Skip to content

Commit

Permalink
Merge pull request #1 from vapor-ware/synse
Browse files Browse the repository at this point in the history
Synse
  • Loading branch information
edaniszewski committed Oct 9, 2017
2 parents b5f4df6 + 7d8ec60 commit ea639ba
Show file tree
Hide file tree
Showing 557 changed files with 87,585 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
version: 2
jobs:
build:
docker:
- image: python
working_directory: /synse-server
environment:
- DOCKER_VERSION=17.05.0-ce
- COMPOSE_VERSION=1.14.0
steps:
- checkout

- setup_remote_docker

- run:
name: Install Docker Client
command: |
set -x
curl -L -o /tmp/docker-${DOCKER_VERSION}.tgz https://get.docker.com/builds/Linux/x86_64/docker-${DOCKER_VERSION}.tgz
tar -xz -C /tmp -f /tmp/docker-${DOCKER_VERSION}.tgz
mv /tmp/docker/* /usr/bin
- run:
name: Docker Private Images (temporary) # This should be removed once images are public
command: |
docker login -u $DOCKER_USER -p $DOCKER_PS
docker pull vaporio/vapor-endpoint-base-x64:3.0
- run:
name: Install Docker compose
command: |
set -x
curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
- run:
name: Docker Compose Build
command: docker-compose -f compose/release.yml build
- run:
name: Run tests
command: |
make test
51 changes: 51 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Synse specific components
assets/
dockerfile/
tools/generate_rack_config.py
tools/ipmi_diag.py

# JetBrains (PyCharm, WebStorm, etc.)
.idea
*.iws
.idea_modules

# Linux
*~
.directory
.Trash-*
**/packages

# OSX
.DS_Store
._*
.TemporaryItems
.Trashes

# Vagrant
.vagrant

# Git
.git
.gitignore

# Python
*.py[cod]
**/__pycache__
**/.tox
.pep8

# Logs
logs/
*.log

# Docker
Dockerfile.*
**/*.dockerfile

# Docs
docs/
**/*.md
**/*.rst

# Images
**/*.png
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Description

## Related Issues
-

## Close Criteria
-

## Notes
12 changes: 12 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
**Review Deadline**:

## Summary

## Related Issues
-

## Checklist
- [ ] tests passing
- [ ] code linted/formatted (if applicable)

## Notes
81 changes: 81 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Flask stuff:
instance/
.webassets-cache

# PyBuilder
target/

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

*.pyc
.vagrant
.idea
.DS_Store

# packages
*.rpm
*.deb
3 changes: 3 additions & 0 deletions .pep8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[pep8]
filename=*.py
max-line-length = 120

0 comments on commit ea639ba

Please sign in to comment.