This repository has been archived on 2020-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Luke Murphy b585217242
Some checks failed
continuous-integration/drone/push Build is failing
Ditching docker for now
2020-07-01 10:42:17 +02:00
magic_app Hacking towards the db.json, trimming as much as possible 2020-07-01 10:40:54 +02:00
.drone.yml Bootstrap something to start 2020-06-30 20:28:47 +02:00
.gitignore Hacking towards the db.json, trimming as much as possible 2020-07-01 10:40:54 +02:00
LICENSE Add LICENSE and README 2020-06-30 20:08:29 +02:00
pyproject.toml Bootstrap something to start 2020-06-30 20:28:47 +02:00
README.md Hacking towards the db.json, trimming as much as possible 2020-07-01 10:40:54 +02:00
requirements.txt Hacking towards the db.json, trimming as much as possible 2020-07-01 10:40:54 +02:00
setup.py Hacking towards the db.json, trimming as much as possible 2020-07-01 10:40:54 +02:00
tox.ini Bootstrap something to start 2020-06-30 20:28:47 +02:00

Magic App

Build Status

A swarm of dreams.

Proof Of Concept

  • List apps from an app.json (points to https://git.autonomic.zone/compose-stacks)
  • Clone selected app template and parse configuration for inputs (env vars and secrets)
  • Generate a form so those values can be filled out and allow it to be saved
  • Save the form inputs to a db.json
  • Deploy an applicaiton to a local swarm (assumes access to local docker socket)
  • Create an "edit app" page where the db.json is re-called and can be updated
  • Make sure re-deploy works (taking care of updating secret and app versions)

Development

$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
$ python magic_app/app.py