Commit Graph

21 Commits

Author SHA1 Message Date
Rick Beton
f8bdeb52f6 SystemD installation (#1445)
* First implementation; older systemd is not yet supported; SysV is not supported at all

* small correction

* more documentation; manual testing confirms that Athens is working as a SystemD service

* documentation updates

* removed differences from author/master branch
2019-12-05 16:53:40 -08:00
Aaron Schlesinger
258e8b1a3c ignoring vscode local settings dir (#1076) 2019-02-21 21:44:34 +01:00
Aaron Schlesinger
c2647da423 Adding ability to run all tests inside docker containers (#973)
* Adding ability to run all tests inside docker containers

* Adding test dockerfile

* Small changes to the testing sections
2019-02-15 19:16:02 +01:00
Marwan Sulaiman
5870aeee8d Remove Buffalo (#1010)
* Remove Buffalo

* gofmt

* pr fixes

* fix subrouter

* bring back secure middleware + pr fixes

* better place for subrouter

* vendor
2018-12-22 20:24:25 -05:00
Henry Jenkins
532e93e119 Remove Olympus code (#779)
* Remove nolonger used moniker package

Usage was removed in 97d8013

* Remove reference to Zeus

Use name Proxy for now.

* Remove Olympus code

See github issue #777

* Remove Olympus related vendor modules

* Mention Olympus removal in docs

* Add note about no registries existing

* Remove eventlog

* Update docs for Olympus removal
2018-10-22 11:52:02 -07:00
Rohan Chakravarthy
0e470d0294 Plumb config - Latest (#627)
* switch proxy to config file

pull in single flight changes

* changes for single-flight

* intermediate stage. All tests passing. pkg still has env refs

* remove all env references

* delete config/env entirely

* fix failing tests

* create the config.toml file as part of dev setup

* create config file only if it doesn't exist

* update Dockerfiles to use config file

* move composing elements to the top

* verbose parameter naming

* newline

* add flag for config file path

* update docs with config file flag

* remove unnecessary nil check

* use filepath.join

* rename redis port to address

* fix path.join

* fix issues after merge

* add vendor dir
2018-09-11 15:04:20 -07:00
Marwan Sulaiman
487e297490 Athens: add .DS_Store to gitignore (#550) 2018-08-22 12:46:29 -04:00
Marwan Sulaiman
8ef3a5254c Athens: add .idea to gitignore (#555) 2018-08-22 12:09:26 -04:00
Aaron Schlesinger
b1f178072f adding ignores (#303)
for vscode config dir and binaries
2018-07-19 10:11:44 -07:00
Rob j Loranger
2018538c94 finish gcp implementation (#208)
adds gcp implementation of the (./pkg/storage.Backend) interface
2018-07-14 14:14:24 -07:00
Marwan Sulaiman
e342cefbd9 Olympus: implement download protocol (#238)
* Olympus: implement download protocol

* Download: change path names

* Git ignore tmp directories
2018-07-10 12:01:09 -07:00
Rob j Loranger
9e76722acc GCP storage saver (#183)
* Add Dependencies for GCP

cloud.google.com/go/storage
google.golang.org/api/option // allows authetication options for storage
github.com/golang/protobuf // override to fix dependency issue

issue was with a protobuf library required by the storage library.
it was importing v1.0.0 but referencing code from v1.1.0

* WIP mostly roughed out

some small descisions to be made and testing is missing

* rename gcp.go to saver.go

* rename gcp.go to saver.go

* Requested Changes

+ closing the storage.Client is not required
+ move increment of count into 'for' line
+ add tracing span for save helper
+ removed projectID from New signiture, unused

* basic test, just testing generator so far

* Readability fixes

+ change calls to save so they send directly to the errs channel
+ return wc.Close instead of checking the error first
+ also remove failing part of tests for now, needs authentication

* Happy Path Tests

- removed use of buffalo.Context
- (storage).Save no longer accepts a context
+ includes basic happy path tests
+ private key for test project praxis-cab-207400.appspot.com

* messy gitwork

* remove keys

* ch-ch-changes🎶

+ defer close of storage.Writer, logging to be decided
+ correct check on length of errsOut
+ set inital length of errsOut to 0

* more stuff is in here

+ switch to context being passed again
+ use context with timeout instead of time.After
+ tests pull creds from env variable

missing skipping tests when no variable is set and teardown is no
implemented

* skip gcp storage tests when no key file present

* speed up tests a little

* need aetest pkg

* add aetest to Gopkg.toml explicitly

* tear down suite deletes storage artifacts

* should setup whole suite

* log error on wc.close and close errs chan

* cleaner check for env var

* use envy where appropriate and pull gcp bucket name from env var

* one more for consistency

I like the comma ok idiom better in this case but everything else is
using envy.

* don't panic in test set up and tear down

* use shared context with timeout and switch to seconds for duration

* no one needed the context.Cancel func. use `file` instead of `content` for consistency

* defer cancellation of context for uploads

* Update saver.go

+ rename `save` to `upload`
+ clarify comments
2018-06-25 15:49:56 -06:00
Aaron Schlesinger
38a9ff3b87 Adding a DB diff handler (#153)
* Adding a DB diff handler

* Op => EventOp

to clear up confusion

* deleting and ignoring  proxy binary
2018-06-06 11:44:52 -07:00
Brian Ketelsen
cf6a6f4e3f UI: Start UI (#35)
* UI: Start UI

* link to github auth

* save point

* simplify the UI a lot

* make a separate renderer for proxy vs registry

* get rid of debug

* update deps

* remove unneeded assets
2018-03-21 17:09:45 -04:00
Aaron Schlesinger
353c1e35d1 Moving to cobra for the CLI (#7)
* [WIP] Moving to cobra for the CLI

Fixes https://github.com/gomods/athens/issues/6

* dep ensure

* dep ensure

* travis ignoring vendor for 1.8

* disabled 1.8 for travis
2018-03-07 09:16:09 -05:00
Brian Ketelsen
ef2a8230b9 basic github oauth (#23) 2018-03-02 11:22:38 -08:00
Brian Ketelsen
0b7c180f50 athens: changed import path 2018-02-26 14:15:37 -05:00
Aaron Schlesinger
89eeef7da1 adding CLI and refactoring payload defns 2018-02-25 14:34:01 -08:00
Aaron Schlesinger
9b134725c9 more boilerplate 2018-02-25 12:42:39 -08:00
Aaron Schlesinger
51ab360f64 ignoring some stuff 2018-02-25 12:27:14 -08:00
Aaron Schlesinger
e6106038f3 Initial commit 2018-02-25 12:19:42 -08:00