Skip to content

[New plugin] httpcheck stage plugin #46

Description

@Ahmad-Faraj

A short description of the plugin

A stage plugin that checks an HTTP endpoint during a pipeline. The stage polls a given URL until it returns the expected status code or a timeout passes. Config is the URL, expected code, timeout and poll interval. Built on the piped plugin SDK and the Go standard library, no external dependencies.

The purpose and use-cases of the new plugin

A smoke test gate between stages. For example check that a service answers 200 after a deploy before promoting or running the next stage. It is also small, so it can work as a practical reference for people writing their first stage plugin, which came up in the newcomers meeting as something that is missing.

GitHub ID of Code Owner(s)

Ahmad-Faraj

Directory Name

httpcheck

Additional information

armistcxy mentioned an http-check plugin in the newcomers meeting chat. Can adjust scope if there is a preferred shape for it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions