accenture / adop-gerrit Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
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
.
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.
docker-machine ssh adop-aws-demo
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
sudo mv delete-project.jar /var/lib/docker/volumes/gerrit_review_site/_data/plugins
sudo docker restart gerrit
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.