GithubHelp home page GithubHelp logo

debile's People

Contributors

athos-ribeiro avatar clemux avatar jonseverinsson avatar leocavaille avatar lucaskanashiro avatar lukhio avatar mdimjasevic avatar mohit7 avatar paultag avatar sylvestre avatar tianon avatar ximion avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

debile's Issues

Docker: broken default master.yaml

The default contrib/clemux/docker/debile-master/master.yaml seems to specify the wrong path to PGP keyring. Currently it is "/srv/debile/keyring.pgp"; it should be either "/srv/debile/.gnupg/pubring.gpg" or, if I'm building the data container wrong, "/srv/debile/keyring".

Potential bug in the sbuild runner

There is something that seems like a bug to me and it is in https://github.com/opencollab/debile/blob/master/debile/slave/runners/sbuild.py#L85 :

def ensure_chroot_sanity(chroot_name):
    out, _, _ = run_command(['schroot', '-l'])
    for chroot in out.splitlines():
        chroot = chroot.strip()
        chroots = [
            chroot,
            "chroot:%s" % (chroot)
        ]
        if chroot in chroots:
            return True
    raise ValueError("No such schroot (%s) found." % (chroot_name))

Shouldn't the if-statement read:

        if chroot_name in chroots:

instead?

debile-remote: add commande update-builder

debile-remote should be able to modifiy a builder's configuration

The more urgent functionality is the ability to change a builder ip address (for ip-based authentication).

Relevant files are:

This diff can give some pointers: 0fdea93

Basically:

  1. add a "update_builder" handler in the server interface (debile/master/interface.py)
  2. add a "update-builder" command to debile-remote (debile/utils/cli.py)

Fix debile-slave-import-conf contrib script for simple auth. And test it.

debile-slave-import conf (in contrib/debian) currently only works with the SSL-based authentication backend.

It needs an argument for disabling the SSL-only configuration keys, and should handle the PGP key import itself (currently done with the shell script debile-slave-import-cred), for better testability.

Also it should be covered by unit tests.

debile-slave and debile-master: add support for 'auth_method' configuration key

To use the simple authentication backend with debile-slave and debile-master, we currently need to pass --auth simple as a CLI argument.

On the other hand, debile-remote can (and must) use the simple auth with a configuration key in /etc/debile/user.yaml: auth_method.

For consistency and easier configuration of debile-slave and debile-master, we should add the support for 'auth_method' configuration key in slave.yaml and master.yaml.

Hints:

docker: import user pgp key

The pgp key of the user that will upload packages should be imported at built time.

Files to change:

  • contrib/clemux/docker/debile-data/Dockerfile
  • contrib/clemux/docker/README.rst

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.