* add powershell commands
* split the semicolon onto two lines instead
* split another semicolon onto two lines instead
* remove does not work on windows warning
* fix powershell typo
* fix type in modules enables not supported notification
* use start-process instead of start
* complete updated config package
* use envconfig+toml instead of viper. Add descriptions in example config file
* add unit tests
* debug gofmt on build server
* force dummy commit
* skip gofmt to validate other tests are passing
* unset env vars for example file parsing test
* cleanup tests
* test improvements
* re-enable gofmt
* naming
* PR comments
* fix failing test after olympus default endpoint change
* remove rdbms config
* set defaults in code
* add support for proxyfilteroff
* add basic auth params
* update gopkg.lock
* undo gopkg.lock changes made during merge
* remove defaults
* explicitly specify all env variables
* remove rdbms from example
* remove user and pass to disable basic auth by default
* switch to memory by default for the proxy
* fix tests after config file change
* Added templates
* made minor changes
* Modified temps
* made requested changes
* Added requested changes 2
* Made requested changes 3
* Added final changes
* Set a default value for ATHENS_MONGO_CONNECTION_STRING env var
- ATHENS_MONGO_CONNECTION_STRING will default to mongodb://127.0.0.1:27017 if not set
* Fix Get function call
* Update user of env.MongoConnectionString
* update travis to Go 1.11
* update check_deps ci script
ci for checking dependencies should now check Go module files and use go mod verify
* remove uneeded comment
* set GO111MODULE
* debug GO111MODULE propagation
* rm dep installation
* debug GO111MODULE propagation
* rm debug statements
* use Go point releases in ci
* remove references to Go1.11 RCs
* run ci with GO111MODULE auto and also on
* use matrix
* add script and step to verify stage of makefile
* this commit should fail the build
* build should now pass
* fix typo in excludes for grep
* better output on failure
also removes tilde from initial regex, git does not use tilde in diffs
adds output of filenames with detected regex on failure
* chart skeleton
* doing more stuff on templates
* Adding disk storage root env var
In case you set the storage type to disk, then you can set the storage root
* Defaulting disk storage root location
* defaulting to go binary path as installed in dockerfile
* Adding Adding Service and Ingress to Chart
* In sync with newer docker image, added the ability to use a PVC!
* Refactored charts, added skeleton install
Co-authored-by: Aaron Schlesinger <arschles@gmail.com>
* Adding more documentation
* Adding newlines
* Updated to v0.1.0 !!!
* Updated repo to gomods/proxy
* WIP "installation" guide
This PR adds an installation guide with instructions on how to use
disk storage to achieve persistent storage.
Closes#533
* Formatting cleanup
* Swapped to Docker based instructions
* Moved install into "install" directory, added PowerShell commands
* Fixed wording about running container and environment variables
* Fixed a type-o
* Code review comments, cleaned up PowerShell commands
* Updated docker run commands
* WIP "installation" guide
This PR adds an installation guide with instructions on how to use
disk storage to achieve persistent storage.
Closes#533
* Formatting cleanup
* Swapped to Docker based instructions
* Moved install into "install" directory, added PowerShell commands
* Fixed wording about running container and environment variables
* Fixed a type-o
* Code review comments, cleaned up PowerShell commands
* Updated docker run commands
* Update to gomods/proxy:latest
* Rough description of community roles
and how to move to new roles
* add mention of CoC
* fixing typo
* adding link to past dev meetings
* moving "core maintainer" alias text
* calling out specifically that contributors have read access
* formatting
* Addressed previous concerns.
Broke all markdown lines on or under 80 chars because vim, also the
majority of the doc was formatted that way.
* link to slack re: missing meetings
* use emphasis instead of single quote for 'don't know enough'
* use code element in html
* expand on CoC duty
co-authored-by: Aaron Schlesinger <arschles@gmail.com>
co-authored-by: robjloranger <robjloranger@protonmail.com>
* add go.sum file
added .sum file via, go mod -sync
* update go modules deps
* mod init with Go version 1.11
* update github.com/gobuffalo/uuid
The update is necessary because Gopkg.lock has uuid at v2.0.1 however, that version no longer
exists in th gobuffalo/uuid repo
* add gobuffalo/plush
* ran tests
* ran go mod tidy
* port scripts to ps
* remove ps core features
* init script
* make it work on ps 5.0
* sync with make file
* cleanup
* cleanup
* review feedback
* newline
master builds publish using the git describe output as the immutable tag and
canary for the mutable tag. Examples:
gomods/proxy:abc1234
gomods/proxy:canary
tagged builds publish using the tag as the immutable tag, which is
usually going to be a semver value and with latest for the mutable tag.
Examples:
gomods/proxy:v1.0.0
gomods/proxy:latest
branch builds publish using the git describe output as the immutable tag and the
branch name for the mutable tag. Examples:
gomods/proxy:def4567
gomods/proxy:beta-1
* The commit brings error check for storage exists
The commit opened against ticket #427, and adds error response to
checker exists method and all corresponding places. The major changes related to renaming and processing of additional errors, because the signature of Checker.Exists was changed to return error in response.
* improved error processing
* go fmt'ed files
* added check to minio storage for no key error
* moved our constant + changed check for err
* go fmt'ed
* deleted rdbms packege, which brought merge with upsteam
* process error from minio checker
* Inital removal of cdn rdbms driver and pop support from olympus
* Update travis and other unit test scripts
* Remove postgres from Makefile
* Update comments and remove function that is not required
* Update .env file
* clean commented code
* Update docs to remove references to rdbms
* Remove pop and run dep ensure to make sure that the tests pass without pop
* Keeping GO_ENV=test for parametter logging
* Remove pop from models for now
* Remove rdbms storage from pkg/storage
* Completely remove pop
* Some improvements to tests
- Not sourcing from cmd/proxy/.env, because that doesn't export any variables
- Removing mysql support (I feel like 1 database is enough)
- Pruning networks on teardown
I'm happy to split these changes up into separate PRs - it's the end of the day for me so I wanted to get everything in 😄
* update to point to test instance
* Update databasy.yml for travis??
* Remove database.yml
* Do not use db migrations and creation
* Remove pop dependency from cdn
* add schema for olympus assuming cdn driver is part of olympus
* Move CI/CD and test scripts to point pop to olympus
* Update database.yml and keep it only for olympus
* Add migrations to travis
* Add debug logs to see what travis is doing
* Update travis to use olympus database.yml
* Moarrrr logs to see where travis is pointint the db towards
* Change env to test
* Use test as the default environment if not specified otherwise
* Check if test new rdbms storage succeeds
* Try to see which connection string rdbms test suite is using on travis
* Update db tags for cdn driver
* create db by using travis go_env
* Remove sql from database config as it is removed from docker-compose
* Remove extra logs that I missed
* Add newline
* remove models.go and test file from proxy
* removing extraneous network prune from Makefile
* The proxy middleware calls an hook if set to check if the module needs
to be filtered
* Fixed error handling
* Added a middleware func that passes the log entry down to other
middlewares
* Split the filter middleware in two
* Moved validation middleware in its own file
* Renamed filter to middleware, all the middleware stuff in a single file
* Moved default hook to empty string
* Split tests of filter middleware from validation middleware
* Installed the validation middleware only if the hook is set
* Moved filter test to middleware test
* Fixed gofmt issue caused by manual merge
* Fixed wrong logrus import
* Removed logger from filter middleware
* Moved middleware functions to own package
* Removed unused argument, fixed errors
* Fixed gofmt errors
* Made middleware func private
* Changed debuglevel from string to enum
* Added comments to now public functions
* Changed module alias to a shorter one
* Removed white space
* Split middleware in separate files, injected the hook as param
* Removed commented code
* Make athens banner smaller
This helps people see that there is more content below the athens logo, otherwise
the most prominent thing they see is the next arrow >
and they miss our homepage content.
* Make home link friendly for previews
Right now when viewing a preview of our docs site, when I click on the home logo
I end up on our live site. This makes the home logo go to the root of the
current site instead, which is more friendly for testing docs locally
or previewing a PR.
* Walkthrough how the proxy and modules work
This is just the second step in adding in more docs. After we add more
docs for how to install the proxy, etc this doc will get updated with a
Next Steps section and point people in the right direction after they
try it out.
* Replace cache with storage when referring to the proxy
It is still the right term for the on-disk go modules cache in GOPATH/pkg/mod though
co-authored-by: Jeremy Rickard <jeremy.rickard@microsoft.com>
co-authored-by: Carolyn Van Slyck <carolyn.vanslyck@microsoft.com>