Skip to content
This repository has been archived by the owner on Jan 13, 2020. It is now read-only.
/ accelpy Public archive
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Accelize/accelpy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0-beta-5
Choose a base ref
...
head repository: Accelize/accelpy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jul 24, 2019

  1. 1.0.0-beta.6

    JGoutin committed Jul 24, 2019
    Copy the full SHA
    50ad382 View commit details

Commits on Jul 25, 2019

  1. 1.0.0-beta.7

    JGoutin committed Jul 25, 2019
    Copy the full SHA
    2316009 View commit details

Commits on Jul 26, 2019

  1. 1.0.0-beta.8

    JGoutin committed Jul 26, 2019
    Copy the full SHA
    cc91087 View commit details

Commits on Jul 29, 2019

  1. 1.0.0-beta.9

    JGoutin committed Jul 29, 2019
    Copy the full SHA
    9090275 View commit details

Commits on Jul 31, 2019

  1. 1.0.0-beta.10

    JGoutin committed Jul 31, 2019
    Copy the full SHA
    0194dc3 View commit details

Commits on Aug 1, 2019

  1. 1.0.0-beta.11

    JGoutin committed Aug 1, 2019
    Copy the full SHA
    04749c1 View commit details
  2. 1.0.0-beta.12

    JGoutin committed Aug 1, 2019
    Copy the full SHA
    c6404da View commit details

Commits on Aug 5, 2019

  1. 1.0.0-beta.13

    JGoutin committed Aug 5, 2019
    Copy the full SHA
    c7a219f View commit details

Commits on Aug 6, 2019

  1. 1.0.0-beta.14

    JGoutin committed Aug 6, 2019
    Copy the full SHA
    a3cd2f3 View commit details

Commits on Aug 7, 2019

  1. 1.0.0-beta.15

    JGoutin committed Aug 7, 2019
    Copy the full SHA
    92019e3 View commit details

Commits on Aug 8, 2019

  1. 1.0.0-beta.16

    JGoutin committed Aug 8, 2019
    Copy the full SHA
    4e4fc5c View commit details
  2. 1.0.0-beta.17

    JGoutin committed Aug 8, 2019
    Copy the full SHA
    6302be4 View commit details

Commits on Aug 9, 2019

  1. 1.0.0-beta.18

    JGoutin committed Aug 9, 2019
    Copy the full SHA
    48b0f34 View commit details

Commits on Aug 13, 2019

  1. 1.0.0-beta.19

    JGoutin committed Aug 13, 2019
    Copy the full SHA
    894eb4e View commit details

Commits on Aug 14, 2019

  1. 1.0.0-beta.20

    JGoutin committed Aug 14, 2019
    Copy the full SHA
    c98405f View commit details

Commits on Aug 19, 2019

  1. 1.0.0-beta.21

    JGoutin committed Aug 19, 2019
    Copy the full SHA
    2cfe972 View commit details

Commits on Aug 20, 2019

  1. 1.0.0-beta.22

    JGoutin committed Aug 20, 2019
    Copy the full SHA
    259a034 View commit details
  2. 1.0.0-beta.23

    JGoutin committed Aug 20, 2019
    Copy the full SHA
    7def58c View commit details

Commits on Aug 28, 2019

  1. 1.0.0-beta.24

    JGoutin committed Aug 28, 2019
    Copy the full SHA
    5be28c8 View commit details

Commits on Aug 29, 2019

  1. Copy the full SHA
    36bc497 View commit details

Commits on Sep 16, 2019

  1. Copy the full SHA
    7fd7cde View commit details
  2. Copy the full SHA
    cbbfca6 View commit details

Commits on Sep 20, 2019

  1. 1.0.0-beta.25

    JGoutin committed Sep 20, 2019
    Copy the full SHA
    14d02e5 View commit details

Commits on Sep 23, 2019

  1. 1.0.0-beta.26

    JGoutin committed Sep 23, 2019
    Copy the full SHA
    c25e0de View commit details

Commits on Sep 24, 2019

  1. Copy the full SHA
    78d3dd8 View commit details

Commits on Oct 3, 2019

  1. 1.0.0-beta.27

    JGoutin committed Oct 3, 2019
    Copy the full SHA
    b3eb635 View commit details
  2. 1.0.0-beta.28

    JGoutin committed Oct 3, 2019
    Copy the full SHA
    7aee560 View commit details

Commits on Oct 21, 2019

  1. 1.0.0-beta.29

    JGoutin committed Oct 21, 2019
    Copy the full SHA
    fbafb4d View commit details

Commits on Nov 25, 2019

  1. Update README.md

    JGoutin authored Nov 25, 2019
    Copy the full SHA
    623c9e6 View commit details

