mirror of
https://github.com/project-zot/zot.git
synced 2026-06-17 04:48:26 +08:00
zot: initial commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
set race "on"|//...:%go_test
|
||||
fix unusedLoads|//...:__pkg__
|
||||
set timeout short|//...:%go_test
|
||||
@@ -0,0 +1 @@
|
||||
// Generated file, do not modify manually!
|
||||
@@ -0,0 +1,10 @@
|
||||
run:
|
||||
deadline: 60m
|
||||
skip-dirs:
|
||||
- "internal"
|
||||
|
||||
linters:
|
||||
enable-all: true
|
||||
|
||||
output:
|
||||
format: colored-line-number
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"printf": {
|
||||
"exclude_files": {
|
||||
"/vendor/": "no need to vet third party code"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+20
@@ -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
|
||||
Reference in New Issue
Block a user