Commit Graph

32 Commits

Author SHA1 Message Date
R Tyler Croy 7ad8b8eed7 Fix cols 2020-09-12 10:36:47 -07:00
R Tyler Croy 153509c935 Minor documentation tweaks 2020-09-12 10:34:46 -07:00
R Tyler Croy 7e883d84f4 Clean up a lot of the older files 2020-09-12 10:31:52 -07:00
R Tyler Croy 70b5a5371c Proxying and deserializing the upstream manifest API 2020-09-12 10:29:42 -07:00
R Tyler Croy b3c953f427 Clearly proxy upstream for digest requests contaminate cannot/should not serve locally 2020-09-12 10:02:48 -07:00
R Tyler Croy 6692a13cdd Add the AGPLv3 license 2020-09-12 09:49:22 -07:00
R Tyler Croy 46c3e47c40 Implement override checking to make sure we've got the data we need in the layers_dir 2020-09-12 09:49:05 -07:00
R Tyler Croy 42ad960b0c Add the snippet of code for checksumming layers for metadata 2020-09-09 10:54:05 -07:00
R Tyler Croy 036ebe5372 Properly proxy the request upstream
This "works" in that it will proxy the request, but no inline modification is
happening yet
2020-09-07 14:59:54 -07:00
R Tyler Croy be715f7a55 Bringing up to the latest dependencies 2020-09-07 14:52:22 -07:00
R Tyler Croy edf132854e
Add this support directory for some simple testing 2020-07-19 14:12:14 -07:00
R Tyler Croy 039c550c68
Work in progress for checking to see if we have layers to contaminate 2020-02-02 13:52:29 -08:00
R Tyler Croy 236cb09577
Pull in serde with the appropriate features to get my derive macro working 2020-02-02 13:52:28 -08:00
R Tyler Croy dcfcff4874
Add some of my hacking notes to the README 2020-02-02 13:52:28 -08:00
R Tyler Croy 57afb382f8
Ensure Content-Type is proxied such that all v2 requests proxy correctly
With this commit, Contaminate is effectively able to act as a fairly dumb docker
registry proxy
2020-02-02 13:52:27 -08:00
R Tyler Croy 6b0dcbce01
Complete proxy_upstream 2020-02-02 13:52:26 -08:00
R Tyler Croy b7b97fa69f
Add the shoreman tool for some local testing 2020-02-02 13:52:25 -08:00
R Tyler Croy d8768d12ae
Create the scaffolding in Tide for Contaminate, nothing but /v2/* is implemented 2020-02-02 13:52:25 -08:00
R Tyler Croy df8c932a0c
Create a simple test_registry binary which just dumps out JSON at the moment
This gives Contaminate something to talk to, at least while I'm on the plane ^_^
2020-02-02 13:52:22 -08:00
R Tyler Croy 688e0cbe86 Work-in-progress reworking in Rust 2020-02-01 03:54:18 -08:00
R Tyler Croy 1012975f35
Change the name a wee bit 2020-01-22 21:44:25 -08:00
R Tyler Croy 0bd2a88c01
Checkpoint the last of the JavaScript work 2020-01-22 21:32:19 -08:00
R Tyler Croy 86cb49a189
Add node-cache which will be used for a number of different internal operations
Since we need to keep track of some data in between multiple requests by the
client
2019-10-20 16:00:07 -07:00
R Tyler Croy 888fee1be2
Refactoring to do on-the-fly processing of layers
This will allow the layers.d/ directory to be full of tarballs and Ahab can
figure out whatever intermediate checksums it might need at runtime.

With this in place, the request dance with the upstream manifest API can begin!
2019-10-20 12:25:53 -07:00
R Tyler Croy fe173e0e6c
Add some of my hacking notes which have helped me figure out these APIs relationships 2019-10-20 11:29:36 -07:00
R Tyler Croy 665bd286a6
Add a totally hacked script which I used to fetch API responses 2019-10-20 11:22:02 -07:00
R Tyler Croy 489451e38f
Add the basic readme with some sorta kinda maybe docs 2019-10-20 11:12:37 -07:00
R Tyler Croy f55210f62b
Add request-promise to start chaining some inline request logic 2019-10-20 11:08:37 -07:00
R Tyler Croy 9a953bd9b5
Add an example layers directory for the server to read from 2019-10-20 11:07:36 -07:00
R Tyler Croy e197256e5b
Refactoring quite a bit to make this all less hard-coded
Now that I sorta know what I'm doing, I can make this a bit more realistic
2019-10-20 11:05:38 -07:00
R Tyler Croy d4fe010f13
Add some hacky prototype express work to return a modified hello-world container
Figured some things out, but was mostly just piecing things together by hacking
on responses
2019-10-19 22:31:15 -07:00
R Tyler Croy 312625e4b0
Initial commit 2019-10-19 22:28:24 -07:00