Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-05-29Remove lint-dockerJaime Martinez
2020-05-28Add REPORT_FILE to makefileJaime Martinez
2020-05-28Use custom code_quality job inspired by the runnerJaime Martinez
2020-05-28Add lint and lint-docker rules to MakefileJaime Martinez
Remove references to ./bin/golint, ./bin/gocycle and remove _support/ directory. Add formatting rule to .golangci.yml for goimports and local imports.
2020-05-28Fix odd formattingJaime Martinez
2020-05-28Add .golangci.yml linter configurationJaime Martinez
As part of https://gitlab.com/gitlab-org/gitlab-pages/-/issues/385 we have introduced the use of a custom `.golangci.yml` file with some custom rules for linting. This replaces the need of downloading and using `golint`, `gofmt` `go vet` and `gocyclo` manually. We take advantage of the custom `golangci-lint` docker image as stated in the [Automatic lintinb] (https://docs.gitlab.com/ee/development/go_guide/#automatic-linting) section of the Go standards and style guidelines. This iteration enables a subset of linters, with the remaining of them enabled on a separate MR as described in the issue above. The main changes introduced by this linter include: - gosec: potential hardcoded credentials - goconst: DRY by declaring and using constants - gosimple: reduce statements complexity and improve return statements
2020-02-26Run go test -race in CIAlessio Caiazza
2019-10-22Fix make verify ci jobVladimir Shushlin
For some reason long awk command makes it crash with a segmentation fault error. I tested this by replacing $(allfiles) in `"Please run ./bin/goimports -w -local $(IMPORT_PATH) -l $(allfiles)"` with strings of various length, and it fails on longer strings. I haven't yet figured out the source of the problem, so just copypasted the approach from workhorse - extracted a separate script which uses if in shell script and echo to print the suggestion.
2019-09-17check go.mod go.sumAlessio Caiazza
2018-10-24Improve detection and error-handling of fmt errorsNick Thomas
2018-10-24Fix import paths for goimportNick Thomas
2018-04-23Add gRPC admin health checkJacob Vosmaer (GitLab)
2018-03-23Ignore the acceptance tests for coverage purposesNick Thomas
2018-03-23Run the acceptance tests both daemonized and notNick Thomas
2018-03-12Wait until a request succeeds in test setupJacob Vosmaer (GitLab)
2018-03-08Use godirwak.ReadDirentsJacob Vosmaer
2017-09-29Rework the Makefile so "make" runs outside a GOPATH. Update CI to suitNick Thomas