Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

clusternator

Package Overview
Dependencies
Maintainers
5
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clusternator

Program to deploy docker containers on cloud service platforms with minimal user input, and/or configuration

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
Maintainers
5
Weekly downloads
 
Created
Source

THE CLUSTERNATOR

Status: alpha

The Clusternator attempts to make managing deployments of containers easy for front end developers. Specifically The Clusternator was built to fill the deoployment challenges of CI setups.

The current version of The Clusternator uses Docker containers on Amazon's AWS infrastructure.

There are two components to The Clusternator. The command line client, and the server. Although it is not strictly necessary to run a server it is the target use case, and use of a clusternator server will be assumed, unless otherwise noted.

Client Requirements

  • NodeJs >= 12
  • GPG ~1.4 not included in OS X or Windows
  • OpenSSH (included on OS X, GNU/Linux)
  • Docker (optional)

Server Requirements

The server is designed to be deployed as a Docker container, so in a way, Docker is a requirement.

Installation (Client)

Make sure your system has the third party requirements, then from a shell run:

npm install -g clusternator

Installation (Server)

note this is NOT yet completely implemented

These instructions assume that by installing the server the user will be using a clusternator CLI client to deploy a clusternator server to a cloud service.

clusternator bootstrap

There will be a series of prompts. Once this is done other clients will be able to start using your clusternator server.

Quick Start

Quick start assumes your organization already has a running clusternator server, configured for your organization's cloud. This also assumes that your organization has a private GitHub repository for your project.

  • npm install -g clusternator
  • git clone ssh://git@github.com/my-organization/my-cool-project.git
  • cd my-cool-project
  • clusternator init
  • Follow the prompts
  • If everything goes well there will be a CLUSTERNATOR_SHARED_KEY, and a GITHUB_KEY provided at the end of the init
  • Turn on CircleCI for my-cool-project
  • One (1) environment variables need to be added:
    • CLUSTERNATOR_SHARED_KEY (from init)
  • Navigate to the github.com/my-organization/my-cool-project.git repository's web interface
  • Click settings
  • On the left nav bar click webhooks & services

That's it the project will produce new deployments each time a pull request is issued. The project will tear down those deployments when PR's close.

Developing Clusternator

yay contributions!

All code is in src/. The CLI entry point is bin/clusternator-cli.js, but includes from lib/ (the compile destination).

There are unit tests, and repl tests. Unit tests can be done by running npm test, assuming the project has been npm install'd. This is an alias to gulp test-unit

Code coverage can be found after tests are run, and is located in the (generated) coverage folder. Coverage includes lcov, json, and html.

License

Copyright (c) 2015 rangle.io

MIT License

Keywords

FAQs

Package last updated on 31 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc