Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 2.94 KB

File metadata and controls

69 lines (50 loc) · 2.94 KB

coconut repository

manage git repositories for task and workflow configuration

Synopsis

The repository command performs operations on the repositories used for task and workflow configuration.

A valid workflow configuration repository must contain the directories tasks and workflows in its master branch.

When referencing a repository, the clone method should never be prepended. Supported repo backends and their expected format are:

  • https: [hostname]/[repo_path]
  • ssh: [hostname]:[repo_path]
  • local [repo_path] (local repo entries are ephemeral and will not survive a core restart)

Examples of valid repository identifiers:

github.com/AliceO2Group/ControlWorkflows (https)
gitlab.cern.ch/tmrnjava/AliECS_conf/ (https)
alio2-cr1-hv-gw01.cern.ch:/opt/git/ControlWorkflows (ssh)
/home/flp/git/ControlWorkflows (local filesystem - (*entry does not survive a core restart*))

By default, all short task and workflow names are assumed to be in the default repository (see coconut repo list command).

Any workflow from any repository can be loaded by providing a full and unique path, e.g. the following two are different workflows:

github.com/AliceO2Group/ControlWorkflows/workflows/readout-qc-1
gitlab.cern.ch/tmrnjava/AliECS_conf/workflows/readout-qc-1

By default a workflow is loaded from its state at HEAD in the master branch. A request to load a workflow can further be qualified with a branch, tag or commit hash:

readout-qc-1@readout-testing
gitlab.cern.ch/tmrnjava/AliECS_conf/workflows/readout-qc-1@5c7f1c1f

Make sure to run coconut repo refresh if you make changes to a configuration repository.

Options

  -h, --help   help for repository

Options inherited from parent commands

      --config string            optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
      --config_endpoint string   configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
      --endpoint string          AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
      --nocolor                  disable colors in output
      --nospinner                disable animations in output
  -v, --verbose                  show verbose output for debug purposes

SEE ALSO

Auto generated by spf13/cobra on 27-Nov-2024