Skip to content

[Release] Embed tasks in the cli #190

@sciabarracom

Description

@sciabarracom

Why you need it?

it is required to do a release embeding the tasks in the cli

How it could be?

  1. Change the looks logic of ops to locate the OPS_ROOT:
    Currently it looks for a folder called ./olaris then in ~/.ops/$OPS_BRANCH/olaris

We should add also add ~/.ops/.olaris as "last resort" - the .ops/.olaris will be initialized by the cli on first run using embedded task

  1. change the build to clone apache/openservleress-task 0.1.0 and embed in the binary

  2. at the cli startup, if there is not a ~/.ops./.olaris, extract it from the embedded
    tasks

Other related information

This way the cli will be able to work without downloading anything but you can still update the task with ops -update

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