Commit Graph

814 Commits

Author SHA1 Message Date
Aaron Schlesinger
b945f8c777 Updating helm chart image version to latest (#1575)
* updating image version to latest

* updating chart.yaml versions
2020-03-17 15:26:56 -07: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
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
c695a41fef Making 'make build' not cd into the cmd/proxy directory (#1497)
Fixes https://github.com/gomods/athens/issues/1495
2019-12-19 13:00:52 -08:00
Aaron Schlesinger
6c47f8bcbf Adding a header to the contributing doc (#1483) 2019-12-09 11:01:53 -08:00
Aaron Schlesinger
be84140e6a Adding a "next step" button to our contributing pages (#1486)
* Adding a "next step" button to our contributing pages

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

* a little more text
2019-12-06 13:48:00 -08:00
Aaron Schlesinger
246113c5d4 Bumping chart version (#1477)
Follow up to https://github.com/gomods/athens/pull/1428. @epk has bumped the chart version enough. Sorry @epk it took me so long to help you get that PR merged! I appreciate your patience.
2019-12-05 19:08:34 -08:00
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
Aleksandr Razumov
5b194688a0 storage/s3: add custom endpoint url support (#1467) 2019-12-05 13:04:03 -08:00
Aaron Schlesinger
22a9dfe763 Going back to using the canary image in drone (#1482)
* Going back to using the canary image in drone

This is a follow-up to the follow-on work described in https://github.com/gomods/athens/pull/1480#issue-349109197

* it's gomods/athens not athens-dev
2019-12-05 15:46:46 -05: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
Aaron Schlesinger
82472fe945 Adding instructions for pre-filling the disk cache (#1414)
* Adding instructions for pre-filling the disk cache

* Fixing up titles

* Updating to the new pacmod

thanks to @jpreese for the advice on how to use the updated one!

* Making some wording changes

Thanks @jpreese!
2019-12-03 17:40:22 -08:00
Bruno M. Custódio
221c451b6a Read basic auth credentials from a secret. (#1466)
Signed-off-by: Bruno Miguel Custódio <brunomcustodio@gmail.com>
2019-12-02 18:07:54 -08:00
Zdeněk Brabec
b6d8d2b015 added gcp configuration doc (#1465) 2019-11-25 16:47:07 -08:00
Jens Hausherr
f578472490 Unescape key before attempting to split module and version (#1457)
* Unescape key before attempting to split module and version

* PathUnescape key in minio/lister

* use unescaped path for module

* Compare againse escaped key

* Exctract common key parsing from cataloger and lister
2019-11-25 16:27:25 -08:00
codestation
4188de897b Upgrade minio-go to fix encoding in listing results (#1469) 2019-11-25 19:17:32 -05:00
David Sauer
4811f5d32c Renamed redeploy annotations to fix duplicated key in yaml (#1436) 2019-11-14 09:41:34 -08:00
Sergey Rolich
8fe83e9e98 Fix helm chart to the latest docker image tag (#1422)
* Update Chart.yaml to docker tag: 0.7.0 and chart version: 0.3.6

* Update values.yaml to docker tag 0.7.0
2019-11-12 10:32:40 -08:00
Alexandr Kozlenkov
50612e2660 Added check sshGitServer and gitConfig for creating volumeMounts (#1370)
* Added check sshGitServer and gitConfig for creating volumeMounts

* Chart's version bump

* Charts version bump

* Bumped version
2019-11-12 09:51:11 -08:00
Arne Bahlo
6ee9e0932c Install git-lfs on proxy container (#1455)
For repositories that store some files in git-lfs, the checksum will
differ for clients with and without git-lfs. Clients without git-lfs
will use the git-lfs pointer [0] for calculation, clients with will use
the real files.
This adds git-lfs to the container to match expected behaviour and
resolve checksum mismatches in these cases.

[0] https://github.com/git-lfs/git-lfs/blob/master/docs/spec.md
2019-11-11 13:17:50 -08:00
Banner Schafer
053280a941 adding documentation for installing on GAE (#1400)
* adding documentation for installing on GAE for issue 1379

* turning draft status off for GAE install docs

* adding documentation for installing on google cloud run

* install documentation/scripts for gae

* updating docs on gae cloud run for clarity

* Changing install docs to include $ before shell commands
2019-11-11 13:05:04 -08:00
Banner Schafer
c8d81b9ad5 Explain vendor vs proxy (#1427)
* adding a section for discussion on when to do vendor directories vs. when to use athens or another proxy server

* adding more detail and an outline

* Adding a bit more 😄

* adding to vendor vs athens faq

* removing reference material from FAQ when to use Athens

* Fixing awkward phrasing in faq docs.

* updating FAQ docs based on [slack message](https://gophers.slack.com/archives/C9LRAQN8N/p1571149854034400?thread_ts=1571093549.033500&cid=C9LRAQN8N)
2019-11-08 14:49:07 -08:00
Niko Haapaviita
4aab5c37ad Added configurations for k8s livenessProbs thresholds (#1447)
* Added configurations for k8s livenessProbs thresholds

* Fixed the Helm chart version
2019-11-07 11:38:34 -08:00
David Farrell
db84b52159 Invoke envOverrides before checkFilePerms (#1441)
* Invoke envOverrides before checkFilePerms

* Reverts changes to cmd/proxy/Dockerfile
2019-11-07 14:27:29 -05:00
Marwan Sulaiman
402264a8f3 drone: give more time for athens to boot up (#1451) 2019-11-06 17:40:30 -08:00