Commits on Jan 10, 2020

  1. Update README.md

    JGoutin authored Jan 10, 2020
    Copy the full SHA
    6981078 View commit details
Showing with 4,212 additions and 1,108 deletions.
  1. +3 −4 .travis.yml
  2. +1 −1 MANIFEST.in
  3. +3 −38 README.md
  4. +4 −5 accelpy/__init__.py
  5. +295 −40 accelpy/__main__.py
  6. +127 −36 accelpy/_ansible/__init__.py
  7. +16 −0 accelpy/_ansible/common.user_override.yml
  8. +3 −31 accelpy/_ansible/playbook.yml
  9. +18 −12 accelpy/_ansible/roles/common.init/meta/main.yml
  10. +52 −0 accelpy/_ansible/roles/common.init_system/tasks/main.yml
  11. +5 −0 accelpy/_ansible/roles/container_service/.ansible-lint
  12. +4 −1 accelpy/_ansible/roles/container_service/defaults/main.yml
  13. +26 −6 accelpy/_ansible/roles/container_service/filter_plugins/main.py
  14. +0 −10 accelpy/_ansible/roles/container_service/meta/main.yml
  15. +4 −21 accelpy/_ansible/roles/container_service/molecule/default/app.Dockerfile
  16. +8 −18 accelpy/_ansible/roles/container_service/molecule/default/app_server.py
  17. +5 −2 accelpy/_ansible/roles/container_service/molecule/default/playbook.yml
  18. +27 −13 accelpy/_ansible/roles/container_service/tasks/main.yml
  19. +2 −2 accelpy/_ansible/roles/container_service/templates/accelize_container.service.j2
  20. +5 −0 accelpy/_ansible/roles/kubernetes_node/.ansible-lint
  21. +1 −0 accelpy/_ansible/roles/kubernetes_node/defaults/main.yml
  22. +0 −10 accelpy/_ansible/roles/kubernetes_node/meta/main.yml
  23. +2 −2 accelpy/_ansible/roles/kubernetes_node/molecule/default/molecule.yml
  24. +24 −7 accelpy/_ansible/roles/kubernetes_node/tasks/main.yml
  25. +329 −122 accelpy/_application.py
  26. +380 −52 accelpy/_common.py
  27. +21 −40 accelpy/_hashicorp/__init__.py
  28. +228 −149 accelpy/_host.py
  29. +36 −15 accelpy/_packer/__init__.py
  30. +30 −5 accelpy/_packer/aws.json
  31. +16 −3 accelpy/_packer/common.json
  32. +51 −41 accelpy/_terraform/__init__.py
  33. +64 −30 accelpy/_terraform/aws.tf
  34. +13 −1 accelpy/_terraform/aws.user_override.tf
  35. +58 −11 accelpy/_terraform/common.tf
  36. +32 −12 accelpy/_terraform/common.user_override.tf
  37. +8 −0 accelpy/_terraform/host.common_override.tf
  38. +35 −0 accelpy/_terraform/host.tf
  39. +24 −0 accelpy/_terraform/host.user_override.tf
  40. +47 −0 accelpy/_yaml.py
  41. +8 −0 accelpy/exceptions.py
  42. +8 −3 buildspec.yml
  43. +24 −0 container_base/centos_7-aws_f1-kubeless-python_3.6.Dockerfile
  44. +35 −0 container_base/centos_7-aws_f1.Dockerfile
  45. +0 −36 container_base/ubuntu_bionic-aws_f1.Dockerfile
  46. +39 −0 docs/application_ansible_role.rst
  47. +45 −0 docs/application_container_image.rst
  48. +64 −47 docs/application_container_service.rst
  49. +82 −39 docs/application_definition.rst
  50. +155 −0 docs/application_kubernetes_node.rst
  51. +8 −2 docs/conf.py
  52. +42 −0 docs/configuration.rst
  53. +249 −0 docs/example_kubeless_function.rst
  54. +14 −14 docs/getting_started.rst
  55. +16 −5 docs/index.rst
  56. +13 −3 docs/provider_aws.rst
  57. +34 −0 docs/provider_host.rst
  58. +3 −0 examples/README.md
  59. +7 −0 examples/kubeless_function/kubeless-namespace.yml
  60. +21 −0 examples/kubeless_function/my-function-application.yml
  61. +36 −0 examples/kubeless_function/my-function.yml
  62. +1 −0 pytest.ini
  63. +3 −2 setup.py
  64. +53 −0 tests/app_kubernetes_node-aws_f1.yml
  65. +3 −6 tests/conftest.py
  66. +7 −8 tests/{test_kubernetes_node.yml → host_app.yml}
  67. +14 −0 tests/host_mock.yml
  68. +5 −6 tests/{test_container_service.yml → test_app_container_service.yml}
  69. +31 −0 tests/test_app_kubernetes_node.yml
  70. +0 −84 tests/test_applications.py
  71. +40 −0 tests/test_core__init__.py
  72. +82 −11 tests/test_core_ansible.py
  73. +367 −65 tests/test_core_application.py
  74. +274 −3 tests/test_core_common.py
  75. +0 −4 tests/test_core_hashicorp.py
  76. +32 −10 tests/test_core_host.py
  77. +176 −3 tests/test_core_main.py
  78. +12 −5 tests/test_core_packer.py
  79. +29 −12 tests/test_core_terraform.py
  80. +173 −0 tests/test_provisioning.py
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -5,20 +5,19 @@ services: docker
dist: xenial

