Uses the new Azure Identity package for current support. Support automated Azure storage token refresh. Sets the default value of Athens storage account key and Azure managed identity resource id should be empty.
* Set GO111MODULE to auto in golint script– #1743
As mentioned in #1743 the Go modules environment flag is set to `off`
in the script which appears to cause a warning message for each module
of the codebase that it is "not in GOROOT".
Set to `auto` as this allows the same build to be run the original way
should someone choose to delete the `go.mod` file from the project root.
* Remove redundant code – golint script
Go 1.17 ignores `GO111MODULE` and there are no directories in the
project root called `mock`.
* Replace `golint` with `go vet`
`golint` is deprecated (and frozen) replace with the current `go vet`.
This reported one issue on `main` branch:
```pkg/stash/with_etcd.go:33:28:
loop variable ep captured by func literal```
Fixed loop variable capture with extraction to parameterised anonymous
function passed loop variable and passed in to `errgroup.Go` call.
* Finish Removing `golint`
Removed remaining references to `golint` in dev doc, Makefile,
bash scripts, and powershell build scripts.
Removed `get_dev_tools.sh` and `get_dev_tools.ps1` as they only install
the removed `golint` package.
* Set GO111MODULE to auto in golint script– #1743
As mentioned in #1743 the Go modules environment flag is set to `off`
in the script which appears to cause a warning message for each module
of the codebase that it is "not in GOROOT".
Set to `auto` as this allows the same build to be run the original way
should someone choose to delete the `go.mod` file from the project root.
* Remove redundant code – golint script
Go 1.17 ignores `GO111MODULE` and there are no directories in the
project root called `mock`.
* Replace `golint` with `go vet`
`golint` is deprecated (and frozen) replace with the current `go vet`.
This reported one issue on `main` branch:
```pkg/stash/with_etcd.go:33:28:
loop variable ep captured by func literal```
Fixed loop variable capture with extraction to parameterised anonymous
function passed loop variable and passed in to `errgroup.Go` call.
* 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.
* 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
* 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
* 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
* 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
* 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
* Adding a way to run an Athens in docker
* adding phonies 😄
* fixing docs
to point to the right Makefile target
* s/post/port
* Making docs a little more clear
And better formatted
* Rename docker image to gomods/athens
* Bump chart version to match new release version
* Switch from stable tag to latest tag
Our docs used latest, and it's awkard when you don't have a latest tag anyway
There's no official image for hugo, so lets make our own and have the
Makefile build the Dockerfile
Add some basic documentation
I've added some simple documentation and tidied up the Dockerfile. I
move the file to use best practice and reduced the size slightly.
Personally I don't think we'll need to alter the address and not watch
files as it's only going to be used for local development atm. It might
be useful in future to move to being able to alter these if we're using
this in production
Don't use docs use hugo
It would be confusing for people to docker pull the docs but not have
any docs included in them. hugo as the name would make way more sense.
Don't lock down to digest
We should trust official libs, especially the alpine build.
Signed-off-by: Chris M <millscj01@gmail.com>
* Upgrade buffalo
* Switch to go modules everywhere
* Fixes from buffalo fix
* Add missing modules from module list
* Update vendored modules in /vendor
* Stop using vendor directory for tests
* Check go.mod and go.sum files on verify
* Upgrade Buffalo from v0.13.0 to v0.13.1
* Fix test for new Buffalo
Allow for new Buffalo code
* Add test for endpoint with trailing slash
* Remove nolonger used moniker package
Usage was removed in 97d8013
* Remove reference to Zeus
Use name Proxy for now.
* Remove Olympus code
See github issue #777
* Remove Olympus related vendor modules
* Mention Olympus removal in docs
* Add note about no registries existing
* Remove eventlog
* Update docs for Olympus removal
* switch proxy to config file
pull in single flight changes
* changes for single-flight
* intermediate stage. All tests passing. pkg still has env refs
* remove all env references
* delete config/env entirely
* fix failing tests
* create the config.toml file as part of dev setup
* create config file only if it doesn't exist
* update Dockerfiles to use config file
* move composing elements to the top
* verbose parameter naming
* newline
* add flag for config file path
* update docs with config file flag
* remove unnecessary nil check
* use filepath.join
* rename redis port to address
* fix path.join
* fix issues after merge
* add vendor dir
* add script and step to verify stage of makefile
* this commit should fail the build
* build should now pass
* fix typo in excludes for grep
* better output on failure
also removes tilde from initial regex, git does not use tilde in diffs
adds output of filenames with detected regex on failure
master builds publish using the git describe output as the immutable tag and
canary for the mutable tag. Examples:
gomods/proxy:abc1234
gomods/proxy:canary
tagged builds publish using the tag as the immutable tag, which is
usually going to be a semver value and with latest for the mutable tag.
Examples:
gomods/proxy:v1.0.0
gomods/proxy:latest
branch builds publish using the git describe output as the immutable tag and the
branch name for the mutable tag. Examples:
gomods/proxy:def4567
gomods/proxy:beta-1
* Inital removal of cdn rdbms driver and pop support from olympus
* Update travis and other unit test scripts
* Remove postgres from Makefile
* Update comments and remove function that is not required
* Update .env file
* clean commented code
* Update docs to remove references to rdbms
* Remove pop and run dep ensure to make sure that the tests pass without pop
* Keeping GO_ENV=test for parametter logging
* Remove pop from models for now
* Remove rdbms storage from pkg/storage
* Completely remove pop
* Some improvements to tests
- Not sourcing from cmd/proxy/.env, because that doesn't export any variables
- Removing mysql support (I feel like 1 database is enough)
- Pruning networks on teardown
I'm happy to split these changes up into separate PRs - it's the end of the day for me so I wanted to get everything in 😄
* update to point to test instance
* Update databasy.yml for travis??
* Remove database.yml
* Do not use db migrations and creation
* Remove pop dependency from cdn
* add schema for olympus assuming cdn driver is part of olympus
* Move CI/CD and test scripts to point pop to olympus
* Update database.yml and keep it only for olympus
* Add migrations to travis
* Add debug logs to see what travis is doing
* Update travis to use olympus database.yml
* Moarrrr logs to see where travis is pointint the db towards
* Change env to test
* Use test as the default environment if not specified otherwise
* Check if test new rdbms storage succeeds
* Try to see which connection string rdbms test suite is using on travis
* Update db tags for cdn driver
* create db by using travis go_env
* Remove sql from database config as it is removed from docker-compose
* Remove extra logs that I missed
* Add newline
* remove models.go and test file from proxy
* removing extraneous network prune from Makefile