Skip to content

Commit

Permalink
Drone Support
Browse files Browse the repository at this point in the history
  • Loading branch information
Vouu committed Nov 9, 2023
1 parent 8df3cdf commit 53e04c2
Show file tree
Hide file tree
Showing 6 changed files with 50 additions and 0 deletions.
41 changes: 41 additions & 0 deletions servapps/Drone/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"cosmos-installer": {},
"minVersion": "0.8.0-unstable9",
"services": {
"{ServiceName}": {
"image": "drone/drone",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"environment": [
"TZ=auto",
"DRONE_SERVER_PROTO: https",
"DRONE_SERVER_HOST: {Hostnames.{StaticServiceName}.{StaticServiceName}.host}",
"DRONE_RPC_SECRET: {Passwords.0}",
"USER_GID=1000"
],
"labels": {
"cosmos-network-name": "AUTO",
"cosmos-auto-update": "true",
"cosmos-icon": "https://comos.manhtuong.net//servapps/Drone/icon.png"
},
"volumes": [{
"source": "{ServiceName}-data",
"target": "/data",
"type": "volume"
}],
"routes": [{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:80",
"mode": "SERVAPP",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
}
}]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Drone/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Drone",
"longDescription": "<p>Drone CI is an open-source CI server acquired by Harness. It is used to build and test software, either on a developer's local machine or in a continuous integration environment like any public cloud.</p><p>With Drone, you can automate your software delivery pipeline from code commit to production.</p><p>In addition to building software, Drone allows you to build, test, and deploy your applications.</p><p>Drone CI is considered a modern CI tool as it uses the declarative approach in the form of YAML files to automate tests and extensively employs Docker containers at every step. The build pipelines take less time, and it is easy to set up and run.</p>",
"description": "Drone by Harness™ is a modern Continuous Integration platform that empowers busy teams to automate their build, test and release workflows using a powerful, cloud native pipeline engine.",
"tags": ["development", "git", "repository management", "code collaboration", "issue tracking", "go", "self-hosted", "gitea"],
"repository": "https://www.drone.io/",
"image": "https://hub.docker.com/r/drone/drone",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Drone/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Drone/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Drone/screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Drone/screenshots/3.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 53e04c2

Please sign in to comment.