python:
- "3.6"
- "3.7"

install:
# Python environment
- "python -m pip install --upgrade setuptools pip wheel pytest-cov codecov
molecule[docker] --pre"
- "python -m pip install -U --upgrade-strategy eager setuptools pip wheel
pytest-cov codecov molecule[docker] --pre"

# Installs all package dependencies
- "python -m pip install -e ."

script:
# Runs tests
- 'pytest -v -m "not require_csp" --cov=accelpy --cov-report=term-missing'
- 'pytest -s -m "not require_csp" --cov=accelpy --cov-report=term-missing'

after_success:
# Sends coverage to codecov.io
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
recursive-include accelpy *
recursive-exclude accelpy *.pyc
recursive-exclude accelpy *.pyc .ansible-lint
prune accelpy/_ansible/roles/*/molecule
41 changes: 3 additions & 38 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
![AccelPy Logo](docs/_static/accelpy_logo.png)
:warning: **This project is cancelled and unmaintened**

[![Build Status](https://travis-ci.org/Accelize/accelpy.svg?branch=master)](https://travis-ci.org/Accelize/accelpy)
![AWS Build Status](https://codebuild.eu-west-1.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiK3JOY01yMVNqYnc3ZTBiT0JqUWNQb3VJdFRmL3FJYllPeXBZUTZ0cEFlaFZBNWxkUmlPS2QrYm1NcytsYkQ3NE4rbmx5MXpxNjF0T3ZGbzY3M0gxczFFPSIsIml2UGFyYW1ldGVyU3BlYyI6IkNNdlVYMVgrUFZIZGZyQUUiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=master)
[![codecov](https://codecov.io/gh/Accelize/accelpy/branch/master/graph/badge.svg)](https://codecov.io/gh/Accelize/accelpy)
[![Documentation Status](https://readthedocs.org/projects/accelpy/badge/?version=latest)](https://accelpy.readthedocs.io/en/latest/?badge=latest)
[![PyPI](https://img.shields.io/pypi/v/accelpy.svg)](https://pypi.org/project/accelpy)

# :eyes: Overview
# Overview

**AccelPy** is an FPGA accelerated applications provisioning utility.

@@ -16,35 +10,6 @@ The utility is based on the powerful industry approved tools [Ansible](https://w
[Terraform](https://www.terraform.io/), & [Packer](https://www.packer.io/). This allows the utility to support a very wide variety
of cloud of on-prem providers and support an to be very configurable.


# :scroll: Features

* Provision in the multi-Cloud
* Provision an immutable infrastructure
* Don’t care about the FPGA requirements
* Configure and scale as you need
* Protect your FPGA application
* Containerize your application
* Run without configuration
* Use and integrate it easily
* Deploy application on secure host that follow DevOps good practices
* Use it as you want

Get more information on our [documentation](https://accelpy.readthedocs.io)!

## :heavy_exclamation_mark: Prerequisites

* Linux (but may also work on any other Unix based OS).
* Python 3.6 or greater

## :vhs: Installation

The installation is performed using Pip :
```
pip3 install accelpy
```
Ansible and all required Python packages are installed automatically by Pip.

## :registered: License
## License

Please consult [license](LICENSE)
9 changes: 4 additions & 5 deletions accelpy/__init__.py
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
"""Accelpy
Copyright 2018 Accelize
Copyright 2019 Accelize
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,8 +16,8 @@
See the License for the specific language governing permissions and
limitations under the License.
"""
__version__ = '1.0.0-beta.5'
__copyright__ = "Copyright 2018 Accelize"
__version__ = '1.0.0-beta.29'
__copyright__ = "Copyright 2019 Accelize"
__licence__ = "Apache 2.0"

from sys import version_info as _py
@@ -27,10 +27,9 @@
'Accelpy require Python 3.6 or more (Currently %s)' % version)
del _py

from accelpy._application import lint
from accelpy._host import Host, iter_hosts

__all__ = ['Host', 'iter_hosts', 'lint', 'exceptions']
__all__ = ['Host', 'iter_hosts', 'exceptions']

# Makes cleaner namespace
for _name in __all__:
Loading