Giter VIP home page Giter VIP logo

Comments (7)

frsyuki avatar frsyuki commented on August 16, 2024

How do you want to declare that a schedule is disabled? Why don't you use commenting out?
Or do you want to disable a schedule temporarily?

from digdag.

frsyuki avatar frsyuki commented on August 16, 2024

Do you mean that deleting repository is not supported? Then please update the title.

from digdag.

danielnorberg avatar danielnorberg commented on August 16, 2024

I mean something that allows a user to disable/stop a pushed/scheduled workflow from executing without having to modify and push a new revision.

E.g. something like

# Disable the workflow
digdag disable <repo> <+name>

# ... Until
digdag enable <repo> <+name>

One of the useful scenarios for this is when a user (either the original author or another person in the same organization) doesn't actually have access to the workflow yaml file.

To make a parallell with e.g. travis-ci/circle-ci, it's possible to administratively stop/pause/disable the CI of a repo using the admin UI without having to make changes to .{travis,circle}.yml

from digdag.

frsyuki avatar frsyuki commented on August 16, 2024

OK. My idea was to add temporary-disabled-flag to a revision (like this: https://github.com/treasure-data/digdag/blob/master/digdag-core/src/main/java/io/digdag/core/database/DatabaseMigrator.java#L285 ) but adding flag to a schedule seems better.

I think this is useful also in production if an external service is in maintenance and we don't want to start workflow until it comes back.

Adding a disable flag to a workflow feels that require>: +name and call>: +name fails if +name is disabled. We need to decide...workflow or schedule.

from digdag.

frsyuki avatar frsyuki commented on August 16, 2024

#309 added REST API to do this.

from digdag.

danielnorberg avatar danielnorberg commented on August 16, 2024

#321

from digdag.

frsyuki avatar frsyuki commented on August 16, 2024

done

from digdag.

Related Issues (20)

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.