zot: initial commit

This commit is contained in:
Ramkumar Chinchani
2019-06-20 16:36:40 -07:00
parent 967ff15637
commit 9d4e8b4594
55 changed files with 6478 additions and 2 deletions
+3
View File
@@ -0,0 +1,3 @@
set race "on"|//...:%go_test
fix unusedLoads|//...:__pkg__
set timeout short|//...:%go_test
+1
View File
@@ -0,0 +1 @@
// Generated file, do not modify manually!
+10
View File
@@ -0,0 +1,10 @@
run:
deadline: 60m
skip-dirs:
- "internal"
linters:
enable-all: true
output:
format: colored-line-number
+7
View File
@@ -0,0 +1,7 @@
{
"printf": {
"exclude_files": {
"/vendor/": "no need to vet third party code"
}
}
}
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# This command is used by bazel as the workspace_status_command
# to implement build stamping with git information.
set -o errexit
set -o nounset
set -o pipefail
GIT_COMMIT=$(git rev-parse --short HEAD)
GIT_TAG=$(git describe --abbrev=0 --tags 2>/dev/null || echo "0.0.0")
# Prefix with STABLE_ so that these values are saved to stable-status.txt
# instead of volatile-status.txt.
# Stamped rules will be retriggered by changes to stable-status.txt, but not by
# changes to volatile-status.txt.
cat <<EOF
STABLE_BUILD_GIT_COMMIT ${GIT_COMMIT-}
STABLE_BUILD_GIT_TAG ${GIT_TAG-}
EOF