All Projects → jmccann → drone-in-minikube

jmccann / drone-in-minikube

Licence: other
Run Drone inside minikube

Projects that are alternatives of or similar to drone-in-minikube

drone-gcloud-helm
Drone 0.5 plugin to create and deploy Helm charts for Kubernetes in Google Cloud.
Stars: ✭ 13 (-31.58%)
Mutual labels:  drone
CDTM-Deep-Learning-Drones
Course Material for CDTM Deep Learning Drones Course
Stars: ✭ 23 (+21.05%)
Mutual labels:  drone
OpenMAS
OpenMAS is an open source multi-agent simulator based in Matlab for the simulation of decentralized intelligent systems defined by arbitrary behaviours and dynamics.
Stars: ✭ 80 (+321.05%)
Mutual labels:  drone
drone-npm
Drone plugin for publishing packages to NPM
Stars: ✭ 21 (+10.53%)
Mutual labels:  drone
ZeroPilot-SW
Software for WARG custom autopilot
Stars: ✭ 13 (-31.58%)
Mutual labels:  drone
sbus
Arduino and CMake library for communicating with SBUS receivers and servos.
Stars: ✭ 277 (+1357.89%)
Mutual labels:  drone
ufomap
UFOMap: An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Stars: ✭ 117 (+515.79%)
Mutual labels:  drone
FMT-Firmware
FMT Autopilot Embedded System
Stars: ✭ 207 (+989.47%)
Mutual labels:  drone
drone-helm3
Helm3 plugin for Drone CI
Stars: ✭ 20 (+5.26%)
Mutual labels:  drone
RaspberryPilot
RaspberryPilot
Stars: ✭ 31 (+63.16%)
Mutual labels:  drone
beboptwo4g
4G/LTE softmod for the Parrot Bebop 2
Stars: ✭ 50 (+163.16%)
Mutual labels:  drone
FreeTAKUAS
DJI drone flying app with integrations for FreeTAKServer
Stars: ✭ 41 (+115.79%)
Mutual labels:  drone
oidckube
Wrapper for minikube that provisions and integrates it with Keycloak
Stars: ✭ 40 (+110.53%)
Mutual labels:  minikube
brain-powered
With the Brain Powered honourscourse at the UvA we aimed to control a drone using brain signals, measured by means of EEG, only.
Stars: ✭ 13 (-31.58%)
Mutual labels:  drone
elfie
Flight control for Eachine E10/JJRC H37 "Selfie" drone
Stars: ✭ 18 (-5.26%)
Mutual labels:  drone
ci
Gogs( GitHub )+Drone+Docker Registry | 私有化的 CI/CD & DevOps 解决方案
Stars: ✭ 37 (+94.74%)
Mutual labels:  drone
kubernetes-100days
Notes from 100 days with Kubernetes
Stars: ✭ 32 (+68.42%)
Mutual labels:  minikube
ansible-drone
Ansible role to configure drone (server and agent)
Stars: ✭ 16 (-15.79%)
Mutual labels:  drone
specification
The Cyphal specification documents are maintained here.
Stars: ✭ 38 (+100%)
Mutual labels:  drone
drone-ftps
Deploy to FTPS server from Drone CI build
Stars: ✭ 18 (-5.26%)
Mutual labels:  drone

Running Drone in Kuberenetes with Gitea

This is an effort to make it simpler to run Drone in Kuberenetes locally for developing patterns/solutions/drivers for Drone and kuberenetes.

Install minikube

Tool to easily install/setup/manage kubernetes inside virtualbox

https://github.com/kubernetes/minikube

Install kubectl

CLI tool for kubernetes

https://kubernetes.io/docs/user-guide/prereqs/

Create local kubernetes environment

minikube start --cpus 6 --memory 5000
# wait a few minutes

# Setup docker env to use docker in minikube vbox instance
eval #(minikube docker-env)

# See stuff running
kubectl get all
docker ps

Install/Configure gitea

kubectl apply -f gitea-deployment.yaml
kubectl apply -f gitea-service.yaml

# Wait a few minutes for gitea to download and start
kubectl get all
kubectl describe pod gitea

# Get URL to access gitea when everything is up
minikube service gitea --url

We will also need to set a host entry for gitea locally.

echo "$(minikube ip) gitea" >> /etc/hosts

Now login to your gitea instance (from minikube service gitea --url above) to finish setting it up. Create yourself an admin account as well.

  • Database Type: sqlite3
  • Application URL should match output of minikube service gitea --url

Install Drone

kubectl apply -f drone-secrets.yaml
kubectl apply -f drone-configmap.yaml
kubectl apply -f drone-server-deployment.yaml
kubectl apply -f drone-server-service.yaml
kubectl apply -f drone-agent-deployment.yaml

Create a repo

  1. Login to gitea - minikube service gitea --url
  2. Create a repo
  3. Login to Drone - minikube service drone-server --url
  4. Activate your repo in Drone
  5. FIX YOUR WEBHOOK
  • Go to webhook in gitea for repo you activated
  • Change to http://drone-server:8000/hook?access_token=xxxxx
  1. Clone the gitea repo and have fun!
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].