-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to expose artifacts feature on Travis web/api #17
Comments
I've managed to made option 2 via shawnzhu/travis-web@3765ce4
So far, the problem is user has to acquire a new JWT from |
This is an important question needs an answer because the design that a Travis CI user interacts with artifacts data determines the architecture:
These are generated from internal feedback from Travis CI enterprise users. |
Hey @shawnzhu I'm sorry for my delayed feedback. Maybe we can setup a call to go over any remaining questions? |
Summary@joshk suggests
There are also good inputs on improvements:
|
Thanks for writing this up @shawnzhu I believe the URL would need to be |
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
:travis-api
like/api/jobs/<job-id>/artifacts
so Travis web can pick up artifacts meta info via existing authentication oftravis-api
. Then the architecture design is,travis-api
will serve as gateway of artifacts server for all API traffic.travis-api
today to this artifacts server so thattravis-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?
The text was updated successfully, but these errors were encountered: