Giter VIP home page Giter VIP logo

bosondata / badwolf Goto Github PK

View Code? Open in Web Editor NEW
88.0 17.0 12.0 956 KB

Docker based continuous integration, continuous deployment and code lint review system for BitBucket

Home Page: https://badwolf.readthedocs.io/en/latest/

License: MIT License

Python 91.77% HTML 5.34% Shell 0.14% Dockerfile 2.74%
bitbucket docker lint-review continuous-integration continuous-deployment continuous-delivery continuous-testing devops

badwolf's Introduction

badwolf

badwolf

Build Status codecov PyPI Docker Image

What is badwolf

Docker based continuous integration and code lint review system for BitBucket

Features:

  1. Run tests in Docker container
  2. Supports multiple test scripts
  3. Supports multiple after success/failure scripts
  4. Supports E-mail/Slack notification
  5. Supports code linting

Documentation can be built using Sphinx in docs/ directory.

License

MIT

badwolf's People

Contributors

messense avatar reallinfo avatar

Stargazers

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

Watchers

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

badwolf's Issues

New logo for Badwolf

I wanted to contribute to Badwolf and I designed a logo for Badwolf. If you like it, I'll send you the files.

1

Pipeline abstraction

  • Rename BuildRunner to Builder
  • Rename badwolf.runner module to badwolf.builder module
  • Split out Git repository cloning to badwolf.cloner module
  • Cleanup Builder codes
  • Pipeline abstraction

Report Dockerfile parse error

eg:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 214, in _raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.6/dist-packages/requests/models.py", line 909, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: http+docker://localunixsocket/v1.28/build?t=deepanalyzer-overseas&q=False&nocache=False&rm=True&forcerm=True&pull=False&dockerfile=Dockerfile

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/badwolf/tasks.py", line 23, in _run_task
    _task_func(*args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/badwolf/tasks.py", line 39, in start_pipeline
    Pipeline(context).start()
  File "/usr/local/lib/python3.6/dist-packages/badwolf/pipeline.py", line 47, in start
    build_success = self.build()
  File "/usr/local/lib/python3.6/dist-packages/badwolf/pipeline.py", line 127, in build
    return Builder(self.context, self.spec, build_status=self.build_status).run()
  File "/usr/local/lib/python3.6/dist-packages/badwolf/builder.py", line 60, in run
    docker_image_name, build_output = self.get_docker_image()
  File "/usr/local/lib/python3.6/dist-packages/badwolf/builder.py", line 138, in get_docker_image
    for log in res:
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 305, in _stream_helper
    yield self._result(response, json=decode)
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 220, in _result
    self._raise_for_status(response)
  File "/usr/local/lib/python3.6/dist-packages/docker/api/client.py", line 216, in _raise_for_status
    raise create_api_error_from_http_exception(e)
  File "/usr/local/lib/python3.6/dist-packages/docker/errors.py", line 30, in create_api_error_from_http_exception
    raise cls(e, response=response, explanation=explanation)
docker.errors.APIError: 500 Server Error: Internal Server Error ("Dockerfile parse error line 9: Unknown instruction: APT-KEY")

ci retry on commit error

 'git checkout be9660b026e203e1fbf9dc5bc456050aed9eb72a' returned with exit code 128 stderr: 'fatal: reference is not a tree: be9660b026e203e1fbf9dc5bc456050aed9eb72a'

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.