* Switching to using the main default branch
* changing links to main branch, not master branch
* Changing a few links to relative
* Bumping chart version
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
* Fix sumdb/* paths when config.PathPrefix is set
http.StripPrefix will look at the entire request path when called,
if we do not include config.PathPrefix then the StripPrefix call
will never receive a valid path from the application and the user
will always get a 404 error.
There were no test where I could easily check this regression so
I also added a few endpoint tests, the last test will fail with
a 404 instead of 403 if this change in not applied.
* Update cmd/proxy/actions/app_proxy.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Update cmd/proxy/actions/app_proxy_test.go
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
* Removed unneeded import of logrus
Co-authored-by: Marwan Sulaiman <marwan-at-work@github.com>
The ARG before the FROM call in multistage builds is dropped with the
previous container. We need to define it globally
Signed-off-by: Chris M <millscj01@gmail.com>
* Adding build arg for the alpine version the docker image is based on
* Actually using the arg
* Using Alpine 3.11.5
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* Adding notes for how to do a release
* Changes
thanks @marwan-at-work and @twexler
* bumping to get netlify to run (again)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* Improving the project status section of our README
Athens is not really "beta" anymore because teams are using it and we are already taking backward compatibility into consideration actively.
I believe that the version number is a different but related discussion that we should have.
I've also updated the contributing documentation and removed the section about dev meetings
* Updating docs on contributing code
* Removing redundant "issues" words
* fixing issues URL
* bumping to get netlify to build again
* bumping to get netlify to run (again)
* bumping to get netlify to run (again)
* bumping to get netlify to run (again)
Label selectors are immutable; having the chart version part
of the label selectors means that upgrades require a full
recreation of the deployments and services instead of a simple
update.
This branch removes the chart version from the selectors
to allow smooth upgrades.
* Update .drone.yml for Go 1.14
* Update appveyor.yml for Go 1.14
* Update Dockerfile.test for Go 1.14
* Update Dockerfile for Go 1.14
* Update scripts/build-image/Dockerfile
* 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>
* Adding docs for setting the GONOSUMDB env var on the Athens side
Ref https://github.com/gomods/athens/issues/1363
* Updating with multiple repos, and adding a note
* Update docs/content/configuration/sumdb.md
Co-Authored-By: Ted Wexler <ted@stuckinacan.com>
* Qualifying "user"
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* Add installation instructions for BOSH
* Fix weight and add link to try-out document
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
* Replace the current e2e script with a test suite running e2e tests.
* Add a build tag to skip e2e while running unit tests.
We want e2e tests to be skipped while running normal unit tests.
* Display a warning log message if the validation response fails with a valid reason
* provide a reason and description for failed validation
* added unknown to description
* Allow a successful response to carry a message
* tidy up
* formatting
* Simplified the message response
* updated based on latest comments
* no need to export struct
* suggested method rename
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
Also doing a few things in the process:
- Deprecating the documentation that references the filter file
- Changing the order of the configuration documentation to put the deprecated documents at the bottom of the config section
- Adding a note to the disk storage documentation about pre-filling the disk cache
Fixes https://github.com/gomods/athens/issues/1501