Giter Site home page Giter Site logo

adop-gerrit's People

Contributors

anton-kasperovich avatar nickdgriffin avatar quirinobrizi avatar rushan37 avatar sachinksingh28 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

Watchers

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

adop-gerrit's Issues

Option to disable jenkins key upload to Gerrit instance

Problem:

Some projects already have their own Jenkins instance (not adop) or they maybe using something else such as Bamboo or GoCD. They just want to deploy Gerrit as an addition to their DevOps tooling stack.

Simple solution:

If we can have something like, $GET_SSH_JENKINS_KEY = false, then skip running upload_ssh_key.sh.

Deleting projects in Gerrit

Sometimes, you need to cleanup Gerrit and remove repositories. In these cases, there is no way of doing that from Gerrit web interface, and using CLI and direct database manipulation is not really recommended.
Fortunately for us, there is a delete project plug-in for Gerrit. I'm using it, for example for demo boxes that I want to clean after a demo, so platform is ready for a new one.
My approach is manual after ADOP is provisioned. But it would be easy to modify the image to include the plug-in if others find it useful.

How to:

  1. SSH into the Docker machine, e.g.:

docker-machine ssh adop-aws-demo

  1. Download plug-in from Gerrit Forge (note which version of Gerrit you have, to get the right plug-in version):

wget https://gerrit-ci.gerritforge.com/view/Plugins-stable-2.10/job/plugin-delete-project-stable-2.10/lastSuccessfulBuild/artifact/buck-out/gen/plugins/delete-project/delete-project.jar

  1. Move the plug-in to Gerrit plug-ins folder:

sudo mv delete-project.jar /var/lib/docker/volumes/gerrit_review_site/_data/plugins

  1. Restart Gerrit container:

sudo docker restart gerrit

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.