Skip to content
This repository was archived by the owner on Oct 21, 2024. It is now read-only.
This repository was archived by the owner on Oct 21, 2024. It is now read-only.

Wait for another deploy to finish #93

@chilledornaments

Description

@chilledornaments

It would be convenient if the plugin checked for an existing on-going deployment and optionally waited for it to finish before proceeding.

Maybe we could add a setting for in_progress_build_behavior with an option to either "wait" or "cancel", with "wait" being the default. When the plugin detects another in-progress build and in_progress_build_behavior is set to "wait", the plugin would simply poll the deployment status on a long interval (60 seconds sounds reasonable). We would probably also need an in_progress_build_wait_timeout to end polling after a period of time.

When in_progress_build_behavior is set to "cancel", the plugin would simply log that there's another ongoing build and os.Exit(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions