Commit Graph

877 Commits

Author SHA1 Message Date
Ted Wexler
a65d5cfbab Bump chart version again 2020-08-13 10:49:28 -04:00
Ted Wexler
896db38f20 Merge branch 'main' into helmactions 2020-08-10 23:50:57 -04:00
Aaron Bieber
23672f78c9 go.mod: update github.com/mattn/go-ieproxy to v0.0.1 (#1660)
* go.mod: update github.com/mattn/go-ieproxy to v0.0.1

This allows athens to build on OpenBSD.

* go.mod: update github.com/mattn/go-ieproxy to v0.0.1

This allows athens to build on OpenBSD.

* switch back to indirect dep

* bump github.com/Azure/azure-storage-blob-go to v0.10.0

Co-authored-by: Aaron Schlesinger <70865+arschles@users.noreply.github.com>
2020-08-10 23:48:31 -04:00
Ted Wexler
628c124f1a Merge branch 'main' into helmactions 2020-08-09 09:59:10 -04:00
Igor Zibarev
8e6a70eb43 Use new Ingress API (#1659)
`extensions/v1beta1` API for Ingress is deprecated since Kuberentes
1.14.
Ref: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.14.md#deprecations

This commit adds a check using Helm Capabilities to deploy Ingress with
newer API.
2020-08-09 09:58:52 -04:00
Ted Wexler
1c8b6d6a7f Fix release fetcher 2020-08-05 15:48:50 -04:00
Ted Wexler
9d63c10fc3 pin chart testing version 2020-08-05 15:38:15 -04:00
Ted Wexler
501674ac3d Specify a unit for the helm timeout 2020-08-05 15:38:15 -04:00
Ted Wexler
4cd5137333 Only use the ct binary for install, linting is hard 2020-08-05 15:38:15 -04:00
Ted Wexler
19fd1e962e Extract and use everything for linting 2020-08-05 15:38:15 -04:00
Ted Wexler
192a82cebb Don't use the chart-testing action at all 2020-08-05 15:38:15 -04:00
Ted Wexler
7cd1fdf193 Use the chart testing action 2020-08-05 15:37:43 -04:00
Ted Wexler
61bb6819df fix yaml syntax some more? 2020-08-05 11:25:32 -04:00
Ted Wexler
34144b173d Merge branch 'main' into helmactions 2020-08-05 11:22:12 -04:00
Ted Wexler
691ac8ea86 trigger helm action 2020-08-05 11:21:00 -04:00
Ted Wexler
78ca7de2e5 fix yaml syntax 2020-08-05 11:13:53 -04:00
Ted Wexler
d886492d7c fix yaml syntax 2020-08-05 11:01:58 -04:00
Ted Wexler
4d97af9db8 Use helm actions 2020-08-05 11:00:43 -04:00
Marwan Sulaiman
aa3533df34 docker slash slash 2020-08-04 14:49:31 -04:00
Marwan Sulaiman
bfb9773dde reluctant stringify 2020-08-04 14:43:10 -04:00
Marwan Sulaiman
c5c8e27781 Try with entrypoint + args 2020-08-04 14:41:28 -04:00
Marwan Sulaiman
dfb7887080 Allow Athens to Propagate Authentication to Mod Download (#1650)
* Allow Athens to Propagate Authentication to Mod Download

* update readme

* add pattern matching to auth propagation

* Propagate authentication to pre declared static host

* quote redis test

* fix flaky redis error message

* fix config tests

* fix config tests

* Update config.dev.toml

Co-authored-by: Ted Wexler <ted@stuckinacan.com>

* gofmt

Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-07-30 17:06:53 -04:00
Marwan Sulaiman
81906b918f pkg/requestid: add Request ID to Athens requests and logs (#1655)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-07-27 12:37:36 -04:00
Marwan Sulaiman
4ad3dd1135 pkg/config: make test failures output diff instead of %+v (#1652)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-07-27 12:28:26 -04:00
Marwan Sulaiman
46f176482f pkg/stash: fix redis failing test (#1656) 2020-07-27 12:17:08 -04:00
Aaron Schlesinger
c9d70a9144 Merge branch 'main' into helmactions 2020-07-16 16:41:30 -07:00
Marwan Sulaiman
408fd74a9c actions: add index handler tests (#1637) v0.10.0 2020-07-03 11:00:24 -04:00
Marwan Sulaiman
d6f06d0302 index: gracefully handle duplicate module indexes (#1645)
* index: gracefully handle duplicate module indexes

* fix memory impl
2020-07-03 10:42:51 -04:00
Chris Mills
ae69e1f57d Fix 404s within documentation (#1644)
Signed-off-by: Chris Mills <millscj01@gmail.com>
2020-06-29 19:38:05 +01:00
Christopher Mills
fde6657b3e Add publish action
Signed-off-by: Chris Mills <chris.mills@enginegroup.com>
2020-06-29 17:38:54 +01:00
WillAbides
40ef226d3c Replace limit with pagesize in docs for catalog endpoint (#1641)
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
2020-06-29 09:26:54 -04:00
Timo Reitz
29a710920d Fix link in deprecation note. (#1642)
Co-authored-by: Timo Reitz <timo.reitz@4com.de>
2020-06-29 09:44:04 +01:00
Marwan Sulaiman
de1da781ff Create helm github action
* Trimmed trailing character fixing linting issue
* AppVersion not appVersion for "{{ defaults .appVersion }}" in
deployment.yaml
* Update kind, helm and chart testing versions
* apiVersion in Chart.yaml required helm 2.15.1
* kind deprecated kubeconfig-path in 0.7, fixed test-e2e.sh
* apps/v1 rather than apps/v1beta2 in deployment.yaml
* remove registry reference, add version back in for final fixes

Co-authored-by: Chris Mills <millscj01@gmail.com>
Co-authored-by: Marwan Sulaiman <marwan.sameer@gmail.com>
Co-authored-by: Aaron Schlesinger <aaron@ecomaz.net>
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
2020-06-29 00:23:24 +01:00
Keith Burdis
78101d3694 Support downloadURLs with paths (#1640)
* Support downloadURLs with paths

* Always join URL paths with forward slashes
2020-06-28 16:07:05 -04:00
Marwan Sulaiman
ef15c3458b Allow users to specify the module fetcher's temporary directory (#1636) 2020-06-25 17:15:15 -04:00
Marwan Sulaiman
52934cfa46 implement /index endpoint (#1630)
* implement /index endpoint

* rename to Module to Path
2020-06-24 14:29:30 -04:00
Aaron Schlesinger
216723117e Removing office hours text from the README (#1634) 2020-06-23 19:18:44 -04:00
Siddarth Prakash
43563adfcb Upgrade AWS SDK to v1.32.7 (#1633) 2020-06-22 18:50:34 -04:00
Rustam Zagirov
8eebda309b fix typo in docs (#1629) 2020-06-16 08:21:08 -04:00
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