Giter VIP home page Giter VIP logo

dynamic-metalink-resource's Introduction

dynamic-metalink-resource

A Concourse resource for managing versions/files from arbitrary sources.

Source Configuration

  • version_check - a script to execute which will output an unordered list of all semvers (one per line)
  • metalink_get - a script to generate metalink content for the given version passed as an environment variable
  • signature_trust_store - identities and keys used for signature verification
  • skip_hash_verification - skip hash verification of files
  • skip_signature_verification - skip signature verification of files
  • version - a supported version constraint (e.g. ^4.1)
  • include_files - a list of file globs to match when downloading a version's files (used by in)
  • exclude_files - a list of file globs to skip when downloading a version's files (used by in)

Operations

check

Check for new versions.

Version:

  • version - semantic version (e.g. 4.1.2)

in

Download and verify the referenced file(s).

  • .resource/metalink.meta4 - metalink data used when downloading the file
  • .resource/version - version downloaded (e.g. 4.1.2)
  • * - the downloaded file(s) from the metalink

Parameters:

  • skip_download - do not download blobs (only metalink.meta4 and version will be available)

Metadata:

  • bytes - total bytes of files
  • files - number of files

out

Unsupported.

Usage

To use this resource type, you should configure it in the resource_types section of your pipeline.

- name: dynamic-metalink
  type: docker-image
  source:
    repository: dpb587/dynamic-metalink-resource

The default latest tag will refer to the current, stable version of this Docker image. For using the latest development version, you can refer to the master tag. If you need to refer to an older version of this image, you can refer to the appropriate v{version} tag.

Examples

Some examples of using this resource for upstream dependencies (e.g. golang, nginx, openssl) are available in examples.

License

MIT License

dynamic-metalink-resource's People

Contributors

dpb587 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

dynamic-metalink-resource's Issues

Add "pup" (like "jq", but for HTML) to the docker image

Hello,

thanks for dynamic-metalink-resource, we are happy users of it!

We are tracking a product whose release is announced only via HTML, no JSON :-(
As such, to use dynamic-metalink, we do a series of ugly sed on the HTML page.

Looking around, I found pup (https://github.com/ericchiang/pup) which can really be described as "jq, but for HTML".

Would you consider adding it to the resource?

thanks!

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.