Commit Graph

24 Commits

Author SHA1 Message Date
Marwan Sulaiman
ff87a3b562 Revert "Allow Athens to Propagate Authentication to Mod Download (#1650)"
This reverts commit dfb7887080.
2021-03-11 13:58:43 -05: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
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
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>
2020-03-17 13:04:37 -07: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
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
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
Marwan Sulaiman
402264a8f3 drone: give more time for athens to boot up (#1451) 2019-11-06 17:40:30 -08: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
Marwan Sulaiman
8db652e04c Upgrade to Go 1.13 (#1377) 2019-09-13 13:48:28 -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
marpio
c5aa372778 Set build-args - VERSION (#1261)
* set build-args - VERSION

* set version for docker-latest
2019-05-30 17:15:05 -04:00
Marwan Sulaiman
acfbbb3216 build: remove vendor folder (#1231)
* build: remove vendor folder

* share GOPATH
2019-05-18 13:05:13 -04:00
Rimas Mocevicius
955929d89d use circleci for chart testing (#1225)
* use circleci for chart testing

* update ct flags

* trigger ci

* restore circleci config
2019-05-15 12:21:12 -07:00
Rimas Mocevicius
2affe53ec8 add chart linting step to drone pipeline (#1207) 2019-05-03 13:36:41 -07:00
Marwan Sulaiman
4a4641b66b storage/gcp: create a bucket on every test run (#1176)
* storage/gcp: create a bucket on every test run

* ensure removal

* set the strg

* remove pkg level vars

* clean up func call
2019-04-04 11:48:41 -07:00
Marwan Sulaiman
61e29b0a91 drone: add redis lock test (#1129)
* drone: add redis lock test

* update signature
2019-03-13 15:56:40 -04:00
Marwan Sulaiman
3b538ce8c5 drone: add publish helm charts (#1119) 2019-03-11 15:24:24 -04:00
Marwan Sulaiman
3b0a9b5a68 ci/cd: add .drone.yml file (#1091)
* ci/cd: add .drone.yml file

* add docker step

* put tag in right place

* separate docker builds for push vs tag

* move e2e to .drone.yml

* comment

* try gcp backend

* temp remove clean

* temp remove clean

* buckets confirmed

* fix docker latest

* sign yaml file + remove rc
2019-03-10 14:14:14 -04:00
marpio
a21bba3059 rm drone.yml (#639) 2018-09-09 08:55:44 +02:00
Komu Wairagu
748ed7dda9 Remove dep files (#378)
* remove vendor directory
athens will be using Go modules for dependency management

* remove Gopkg.* files. athens will be using Go modules for dependency management

* add note about Go version required for developing on Athens
To use Go modules for dep management, you require atleast Go version 1.11

* update documentation regarding supported version of Go

* dont install dep

* re-add vendor directory
go mod vendor

* use vendored directory to carry out Go commands

* remove the use of -mod=vendor
this is necessary because;
1. we are running ci in a travis with a matrix of GO111MODULE=on & GO111MODULE=auto
and -mod=vendor is not available as an option in GO111MODULE=auto(inside GOPATH)

* rm vendor

* run go mod tidy
this is beacuse the master branch had changes to Gopkg.lock

* match gopkg.in/go-playground/validator.v9 version
with master branhc

* go mod tidy

* go mod vendor
so as to vendor the new changes that were added in master

* set GO111MODULE=on globally in ci

* build with -mod=vendor when building docker image

* use -mod=vendor to avoid getting deps from vcs in ci

* use -mod=vendor in .drone.yml

* use go1.11 in drone.yml
2018-09-02 11:54:42 -04:00
Brian Ketelsen
e76125d3f1 Feature: Add OpenTracing (#112)
* tracing

* oops
2018-03-26 17:14:49 -04:00