Giter Club home page Giter Club logo

hop's People

Contributors

dudadornelles avatar mfanderson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

hop's Issues

manage backups

possibly using 'backup backends' to define a bit of how/where. There has to be some sort of interface between the provider and the backup_backend so that the provider can hand the data off.

documentation

how to proceed? readthedocs.org?

Summary:

  • Introduction
  • Getting Started
  • Plans
  • Providers

move methods from HopConfig to LocalDockerConfig

Some of the methods that are provider specific in HopConfig should be moved to LocalDockerConfig.

HopConfig should only have methods/property that are relevant to hop and not to the providers/auth backends/any future backend.

local_docker: scale agents down

Consider a new command for the future: hop scale. Maybe add the concept of 'initial # of agents' for hop.yml but control the # of agents after that 'hop scale'

For now will just look at how many agents are running and kill the ones with higher index till it matches 'providers.agents.instances'

manage role mapping

either adding a roles field to hop.yml or having a roles.yml in the root.

roles:
  - developer:
    - dev1
    - dev2
    - admin

  - deploy-to-production:
    - dev2

  - admin:
    - admin

create ecs provider

Hop should manage the ecs cluester too, it could detect that a cluster is too small and resize itself when running provision.

provider plugin design

currently all a provider needs to define is a function provision(hop_config). Should we use actual interfaces (zope-interface)?

Also, what are other methods that the provider has to implement and how do they empower the CLI?

create ec2_docker provider

user should be able to define:

  • ami
  • instance type

the provider should:

  • create an ec2 instance with docker in it
  • expose the docker api over TCP/TLS
  • run the same local_docker plan but using a remote client

==
extras:

  • EBS for database volume
  • EBS for artifacts
  • backup db to s3 job
  • route 53 elb and AWS certs for SSL

providers should allow more than one type of agent

the agents value in hop.yml should be a more complex object:

agents_prefix: hop-agent # this used to be inside the agents key
agents:
    gocdhop/hop-agent:
        instances: 2
    otherrepo/specialized-agents:
        instances: 1
        tags: specialized

secrets in hop?

what to do about secrets that the pipelines need at 'runtime'?

options:

  • create a comand hop encrypt so users can encrypt values and check them in using the gocd api. Problem is that the gocd encryption algorithm is not safe and that a new gocd installation will have a different cipher. Potential fix would be to have the cipher as an input for hop provision so you could always reuse the same parser.
  • reuse admin password to encrypt/decrypt secrets so we can keep them in source control?
  • vault?

Also, about secrets needed at provisioning time, what to do about those? env vars could go a long way here for now

make auth a plugin system as well

currently local_docker provider supports passwd files only, but it must be possible to decouple that and create the concept 'auth backends'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.