Commit Graph

838 Commits

Author SHA1 Message Date
Aaron Schlesinger
c2c5daf61a Switching to using the main default branch (#1628)
* 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>
2020-06-15 16:44:37 -04:00
Marwan Sulaiman
f01c645305 pkg/middleware: add tracing to ValidationHook (#1627) 2020-06-15 16:34:24 -04:00
Marwan Sulaiman
38a6a6fe0b Add client tracing to external storage requests (#1626) 2020-06-14 11:03:48 -04:00
Elliot Morrison-Reed
c08aa890cb Fix sumdb/* paths when config.PathPrefix is set (#1620)
* 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>
2020-06-05 12:01:38 -04:00
Aaron Schlesinger
28d606947a Updating chart and docker image versions for 0.9.0 (#1617)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-05-19 11:08:57 -07:00
Ted Wexler
524b93d2c8 Update the release steps with a few details (#1616)
* Add a step to the helm release procedure to update the docker image version

* Clarify the link for creating release notes
2020-05-19 10:54:18 -07:00
Aaron Schlesinger
22dfffe968 Updating the release notes (#1603) 2020-05-19 13:14:52 -04:00
Marwan Sulaiman
90af973c3d pkg/storage/external: remove debug lines (#1606) 2020-04-20 09:38:47 -04:00
Bradley
df9728ecd5 docs: typo for ATHENS_DOWNLOAD_MODE custom (#1605) 2020-04-20 09:26:58 -04:00
Chris Mills
05438234ed Fix issue with build arg in drone deployment (#1602)
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>
2020-04-13 15:29:29 -07:00
Aaron Schlesinger
a8467661c2 Adding build arg for the alpine version the docker image is based on (#1585)
* 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>
2020-04-07 15:50:02 -04:00
Bruno Clermont
cb286fb266 charts: allow to set deployment update strategy (#1597) 2020-04-02 08:28:48 -04:00
xytan0056
af0e699d3a update go version in configs (#1594)
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2020-04-01 16:02:25 -07:00
Aaron Schlesinger
00d960f054 Updating the helm chart for release v0.8.1 (#1595) 2020-04-01 15:53:53 -07:00
Marwan Sulaiman
3c4db4ce86 pkg/storage: add External implementation (#1587)
* pkg/storage: add External implementation

* fix conflicts

* use newly instantiated client
2020-03-27 13:35:52 -04:00
Marwan Sulaiman
a36be996b6 go mod tidy (#1590) 2020-03-20 17:09:04 -04:00
Aaron Schlesinger
130963486b Adding notes for how to do a release (#1576)
* 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>
2020-03-20 16:41:51 -04:00
Marwan Sulaiman
a03c3306fc go.mod: update/use google cloud storage sub module (#1588)
* go.mod: update/use google cloud storage sub module

* downgrade grpc because v1.27.1 has a breaking change

* stay in 1.12 for now
2020-03-20 16:32:33 -04:00
Ted Wexler
701bf394a5 Move SingleFlight.Redis.Password back under SingleFlight.Redis (#1581)
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2020-03-20 12:32:44 -07:00
Aaron Schlesinger
94a97fe9e9 "sumdbPoxy" ==> "sumdbProxy" (#1569)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-03-20 15:18:51 -04:00
Aaron Schlesinger
e89cf0feb2 Sample pr template change (#1577)
* Updating commented-out instructions for PR submitters

* adding more clarity
2020-03-20 15:14:08 -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
Aaron Schlesinger
99867c743f Improving the project status section of our README (#1555)
* 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)
2020-03-18 15:08:01 -07:00
Aaron Schlesinger
a7ffb86efe Fixing code like the go team printed version link (#1566)
Fixes https://github.com/gomods/athens/issues/1565
2020-03-18 14:29:29 -07:00
Aaron Schlesinger
6b5b62c0fc Updating helm chart image version to latest (#1574)
* updating image version to latest

* updating chart.yaml versions

* pushing a blank commit to trigger new CI builds
2020-03-18 15:11:49 -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>
v0.8.0
2020-03-17 13:04:37 -07:00
Dylan Meeus
33384411dd update version info in google-cloud-run docs (#1573)
* update version info in google-cloud-run docs

* Update docs/content/install/install-on-google-cloud-run.md

Co-Authored-By: Marwan Sulaiman <marwan.sameer@gmail.com>

Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
2020-03-16 15:43:35 -07:00
Aaron Schlesinger
e1374bea39 Remove chart version from deployments and services selectors (#1562)
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.
2020-03-05 11:16:54 -08:00
Aaron Schlesinger
e42546a2b0 Adding "Powered by Netlify" text (#1563) 2020-03-04 09:54:15 +00:00
Aaron Schlesinger
5ea57ccd7e Adding more documentation to the Pull Request template (#1552)
* Adding more documentation to the Pull Request template

Including how the WIP bot factors into your workflow

Fixes https://github.com/gomods/athens/issues/792
2020-02-26 16:43:26 -08:00
Ted Wexler
53232f726d Update builds for Go 1.14 (#1558)
* 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
2020-02-26 15:53:12 -08: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
Aaron Schlesinger
9624953236 Updating the sum database documentation (#1494)
* Updating the sum database documentation
2020-02-21 14:25:07 -08:00
Aaron Schlesinger
ed703ee63d Adding docs for setting the GONOSUMDB env var on the Athens side (#1504)
* 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>
2020-02-19 19:52:24 -05:00
Sebastian Heid
d7db2d4f11 Add installation instructions for BOSH (#1535)
* 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>
2020-02-19 16:39:12 -08:00
Federico Paolinelli
27f3683416 Replace the current e2e script with a test suite running e2e tests. (#1514)
* 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.
2020-02-19 15:38:08 -08:00
vapod
4530a58359 Add forcepathstyle config for s3 (#1533)
* Add forcepathstyle config for s3

* Bump chart version

* Fix typos in s3 config struct
2020-02-10 16:03:25 -08:00
Marwan Sulaiman
ba40b8f76d config: use semi-colon instead of comma to separate ATHENS_GO_BINARY_… (#1531)
* config: use semi-colon instead of comma to separate ATHENS_GO_BINARY_ENV_VARS

* document behavior
v0.7.2
2020-01-24 10:20:37 -05:00
Marwan Sulaiman
34f55365a2 always use request logging middleware (#1522)
* always use request logging middleware

* reads better

* rm http-url as it is redundant

* gopls being redundant

* add color name
2020-01-20 18:25:48 -05:00
Luke Ross
71067bb2ca Helm Chart - Allow setting extra annotations on the athens pod (#1523)
* Allow setting annotations on Athens pods

* Bump chart version

Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
2020-01-20 17:37:22 -05:00
Mark Dodgson
f76ca00665 Display warning log message if validation fails (#1517)
* 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>
2020-01-20 13:26:17 -05:00
Zhongpeng Lin
b456c5c189 Escaping underscore (#1516)
Co-authored-by: Rob j Loranger <dev@loranger.xyz>
2020-01-19 16:58:22 -08:00
Marwan Sulaiman
90d213f0af config: remove incorrect documentation (#1525) 2020-01-19 19:38:31 -05:00
Marwan Sulaiman
86da1590bc Dockerfile: ensure right perms for production setting (#1530) 2020-01-19 19:14:49 -05:00
Michael D Henderson
1345d1f9a6 fix typo in Atlassian name (#1515)
Co-authored-by: Rob j Loranger <dev@loranger.xyz>
2020-01-19 15:36:13 -08:00
Ted Wexler
24f10b8a25 Adds detailed docker usage instructions (#1527)
* Adds detailed docker usage instructions

* Fixes a couple of typos

* Add link to release image description

* Describe the canary tag
2020-01-19 15:12:48 -05:00
Aaron Schlesinger
15733395eb Fixing filter link (#1524) v0.7.1 2020-01-13 13:53:47 -08:00
Aaron Schlesinger
3edd242848 Revamping the download mode file (#1508)
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
2020-01-13 13:28:59 -08:00
Marwan Sulaiman
9510893177 ci/cd: create liveness probe for go mod download (#1520)
Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2020-01-10 08:42:29 -08:00
Marwan Sulaiman
519a69adf9 go mod tidy (#1519) 2020-01-10 08:18:38 -08:00