Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Add operations functionality #45

Open
cjellick opened this issue May 19, 2022 · 1 comment
Open

Add operations functionality #45

cjellick opened this issue May 19, 2022 · 1 comment
Milestone

Comments

@cjellick
Copy link
Member

cjellick commented May 19, 2022

The design dicussion around this yielded the following:

  • There are three entities involved here:

    • jobs
    • cronJobs
    • operations
    • jobTemplates
  • A job is something ran once during an acorn deployment. The acorn might say deploy a mysql container and run this job (at deploy time) to set the root password and insert some data in it.

  • A cronJob...is a job that runs on a cron instead of just once.

  • An operation is a description of extra functionality available to a deployed instance of that acorn like backup and restore.

  • A jobTemplate can be used in the definition of any of the above. It has the core definition of what will be ran. Each of the types can augment a template with their own fields. cronJob will have a cronSchedule field. Operation will define additional parmaters that the user can specify when they invoke the operation via the cli.

@cjellick cjellick added this to the MVP milestone May 19, 2022
@cjellick cjellick modified the milestones: OSS-MVP, OSS-POST-MVP Jun 20, 2022
@cjellick cjellick modified the milestones: OSS-POST-MVP, v0.2.0 Aug 8, 2022
@cjellick
Copy link
Member Author

cjellick commented Aug 8, 2022

Addition from @cloudnautique

Provide a way to define a job container that can run on demand(I'd like to stand up an instance to copy out a backup file for instance.).

I'm going to use this issue to encapsulate that ask. We'll need to get to the next level of definition for this

@cjellick cjellick modified the milestones: v0.2.0, v.Next Aug 8, 2022
@cjellick cjellick added the kind/enhancement New feature or request label Aug 8, 2022
@cjellick cjellick added kind/feature and removed kind/enhancement New feature or request labels Sep 6, 2022
@cjellick cjellick modified the milestones: v.Next, Long-Term Backlog Sep 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants