GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reanahub/reana-client-go: REANA command-line client in Go

BranchesTags
Open more actions menu

Latest commit

 

History

213 Commits
213 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
client
client
 
 
cmd
cmd
 
 
etc
etc
 
 
models
models
 
 
pkg
pkg
 
 
testdata/inputs
testdata/inputs
 
 
.commitlintrc.yaml
.commitlintrc.yaml
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.markdownlint.yaml
.markdownlint.yaml
 
 
.mise.toml
.mise.toml
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.yaml
.prettierrc.yaml
 
 
.release-please-config.json
.release-please-config.json
 
 
.release-please-manifest.json
.release-please-manifest.json
 
 
.yamllint.yaml
.yamllint.yaml
 
 
AUTHORS.md
AUTHORS.md
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
main.go
main.go
 
 
run-tests.sh
run-tests.sh
 
 

Repository files navigation

REANA-Client-Go

image image image image

About

REANA-Client-Go is a component of the REANA reusable and reproducible research data analysis platform. It provides a command-line tool that allows researchers to submit, run, and manage their computational workflows.

  • seed workspace with input code and data
  • run computational workflows on remote compute clouds
  • test completed workflow runs using Gherkin feature files
  • list submitted workflows and enquire about their statuses
  • download results of finished workflows

Usage

The detailed information on how to install and use REANA can be found in docs.reana.io.

Installation with Go

Install the published version with Go 1.27.4 or later:

$ go install github.com/reanahub/[email protected]

The executable is installed into go env GOBIN, or into $(go env GOPATH)/bin when GOBIN is not configured. Add that directory to PATH. This release requires an OIDC-enabled REANA deployment.

Installation from a source checkout

Install the executable into the Go binary directory:

$ make install

The destination defaults to the value of go env GOBIN, or to $(go env GOPATH)/bin when GOBIN is not configured. Make sure that this directory is present in PATH.

Set BINDIR to an absolute path to choose a different destination, such as a Python virtual environment's scripts directory:

$ make install BINDIR=/path/to/virtualenv/bin

Use the same destination to remove the executable:

$ make uninstall BINDIR=/path/to/virtualenv/bin

Testing completed workflows

Use test to evaluate a finished workflow run against Gherkin feature files:

$ reana-client-go test -w myanalysis.1

By default, the command reads feature file paths from tests.files in the stored reana.yaml specification and opens those paths from the current local project. Repeat -n/--test-files to override the specification:

$ reana-client-go test -w myanalysis.1 \
    -n tests/log-messages.feature \
    -n tests/workspace-files.feature

Bundling additional workflow source files

The create and validate commands upload a scoped specification bundle for server-side workflow loading. Declare every imported source explicitly under workflow.files or workflow.directories so it is available to the loader.

For example, given this Snakemake project:

analysis/
├── reana.yaml
├── Snakefile
└── rules/
    └── common.smk

where Snakefile contains include: "rules/common.smk", declare the included source in reana.yaml:

version: 0.9.0
workflow:
  type: snakemake
  file: Snakefile
  directories:
    - rules

Paths are relative to the directory containing the selected specification. Absolute paths, paths that escape through .., and symbolic links are rejected. Use workflow.files only for workflow definitions and configuration needed while loading the workflow; input datasets belong under inputs.files or inputs.directories.

Validation snapshots accept at most 1,000 files, 2,000 directories, 100 MiB of file content, and 64 relative path components. Symbolic links are not followed.

reana-client-go validate --environments performs offline image-reference checks and reports effective runtime identities. Add --pull to verify availability and inspect those images with your local container runtime and registry credentials; the REANA server does not contact image registries.

Shell completion

The reana-client-go supports shell completion for Bash and Zsh. To enable the auto-completion of commands and options, add the following to your shell configuration file:

Bash (add to ~/.bashrc):

source <(reana-client-go completion bash)

Zsh (add to ~/.zshrc):

source <(reana-client-go completion zsh)
compdef _reana-client-go reana-client-go

Useful links

  • REANA project home page
  • REANA user documentation
  • REANA user support forum
  • REANA-Client-Go known issues
  • REANA-Client-Go source code

About

REANA command-line client in Go

Resources

Readme
MIT license

Contributing

Contributing
Activity
Custom properties

Stars

2 stars

Watchers

8 watching

Forks

28 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.