All Projects → AlloVince → drone-ci-demo

AlloVince / drone-ci-demo

Licence: other
A Demo to show workflow of Drone CI + GitFlow + Semantic Release + Kubernetes

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to drone-ci-demo

drone-facebook
Drone plugin for sending Facebook notifications
Stars: ✭ 15 (-68.09%)
Mutual labels:  drone, drone-ci
ansible-drone
Ansible role to configure drone (server and agent)
Stars: ✭ 16 (-65.96%)
Mutual labels:  drone, drone-ci
drone-helm3
Helm3 plugin for Drone CI
Stars: ✭ 20 (-57.45%)
Mutual labels:  drone, drone-ci
deploy-drone
Deploy Drone CI to enable continuous integration ⚡️ on your product
Stars: ✭ 88 (+87.23%)
Mutual labels:  drone, drone-ci
Jmuxer
jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Stars: ✭ 222 (+372.34%)
Mutual labels:  drone
Drone Gke
Drone plugin for deploying containers to Google Kubernetes Engine (GKE)
Stars: ✭ 159 (+238.3%)
Mutual labels:  drone
Chorus Rf Laptimer
Stars: ✭ 155 (+229.79%)
Mutual labels:  drone
Djim100 People Detect Track
A ros demo for people detection and tracking on DJI M100 drone
Stars: ✭ 150 (+219.15%)
Mutual labels:  drone
drone-manifest
Drone plugin to push Docker manifests
Stars: ✭ 14 (-70.21%)
Mutual labels:  drone
Faster
3D Trajectory Planner in Unknown Environments
Stars: ✭ 246 (+423.4%)
Mutual labels:  drone
Gymfc
A universal flight control tuning framework
Stars: ✭ 210 (+346.81%)
Mutual labels:  drone
Mav active 3d planning
Modular framework for online informative path planning.
Stars: ✭ 164 (+248.94%)
Mutual labels:  drone
University1652 Baseline
ACM Multimedia2020 University-1652: A Multi-view Multi-source Benchmark for Drone-based Geo-localization 🚁 annotates 1652 buildings in 72 universities around the world.
Stars: ✭ 232 (+393.62%)
Mutual labels:  drone
Drone Ssh
Drone plugin for executing remote ssh commands
Stars: ✭ 155 (+229.79%)
Mutual labels:  drone
vue-cli-template-library
Template for developing open-source vue.js libraries with Rollup + Jest + Babel + Storybook + TravisCI + SemanticRelease
Stars: ✭ 61 (+29.79%)
Mutual labels:  semantic-release
Openkai
OpenKAI: A modern framework for unmanned vehicle and robot control
Stars: ✭ 150 (+219.15%)
Mutual labels:  drone
Hands On Devops
A hands-on DevOps course covering the culture, methods and repeated practices of modern software development involving Packer, Vagrant, VirtualBox, Ansible, Kubernetes, K3s, MetalLB, Traefik, Docker-Compose, Docker, Taiga, GitLab, Drone CI, SonarQube, Selenium, InSpec, Alpine 3.10, Ubuntu-bionic, CentOS 7...
Stars: ✭ 196 (+317.02%)
Mutual labels:  drone
Dronin
The dRonin flight controller software.
Stars: ✭ 238 (+406.38%)
Mutual labels:  drone
Drone Cache
A Drone plugin for caching current workspace files between builds to reduce your build times
Stars: ✭ 194 (+312.77%)
Mutual labels:  drone
Env Ci
Get environment variables exposed by CI services
Stars: ✭ 180 (+282.98%)
Mutual labels:  drone

A Demo to show workflow of Drone CI + GitFlow + Semantic Release + Kubernetes

Build Status

Step by step, to show how to build a powerful team development workflow with CI

Step 0: Hello world

  1. Use drone cloud or setup a private drone by k8s

Kubernetes config files under ./kubernetes

  1. prepare .drone.yml
kind: pipeline
name: deploy

steps:
- name: hello-world
  image: docker
  commands:
    - echo "hello world"

Step 1: For single person, manually release

  1. Add a secret in Drone, key is DOCKER_PASSWORD, value is your docker registry password

  2. prepare .drone.yml

kind: pipeline
name: deploy

steps:
  - name: unit-test
    image: node:10
    commands:
      - node test/index.js
    when:
      branch: master
      event: push
  - name: build-image
    image: plugins/docker
    settings:
      repo: allovince/drone-ci-demo
      username: allovince
      password:
        from_secret: DOCKER_PASSWORD
      auto_tag: true
    when:
      event: tag
  1. push to master branch will trigger unit test

  2. manually release on github will trigger building docker image

Step 2: For team develop, support GitFlow

Change .drone.yml as this

Step 3: For team develop, support GitFlow, with semantic-release

Change .drone.yml as this

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].