Marwan Sulaiman
2d3250ffba
Init events
2020-07-31 14:43:37 -04:00
Marwan Sulaiman
dfb7887080
Allow Athens to Propagate Authentication to Mod Download ( #1650 )
...
* Allow Athens to Propagate Authentication to Mod Download
* update readme
* add pattern matching to auth propagation
* Propagate authentication to pre declared static host
* quote redis test
* fix flaky redis error message
* fix config tests
* fix config tests
* Update config.dev.toml
Co-authored-by: Ted Wexler <ted@stuckinacan.com >
* gofmt
Co-authored-by: Ted Wexler <ted@stuckinacan.com >
2020-07-30 17:06:53 -04:00
Marwan Sulaiman
46f176482f
pkg/stash: fix redis failing test ( #1656 )
2020-07-27 12:17:08 -04:00
Marwan Sulaiman
d6f06d0302
index: gracefully handle duplicate module indexes ( #1645 )
...
* index: gracefully handle duplicate module indexes
* fix memory impl
2020-07-03 10:42:51 -04:00
Marwan Sulaiman
52934cfa46
implement /index endpoint ( #1630 )
...
* implement /index endpoint
* rename to Module to Path
2020-06-24 14:29:30 -04:00
Marwan Sulaiman
0bb95c7351
pkg/storage: make Checker optional in storage.Backend ( #1580 )
...
* pkg/storage: make Checker optional in storage.Backend
* pass storage
2020-03-18 19:07:00 -04:00
Ted Wexler
939e695526
Adds redis sentinel support ( #1554 )
...
* Adds redis sentinel support
Fixes #1553
* Fix redis-sentinel test hostnames
* Fix redis master name again
* Fix redis sentinel port in tests
* Upgrade the redis client
* Rmoeve accidental config change
* Fix default config
* Addresses review comments
* Add documentation on single flight mechanisms
* Fix spelling issues
* Fix formatting
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com >
2020-03-17 13:04:37 -07:00
Matthew Plachter
71c57ef7ee
add config options for redis password ( #1545 )
...
* add config options for redis password
* redis password test and failure test
* changed redis name and made a minimal redis.conf
add drone volume
volume fix
remove volumes from drone.
repoint redis path
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com >
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com >
2020-02-25 16:18:04 -08:00
Marwan Sulaiman
0b649557bb
stasher: log when a stash event occurs ( #1518 )
...
* stasher: log when a stash event occurs
* rm space
2020-01-09 15:15:37 -08:00
Aaron Schlesinger
707b7b5413
Fixing the build failures from a missing GCS Key ( #1480 )
...
* Fixing the build failures from a missing GCS Key
Accidentally introduced in https://github.com/gomods/athens/pull/1428
* Adding a TODO to the drone build
* adding a step to test the Athens server startup
* Adding the JSONKey back to the default config
* use temporary image
* Switching back to the old env var for the GCS JSON Key
cc/ @marwan-at-work
* removing the ServiceAccount. we want to stick with JSONKey
* reverting to original key fetching code
* fixing build err
* bumping chart ver
2019-12-05 10:49:56 -08:00
Aditya Sharma
e0ec46b221
Add GCS to helm chart ( #1428 )
...
* Add GCS to helm chart
* base64 encode serviceAccount in the chart
* Standardize GCP Service Account references
* pipe storage.gcp.serviceAccount to quote
2019-12-03 18:28:07 -08:00
marpio
e2e5fe169a
Enable Azure storage and stasher tests in drone ( #1281 )
...
* enable azure ci tests
* add import
2019-08-30 12:38:06 -07:00
marpio
9974c16093
pkg/stash: Add Azure Blob implementation ( #1162 )
...
* add azblob sf stasher
* use http status const
* rm line
* cleanup, comments
* add test
* fix test
* skip test it no account key provided
* fix stash
* introduce stash timeout
2019-04-01 21:53:59 -07:00
Marwan Sulaiman
081ec9126e
pkg/stash: Add GCS implementation ( #1124 )
...
* pkg/stash: Add GCS implementation
* fix docs
2019-03-13 11:07:07 -07:00
Marwan Sulaiman
fb9437ddff
pkg/stash: implement a Redis lock for stashing ( #1116 )
...
* pkg/stash: implement a Redis lock for stashing
* fix tests
* fix op
2019-03-11 02:48:04 -04:00
Marwan Sulaiman
12ce2a6499
pkg/stash: add Etcd as a SingleFlight backend ( #1070 )
...
* pkg/stash: add Etcd as a SingleFlight backend
* fix config tests
* fmt
* pr fixes
* fix conflicts
2019-02-22 11:35:45 -08:00
Marwan Sulaiman
f0e931311b
pkg/stash: allow nonsemver requests to be resolved properly ( #1015 )
2019-01-07 20:51:22 -05:00
Michal Pristas
89d9dd2609
updated single letter props ( #746 )
2018-10-05 08:54:57 -07:00
Marwan Sulaiman
5dcaeb8ab8
Trace stash operations ( #682 )
...
* Trace stash operations
* fix build
2018-09-20 10:59:42 -04:00
Marwan Sulaiman
ea96158f8f
Athens: introduce Single Flight ( #573 )
...
* Athens: introduce singleflight
* fix ci
* small fixes
* Remove unnecessary method
* simplify folder structure
* dcoument stasher iface
* fixes
* Fix olympus
* Remove Version from Download Protocol
* fix olympus
* refactor fetcher
* consolodate wrapping styles
* fix olympus
* Further refactoring
* fix typo
2018-09-03 16:31:13 -04:00