Commit Graph

838 Commits

Author SHA1 Message Date
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
David Farrell
ab8caa2fc4 Remove G_ENV=production from proxy Dockerfile (#1443) 2019-11-06 19:38:55 -05:00
Chris Mills
025e621007 Remove mention of Travis from deployment script (#1446)
Signed-off-by: Chris M <millscj01@gmail.com>
2019-11-06 11:41:34 -08:00
David Farrell
000d2b92a1 Add GOLANG_VERSION arg support to proxy-docker make target + Dockerfile (#1430)
* Add GOLANG_VERSION arg to proxy-docker

* Set default GOLANG_VERSION to 1.13 in Makefile

* Add note in proxy Dockerfile re: GOLANG_VERSION

* Add GOLANG_VERSION to docker-compose dev target
2019-11-06 11:32:59 -08:00
Wang Qilin
ace301e4ec Add chinese translation of install section (#1444)
* add index translation of install section

* add translation of build-from-source

* add chinese translation of install-on-aci.md

* add chinese translation of intall-on-kubernetes

* add zh translation of managing-private-repos

* fix some typos
2019-10-30 17:47:01 +01:00
Aaron Schlesinger
a565a0d10b Adding note about office hours, removing note about developer meetings (#1344)
* Adding note about office hours, removing note about developer meetings

@LinuxSuRen @lopetazor would you mind checking out the Chinese / Spanish documentation (respectively) and changing the wording in there, when you can?

* Changing title

thanks @robjloranger!

* Some updates

For @jpreese

* Making a proper link to the zoom download URL

Thanks for pointing this out @jpreese!
2019-10-23 16:46:13 +02:00
David Farrell
2792796172 Add .git to .dockerignore (#1429) 2019-10-21 21:09:06 -07:00
Nick Miyake
65287a3df4 Remove extraneous period in DEVELOPMENT.md (#1425) 2019-10-17 20:03:23 -07:00
Banner Schafer
81102aa38d Explain vendor vs proxy (#1403)
* 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.
v0.7.0
2019-10-16 13:49:29 -07:00
Aleksandr Razumov
790c74588a pkg/module: set only present environment variables (#1399)
* pkg/module: set only present environment variables

* pkg/module: apply new env variable logic to all keys
2019-10-16 13:13:07 -07:00
Ben Woodward
b325db64bb ci: publish git commit Docker tags (#1413)
* ci: publish git commit SHA tags

Signed-off-by: bndw <benjamindwoodward@gmail.com>

* ci: publish commit sha tags to gomods/athens-dev

Signed-off-by: bndw <benjamindwoodward@gmail.com>
2019-10-15 15:30:58 -07:00
jtcheng
cf47efe535 Update tag of gomods/athens in chart (#1419)
Fix an import bug: https://github.com/gomods/athens/issues/1390

Signed-off-by: jtcheng <jtcheng0616@gmail.com>
2019-10-14 12:00:07 -07:00
Chris Mills
82ecff968f Correct issue with continuation token failures on deploy (#1415)
* Add working image for minio

Between RELEASE.2019-09-26T19-42-35Z and RELEASE.2019-10-02T21-19-38Z
there's an issue with continuation tokens that's caused #1414 and #1413
to fail.

Signed-off-by: Chris M <me@christophermills.co.uk>

* Undo docker changes, update minio to v6

* Narrow issue down to catalog compliance test

Signed-off-by: Chris M <me@christophermills.co.uk>
2019-10-08 16:54:20 -04:00
RobAtticus
1fba36563f Add ability to annotate the proxy Service via Helm (#1402)
It is often use to add custom annotations to a Service deployed
through Helm, so this PR adds the ability for a user to specify
annotations in their values file. For such use case we have seen
is when working in conjunction with external-dns, we want to assign
DNS properties of the Service, but currently cannot because this
Helm chart does not support it.
2019-10-02 12:00:33 -07:00
Abhishek Gupta
e2b4461517 Added storage configuration section for Azure Blob Storage (#1411) 2019-10-02 09:47:31 -07:00
Rob Prentiss
ed66d85f3f Use glob matching for package paths (#1409)
- Match the behavior of GOPRIVATE/GONOPROXY/GONOSUMDB
2019-10-02 08:45:58 -04:00
kmhagan
90b3c1dc97 Allow EnvList.Validate to have multiple = for GODEBUG var (#1397)
* Allow EnvList.Validate to have multiple = for GODEBUG var

* Added tests for EnvList GODEBUG.

* Made EnvList.Validate less strict, just checks for existence of one equal sign
2019-09-30 14:59:02 -04:00
psy-core
97a2df4414 fix proxy not work when lower case is unset. (#1332)
* fix proxy not enable when proxy lower is unset.

* Update prepare_env.go

format blankspace
2019-09-26 17:44:40 -05:00
Wang Qilin
f19e855923 Add chinese translation of known-limitations.md and why.md (#1384)
* add chinese translation of known-limitations

* add chinese translation of why
2019-09-26 17:37:26 -05:00
Soumya GB
af1294e3be Use upstream proxy for docker unit and e2e tests. (#1394)
* Adds cataloger for Azure Blob storage

* Revert "Adds cataloger for Azure Blob storage"

This reverts commit 9476c9e256.

* Implements Cataloger interface for Azure blob storage. Fixes #995.

* Upgraded azblob version to v0.7.0

* Upgrades azblob version to v0.7.0

* Fix formatting

* Fix formatting issues

* Use keyed field for comp literal

* reorder import pkgs

* Use upstream proxy in test containers

* delete unwanted file

* Updates GOLANG_VERSION for docker tests
2019-09-26 17:33:30 -05:00
Wang Qilin
8969e690ea update import path and go mod of opencensus (#1392) 2019-09-24 09:39:23 -04:00
Marwan Sulaiman
298c6cd74d cmd/proxy/actions: pass NoSumPatterns to GoGetFetcher (#1391)
* cmd/proxy/actions: pass NoSumPatterns to GoGetFetcher

* add gosum unit tests

* upgrade appveyor to 1.13

* fix test typo

* check appveyor version

* AppVeyor has no 1.13

* use logger
v0.6.1
2019-09-23 12:47:40 -04:00
Marwan Sulaiman
68ba75078b proxy/actions/sumdb: copy Go behavior for pattern matching (#1388) 2019-09-20 12:17:03 -04:00
Harsha Gudladona
56a7e09ef0 Fix helm chart to point to the latest docker image tag (#1381)
* Update Chart to 0.6.0 docker tag

* Upgrade app version to 0.6.0

* Bump version to 0.3.3
2019-09-16 16:45:27 -05:00
oliverch
874d27158d feat: add /robots.txt (#1355)
* feat: add /robots.txt

* disallow all crawler by default.
2019-09-16 16:21:08 -05:00
Kenshi Kamata
800024fc6f Fix ignoring error (#1356)
* fix ignoring error

* fix operator

* fix minio error handling

* fix get url to return error if failed parsing

* add error handling

* position of statement to get redirect url was wrong.
2019-09-16 16:15:51 -05:00
Aaron Schlesinger
1eef6b9940 removing the triage issue template (#1362) 2019-09-16 16:04:14 -05:00