circleci_redirection

Version, currently master branch1 version
  • master branchlatestOct 20, 2018

github.com/Schniz/circleci_redirection

Use Circle CI's artifact system to host binaries and documentation

3 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  circleci_redirection:
    github: Schniz/circleci_redirection
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.26.1
License
MIT
Author
Gal Schlezinger
Target
  • circleci_redirection from src/circleci_redirection.cr

Dependencies

Runtime Dependencies

  • kemal*github: kemalcr/kemal

README

CircleCI Artifact Redirection

See the source!

This service redirects you to the latest build artifacts in CircleCI. It can help you use Circle CI's artifact system to provide binaries or even serve your documentation.

Usage

There is one route to this service: /:lookup/github/:repo_owner/:repo/:branch/*path

Parameters

All parameters are case sensitive!

  • :lookup can be file for exact file, or wildcard to support wildcards
  • :repo_owner is the github organization or username
  • :repo is the github repository name
  • :branch is the branch name
  • *path is the rest of the path. If lookup is wildcard, you can use wildcards to find files easily.

Examples

  • /file/github/TechMagister/couchdb.cr/master/docs/index.html will redirect you to the docs of the CouchDB.cr crystal shard. Try it here!
  • /wildcard/github/crystal-lang/crystal/master/*linux-x86_64.tar.gz would give you the latest nightly Crystal release. Try it here!

Contributing

  1. Fork it (https://github.com/Schniz/circleci_redirection/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request
  6. :moneybag:

Contributors

  • Schniz Gal Schlezinger - creator, maintainer