Coder Social home page Coder Social logo

artifacts-v2's People

Contributors

shawnzhu avatar

artifacts-v2's Issues

How to expose artifacts feature on Travis web/api

I've made travis-build to provide an addon to enable travis-worker uploading artifacts into artifacts server via a JWT token. There're two options in my mind to expose artifacts meta info to travis-web:

  1. add new api endpoint in travis-api like /api/jobs/<job-id>/artifacts so Travis web can pick up artifacts meta info via existing authentication of travis-api. Then the architecture design is, travis-api will serve as gateway of artifacts server for all API traffic.
  2. add the authentication method used by travis-api today to this artifacts server so that travis-web can redirect user to artifacts server directly. Then the artifacture design is, artifacts-server needs to access Redis and/or Postgres database of Travis CI.

@josh @meatballhat @rkh comments?

Uses RS256 instead of HS256 for JWT signature algorithm

Today

Now I use HS256 where it uses a single shared key to sign and verify JWT token signature. it is simple but requires configuration option on both travis-ci/travis-build and this feature.

Proposal

Uses RS256 where it uses an RSA private key (available in the context of a Travis build) to sign JWT token, artifacts server will use RSA public key (available when querying Travis Postgres database) to verify JWT token signatures.

The implementation will be more work but no configuration required on neither travis-build nor artifacts.

/cc @meatballhat

Runs artifacts feature on GCE

Run travis-artifacts on GCE so that we can start to experiment this feature in Travis CI first.

Including:

  • remove hard coded configuration option in code - E.g., #12
  • continuous delivery process via Travis CI - #15
  • uses a CLI framework to manage configuration - #13

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.