Skip to content
This repository has been archived by the owner on Nov 23, 2019. It is now read-only.
/ paaspure-cli Public archive

The CLI tool created as part of my computing masters practicum.

Notifications You must be signed in to change notification settings

iorubs/paaspure-cli

Repository files navigation

PaaSPure CLI

This is was created as part of my computing masters practicum. The PaaSPure CLI was intended to be used for building/deploying PaaS platforms based on user supplied configs.

The cli tool will still works without the HUB as users may still pull directly from a git repo.

Build

docker build -t paaspure .

Run

docker run -it --rm \
	-v "$(pwd)":/app \
	-v /var/run/docker.sock:/var/run/docker.sock \
paaspure sh

This will mount the current folder as a volume mapped to /app inside the container. So that any changes done on your machine will also be reflected inside the container.

CI/CD

Lint using Flake8

Flak8 is a linting tool, for ensuring compliance with pep8, pyflakes and circular complexity.

docker run --rm paaspure flake8

Unit test using PyTest

docker run --rm paaspure pytest

TODO

  • Move pure objects to their own repos.
  • Clean up code.
  • Remove credentials from config and read from creds file.

About

The CLI tool created as part of my computing masters practicum.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published