1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00

6 Commits

Author SHA1 Message Date
Otávio Fernandes
f5758afc40 chore(hack): Go Modules based scripts. 2019-10-28 11:01:00 +01:00
Ben Parees
81e520a7e2 increase timeout on tar extraction and make error clearer 2018-10-12 14:38:14 -04:00
Rodolfo Carvalho
cf1d83d612 Fix hack/verify-*.sh and improve other scripts
Summary:
- Add 'make verify' to Travis.
- Fix verify-golint.sh: old invocation would not work unless GOPATH is a
  single directory.
- Fix verify-govet.go: 'go vet' does not take flags, should use 'go tool
  vet'.
- Fix early termination of hack/verify-govet.sh.
- Enable 'go vet' in 'make verify'; will prevent introducing problems
  detected by the vet tool in future PRs.
- Make sure golint is installed in Travis.
- Improve install-tools.sh, parity with the one in openshift/origin.
- s/os::util::sed/s2i::util::sed for consistency.
- Reimplement/simplify find_files, now called s2i::util::find_files, and
  use it in all scripts consistently.
- Suggest autocorrection for gofmt, as seen in openshift/origin.
- Do not check Go version (verify-*.sh should be run no matter the Go
  version?!).
- Do not create directory _output/govet (not used?!).
- Explicitly disable check of composite literals. Vet gives false
  positives on literals using unkeyed fields.
2016-05-19 14:42:56 +02:00
Rodolfo Carvalho
68c96a9fbc Replace STI_* env vars with S2I_*
This is a careful replacement of `STI_([A-Z_]+)` with `S2I_$1` in all
*.sh files, plus references to those env vars in other files.
2016-05-16 12:16:38 +02:00
Michal Fojtik
74a51d252c Fix govet 2016-04-07 11:58:49 +02:00
Maciej Szulik
276652b512 Added govet 2015-08-25 21:56:19 +02:00