GithubHelp home page GithubHelp logo

ohassn / setup-cvmfs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cvmfs-contrib/github-action-cvmfs

0.0 0.0 0.0 21 KB

GitHub Action to Setup CernVM-FS

License: MIT License

Shell 100.00%

setup-cvmfs's Introduction

GitHub Action: eic/setup-cvmfs

This GitHub Action sets up CernVM-FS for use in GitHub Workflows.

Instructions

You can use this GitHub Action in a workflow in your own repository by with uses: eic/setup-cvmfs@main.

For example, the file .github/workflows/tests.yml could include the following stanza:

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: eic/setup-cvmfs@main

Optional Parameters

The following parameters are supported:

  • cvmfs_repositories (optional, defaults to atlas.cern.ch,atlas-condb.cern.ch,grid.cern.ch): the list of repositories to load.
  • cvmfs_http_proxy (optional, defaults to DIRECT): the http proxy to use with cvmfs.

Minimal Example

The following minimal example, which is also a workflow in this repository at .github/workflows/minimal-usage.yml, setups up CernVM-FS and lists the contents of the /cvmfs/eic.opensciencegrid.org directory.

name: Test setup-cvmfs action
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: eic/setup-cvmfs@main
    - name: Setup CernVM-FS
      run: cat /etc/cvmfs/default.local && ls /cvmfs/eic.opensciencegrid.org/

What Does This Action Do?

This GitHub Action installs the CernVM-FS debian package, and configures it with the CVMFS_REPOSITORIES and CVMFS_HTTP_PROXY settings optionally specified as arguments. It configures autofs to automatically mount the cvmfs repositories that are accessed.

Limitations

This GitHub Action makes no attempt at caching. Frequent use may incur overhead on the CernVM-FS servers you are accessing.

This GitHub Action is only expected to work in workflows that run on ubuntu targets (and even then likely only ubuntu-latest). This exludes the macos and windows targets.

setup-cvmfs's People

Contributors

wdconinc 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.