Commit Graph

838 Commits

Author SHA1 Message Date
Marwan Sulaiman
8db652e04c Upgrade to Go 1.13 (#1377) v0.6.0 2019-09-13 13:48:28 -04:00
Aaron Schlesinger
cdf000cbbe Updating the download config docs to indicate how to point to the download file (#1371) 2019-09-09 23:22:22 +01:00
Mark Dodgson
5444309405 added environment argument for golang version (#1361)
* added environment argument for golang version

* Revert: added environment argument for golang version (84298506)

* reverted to specifying go version 1.12 as the default

* fix spacing
2019-09-04 14:21:10 -07:00
Ted Wexler
99477da3cc Don't return an http error when a DownloadMode is invalid (#1365)
* Don't return an http error when a DownloadMode is invalid

Also adds some basic testing for `mode.NewFile`

Refs #1336

* Address PR comments
2019-09-03 12:03:22 -04:00
marpio
e2e5fe169a Enable Azure storage and stasher tests in drone (#1281)
* enable azure ci tests

* add import
2019-08-30 12:38:06 -07:00
Aaron Schlesinger
a0c8dff8cd Adding a note in the configuration section about the config.dev.toml (#1343)
Fixes https://github.com/gomods/athens/issues/921
2019-08-28 12:52:55 -07:00
Manu Gupta
f4f3afb4de Add docs for fargate url (#1352) 2019-08-28 11:19:44 -07:00
Bob Maertz
0404b20756 Remove ref to vendor for go build in e2e script. (#1360) 2019-08-28 11:09:07 -07:00
Sawada Shota
eb4ebdb612 docs: Fix outdated validation hook's link (#1351) 2019-08-27 16:48:39 -07:00
Aditya Sharma
130170af4a Allow full name override in helm chart (#1348)
* Allow full name override in helm chart

* Update Chart.yaml
2019-08-27 15:36:23 -07:00
Kenshi Kamata
667b9fdf65 Fix typo (#1358)
* fix duplicated 'the'

* fix typo found by misspell
2019-08-27 10:55:09 -07:00
Aaron Schlesinger
054edde824 Removing gofmt vendor ignores (#1321)
* Removing gofmt vendor ignores

We don't have a vendor directory anymore 😄 🎉

* wrapping env var in quotes

Thanks @chriscoffee for the suggestion!
2019-08-22 20:51:36 +02:00
Manu Gupta
16739a1213 Add relative URI for AWS fargate. (#1337)
* f

* r

* f

* gofmt

* ep

* Container url

* Asd

* nit

* Update docs

* keep old stuff

* old is gold

* indent

* asd
2019-08-21 14:21:01 +01:00
Banner Schafer
6a42417d5b Bumped the minor version for the default docker container in the helm… (#1335)
* Bumped the minor version for the default docker container in the helm chart

* Bumped the chart version and application version in chart manifest
2019-08-15 23:15:15 -07:00
Bob Maertz
049d58caa8 Write tests for the new Mongo query function (#1314)
* WIP: Added tests to query implemetation.

* Fixed tests for mongo getter query function.
2019-08-15 14:04:19 -07:00
Bob Maertz
994810324e Fix Mongo initialization to use environment variables for db/coll names (#1331)
* Updated mongo init to use db name env variable.

* Updated mongo init to use coll name env var.

* Fixed merge conflict.

* Updated formatting in mongo_test.
2019-08-14 21:41:21 -07:00
jhawk28
ba9dc5470e add support for a host in ensurePortFormat (#1342)
* add support for an host in ensurePortFormat
using a host enables the ability to bind to a specific interface

* add support for an host in ensurePortFormat
using a host enables the ability to bind to a specific interface
2019-08-14 14:46:32 -04:00
Bob Maertz
3a3d474e1b Add check for mongo configuration errors. (#1329) 2019-08-12 23:54:23 -07:00
Soumya GB
603e2f3dc7 Adds cataloger for Azure blob storage (#1313)
* 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
2019-08-12 23:49:29 -07:00
Aaron Schlesinger
9a1447b7e4 Fixing basic auth vars in the helm chart (#1322)
cc/ @qiuyuzhou

Fixes #1303
2019-08-12 23:45:14 -07:00
Paweł Słomka
b546cb9291 Fix kubernetes installation docs (#1333) 2019-08-12 21:55:37 -07:00
Aaron Schlesinger
a336c5552f clarifying the readme (#1244)
* clarifying the readme

we don't have a public stable proxy and don't have concrete plans to release one, so let's not say we do for now.

* Bolding "experimental" and providing the experimental proxy URL
2019-08-07 23:03:12 +02:00
John Reese
9a8daf7186 Fix try-out link (#1330) 2019-08-07 06:53:14 -07:00
Prasanth Vaaheeswaran
7b563c236d docs: Add list of supported VCS servers (#1324)
Close #1137
2019-08-06 13:20:27 -04:00
Manu Gupta
be908fe713 Fixes endpoint creds (#1325)
* f

* r
2019-08-06 10:45:14 -04:00
Brian Falk
df82bbc0f3 Add support for Sail development environments (#1248)
* initial sail Dockerfile

* host mount the module download cache so it's preserved over restarts

* expose port 3000

* add some basic docs
2019-08-05 13:26:16 -07:00
Yi Tang
b6bcf0e191 storage/fs,minio: fix list module with same prefix (#1312) 2019-08-01 13:16:52 -04:00
admin_3.exe
8240e720fd Update install-on-kubernetes.md (#1317) 2019-07-30 15:01:20 -04:00
Yi Tang
ca10728887 ref: upstream lister and it's impl to module pkg (#1309) 2019-07-25 20:40:03 -04:00
Manu Gupta
5bff5fe74d endpoint creds (#1291)
* endpoint creds

* gofmt

* Add credential chain

* error handling

* Fix things

* add docs

* f

* asd

* fix
2019-07-22 22:47:36 +02:00
James Naftel
33d01b1a7a Fixed Minio NewStorage to return the MakeBucket error instead of the (#1302)
Bucket exists error.  See #1295
2019-07-16 15:23:04 -07:00
Yi Tang
7de77889ad support goproxy for list/download command (#1304) 2019-07-15 14:07:24 -04:00
Bob Maertz
8e8e886f84 Updates to mongo getter to reduce duplicate code (#1297)
* Updates to mongo getter.

- Consolidated duplicate code in getter.Info and getter.GoMod functions.
- Due to consolidation, removed ptr to 'result' in getter.Info.

* Updates to getter.go.

Added tracing back into Info and GoMod functions.
Made query a private function.
2019-07-08 14:54:53 -07:00
Igor Zibarev
d620551b72 Add gitconfig support for helm chart (#1194)
This commit adds support for gitconfig in the athens helm chart.

Reflects https://docs.gomods.io/configuration/authentication/#altassian-bitbucket-and-ssh-secured-git-vcs-s
2019-07-08 14:50:02 -07:00
Tomasz Tomalak
91ac2c43df Add mod version decoding to fix branches with capital letters (#1298) 2019-07-08 14:40:40 -07:00
Marwan Sulaiman
7519a77bbe pkg/module: return KindNotFound on incorrect mod download (#1300) 2019-07-08 14:36:18 -07:00
Marwan Sulaiman
e4534a20db pkg/download: return 404 on list/latest (#1299) 2019-07-08 14:31:42 -07:00
Geoff Baskwill
7fa1e00775 chart: allow setting deployment resource requests/limits (#1246)
* chart: allow setting deployment resource requests/limits

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>

* docs: add resources section to Helm chart docs

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>

* chart: bump chart version

Signed-off-by: Geoff Baskwill <me@geoffbaskwill.ca>
2019-07-03 13:41:49 -07:00
Alexander Zimmermann
a5eba1812b [helm-chart] Adding support for minio as storage-backend (#1288)
* support for minio-backend in helm chart

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>

* Added docs for minio storage

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>

* Changed default helm chart storage type back to disk

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>

* count up helm-chart version
2019-07-02 15:12:38 -07:00
Manu Gupta
e5173c57cd [s3] base uri is not used anywhere remove it (#1293)
* base uri is not used anywhere remove it

* remove from struct
2019-07-02 15:07:12 -07:00
Alexander Zimmermann
9436778be0 [helm-chart] Basic-Auth support without environment-variables (#1289)
* Added basic auth support

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>

* Disabled basicAuth for default

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>

* Count up helm chart version

* Using default values in http-headers

Signed-off-by: Alexander Zimmermann <alexander.zimmermann96@gmail.com>
v0.5.0
2019-06-27 13:47:14 -07:00
Chris Bystrek
d398221ff1 add one liner to get started to docs (#1278)
* add one liner to get started to docs

* Updates based on spanish review.

* Updates based on chinese review.
2019-06-27 13:16:52 -07:00
Benjamin
e832c83ecd [debug] allow to expose activate via config (#1284)
This CL addresses issue #1177 introducing two new configuration params
allowing to activate pprof.
- `ATHENS_ENABLE_PPROF`
- `ATHENS_PPROF_PORT`

pprof won't be exposed by default.
2019-06-24 20:59:15 +02:00
Marwan Sulaiman
dea04b175f download: expand redirect tests (#1287) 2019-06-18 11:22:03 -07:00
Alexej Kubarev
d138a42599 Fixing error check logic for module downloads in case of redirects. (#1286)
This aligns `ModuleHandler` with `ZipHandler` and `InfoHandler` logic.
2019-06-18 08:53:16 -04:00
Marwan Sulaiman
76fb786324 downloadProtocol: support multi-proxy environments with DownloadFile (#1230)
* downloadProtocol: support multi-proxy environments with DownloadFile

* remove debugging lines

* update config tests

* download/mode: add tests for DownloadFile and friends

* add documentation to Download File
2019-06-08 00:30:07 -04:00
marpio
5cec5f6366 minio : Use no. of objects for Exists check (#1276)
* minio checker: check len instead of mod only

* fix syntax err

* fix err

* handle list errs
2019-06-07 15:54:26 -07:00
marpio
3bda516c19 Azureblob tests + checker fix (#1251)
* add azureblob tests

* get account name from env

* benchmarks

* skip test if account missing
2019-06-07 15:21:09 -07:00
Penthaa Patel
f0f046ae09 Removed -mod=vendor from Makefile and docs (#1250)
* removed -mod=vendor from Makefile

* removed -mod=vendor from docs

* Set GOPROXY=https://proxy.golang.org in docs and Makefile

* remove -mod=vendor from Dockerfile; add GOPROXY=https://proxy.golang.org
2019-06-07 15:14:32 -07:00
Brian Charous
460c9193c2 Adds S3 storage configuration to Helm chart (#1272)
* Adds S3 configuration to Helm chart

* fix typos and bump version
2019-06-07 15:02:43 -07:00