Skip to content

Feature: Option to disable/lock task templates #3365

@prakyathraj

Description

@prakyathraj

Related to

Web-Backend (APIs), Web-Frontend (what users interact with)

Impact

must have

Missing Feature

We use SemaphoreUI for Build and Deploy for our many services. Most of these services are ondemand, so our developers, who have taskrunner access, run the task templates whenever required. However, we have requirement where we need to lock/disable the build or deploy task templates. This is similar to blocking github merge before scheduled date.

For example: one team is running an important process/action which might take several hours to complete. In such scenarios, other team should not be able to deploy which will disrupt the process.

Can you please provide the option to disable/lock task template via UI and API(preferred).

Implementation

In UI, you can add the checkbox to Lock/Disable the task template. This would disable the deploy/run button
In API, you can add the option of Lock/Disable parameter in the request header.

Design

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions