* 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.
* 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>
* Adding notes for how to do a release
* Changes
thanks @marwan-at-work and @twexler
* bumping to get netlify to run (again)
Co-authored-by: Ted Wexler <ted@stuckinacan.com>
* 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 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
* Improve docs for developing docs
+ Mention `make docs` definition
+ Fix docker run command
~ Change docker command to run it from project root
* Further improve the development docs
* Fix grammar in development docs
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>
* removing registry page
* removing registry page
* removing more references to the registry and 'foundation'
* remove readme references to registry, etc...
* remove registry stuff from development docs
* removing registry from README
* 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
* 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
* update travis to Go 1.11
* update check_deps ci script
ci for checking dependencies should now check Go module files and use go mod verify
* remove uneeded comment
* set GO111MODULE
* debug GO111MODULE propagation
* rm dep installation
* debug GO111MODULE propagation
* rm debug statements
* use Go point releases in ci
* remove references to Go1.11 RCs
* run ci with GO111MODULE auto and also on
* use matrix
* The commit brings more clarity on how to run unut tests.
The commit chages behaivour of `make test-unit` by adding sourcing of
env vars. Documentation is updated to provide more clarity on how to run
unit tests.
* changed list of commands to run before unit tests
* moved env vars to .env
* removed dduplicated env var
* returned conventional file name in script
* link to DEVELOPMENT.md
* fixed typo
* moved env var export to script
* removed export of tmp folder
* Make it easier to run all the same commands that Travis does
* Add target to install dev tools
* Dirty a temp directory instead of the repo root
* Explain our new make targets
* Set a TMPDIR on travis
* Fix comment