Git Product home page Git Product logo

droneci-spinnaker-stage's Introduction

CI Latest Kork Latest Orca

The Drone CI Spinnaker stage creates a custom pipeline stage that triggers a Drone CI Build This plugin implements the Stage Definition builder and each stage implements an Orca task for CI operations.

The plugin consists of a droneci-orca, droneci-igor, droneci-gate Kotlin server components and a drone-deck React UI component that uses the rollup.js plugin library.

This plugin is still alpha and contributions are very welcome. This plugin originates from the proposal for Drone CI Support for Spinnaker and Drone CI type for Spinnaker pipeline stage.

Drone CI configuration view

Version Compatibility

Plugin Spinnaker Platform
1.0.0 1.20.x

Usage

Configure the Spinnaker service. Put the following in the service yml to enable the plugin and configure the extension:

spinnaker:
    extensibility:
      plugins:
        odusanya18.drone-ci:
          enabled: true
          version: 1.0.0
          extensions:
            odusanya18.drone-ci:
              enabled: true
              config:
                masters:
                - name: master-name
                  baseUrl: http://drone-uri
                  token: private-token
                timeout: 3600
                backOffPeriod: 10
      repositories:
        droneci-spinnaker-plugin:
          url: https://raw.githubusercontent.com/Odusanya18/spinnaker-plugin-repository/master/repositories.json

Debugging

To debug the droneci server component inside a Spinnaker service (like Orca) using IntelliJ Idea follow these steps:

  1. Run ./gradlew releaseBundle in the plugin project.
  2. Copy the generated .plugin-ref file under build in the plugin project submodule for the service to the plugins directory under root in the Spinnaker service that will use the plugin .
  3. Link the plugin project to the service project in IntelliJ (from the service project use the + button in the Gradle tab and select the plugin build.gradle).
  4. Configure the Spinnaker service the same way specified above.
  5. Create a new IntelliJ run configuration for the service that has the VM option -Dpf4j.mode=development and does a Build Project before launch.
  6. Debug away...

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.