Drone plugins > Github Search Downstream
github.svg

Github Search Downstream

by gboddin


Use this plugin to trigger builds for a list of downstream repositories fetched from a Github repository search. This is useful when updates to a repository have downstream impacts that should also be tested, and those repository are searchable on Github.

Example

kind: pipeline
name: default

steps:
- name: trigger
  image: gboo/github-search-downstream:latest
  settings:
    github_query: "org:drone-plugins topic:drone-plugin"
    drone_server: https://drone.example.com
    drone_token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Properties

  • github_query

    stringrequired

    Query to search Github for downstream repositories

    Default: none

  • drone_server

    stringrequired

    Drone server url

    Default: none

  • drone_token

    stringrequired

    Drone server token

    Secret recommended

    Default: none

  • github_token

    stringrequired

    Github token

    Secret recommended

    Default: none

  • ignore_missing

    booleanoptional

    continue triggering if build is not found

    Default: false

  • wait

    booleanoptional

    wait for any currently running builds to finish if true, else fails

    Default: false

  • timeout

    numberoptional

    how long to wait on any currently running builds.

    Default: 60