Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-02-06 | build: improve mocks-check task diff pattern | feistel | |
2022-02-06 | ci: add mocks-check task to validate mocks | feistel | |
2021-07-27 | ci: use gotestsum for running testsuse-new-gotestsum | Jaime Martinez | |
Changelog: other | |||
2021-06-02 | Zip test content | Jaime Martinez | |
2021-04-21 | Add make format to fix linting errors | feistel | |
2021-04-20 | Remove gocovmerge | feistel | |
Changelog: other | |||
2021-03-29 | Merge branch 'remove-gopath-from-makefile' into 'master' | Vladimir Shushlin | |
Simplify Makefiles See merge request gitlab-org/gitlab-pages!453 | |||
2021-03-26 | Add note about tools.go | Jaime Martinez | |
2021-03-25 | Fix make cover | Jaime Martinez | |
2021-03-25 | Run setup as part of cache | Jaime Martinez | |
2021-03-25 | Remove .GOPATH symlinks | Jaime Martinez | |
Simplifies Makefiles to not use `.GOPATH` symlink. Updates `test.yaml` to reuse the Go cache in between jobs instead of removing and downloading all the dependencies for every job. Changelog: other | |||
2021-03-23 | Fix data race in test | Jaime Martinez | |
2021-03-12 | Prepare CHANGELOG.md with new format | Jaime Martinez | |
Changelog: changed | |||
2021-03-10 | Do not export variables | Jaime Martinez | |
2021-03-10 | Add changelog generation script | Jaime Martinez | |
Changelog: other | |||
2021-02-02 | Ensure pages-root is abs | Jaime Martinez | |
MkdirAll in jail so the full pages-root path is created | |||
2020-12-08 | DRY test.yml | Jaime Martinez | |
2020-12-07 | Split daemon acceptance tests | Jaime Martinez | |
2020-12-07 | Use junit report | Jaime Martinez | |
2020-11-12 | Split accepntance_test into multiple files | Jaime Martinez | |
2020-11-12 | Move all acceptance tests into the test/acceptance/ dir | Jaime Martinez | |
2020-05-29 | Remove lint-docker | Jaime Martinez | |
2020-05-28 | Add REPORT_FILE to makefile | Jaime Martinez | |
2020-05-28 | Use custom code_quality job inspired by the runner | Jaime Martinez | |
2020-05-28 | Add lint and lint-docker rules to Makefile | Jaime 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-28 | Fix odd formatting | Jaime Martinez | |
2020-05-28 | Add .golangci.yml linter configuration | Jaime 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-26 | Run go test -race in CI | Alessio Caiazza | |
2019-10-22 | Fix make verify ci job | Vladimir 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-17 | check go.mod go.sum | Alessio Caiazza | |
2018-10-24 | Improve detection and error-handling of fmt errors | Nick Thomas | |
2018-10-24 | Fix import paths for goimport | Nick Thomas | |
2018-04-23 | Add gRPC admin health check | Jacob Vosmaer (GitLab) | |
2018-03-23 | Ignore the acceptance tests for coverage purposes | Nick Thomas | |
2018-03-23 | Run the acceptance tests both daemonized and not | Nick Thomas | |
2018-03-12 | Wait until a request succeeds in test setup | Jacob Vosmaer (GitLab) | |
2018-03-08 | Use godirwak.ReadDirents | Jacob Vosmaer | |
2017-09-29 | Rework the Makefile so "make" runs outside a GOPATH. Update CI to suit | Nick Thomas | |