GithubHelp home page GithubHelp logo

tower-autoconfig's Introduction

Nextflow Tower Auto-config

Configures Nextflow Tower credentials, compute env and top nf-core workflows automatically for any SSH accessible machine/HPC. Setup can take 2+ minutes for 10+ nf-core workflows since they are downloaded remotely during the API call. Tower pipelines currently can't exist without a compute env, which can't exist without credentials. This makes it quite slow to configure manually for a quick test.

Usage:

export TOWER_WORKSPACE_ID=<your-workspace-id> # Optional, defaults to personal
export TOWER_ACCESS_TOKEN=<your-bearer-token>
python tower_autoconfig.py setup 
...
python tower_autoconfig.py clean # Remove everything auto configured

Limitations:

  • WIP, config extremely coupled to UNSW Sydney HPC
  • GitHub credentials must be added using the Tower UI or adding many workflows starts to fail due to anonymous API limits
  • Supplying a workplace ID will make your HPC account accessible by everyone in the workspace
  • Pipeline names must be unique at an organization-level

Ideas:

  • Use PUT when possible
  • Improve error handling
  • Progress reporting, perhaps interactive for adding workflows as this could be considered optional
  • python tower_autoconfig renew for token expiry
  • Reconsider cost of mostly decorative labels

tower-autoconfig's People

Contributors

uwwint avatar walshkieran avatar

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.