mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-12-24 03:28:28 +00:00
Add comment (deploy test 2)
This commit is contained in:
parent
887bc668d6
commit
51400a9fdb
@ -153,6 +153,7 @@ func (s *Server) ListAdvisoriesRSS(_ context.Context, req *apollopb.ListAdvisori
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// GetAdvisory returns a single advisory by name
|
||||||
func (s *Server) GetAdvisory(_ context.Context, req *apollopb.GetAdvisoryRequest) (*apollopb.GetAdvisoryResponse, error) {
|
func (s *Server) GetAdvisory(_ context.Context, req *apollopb.GetAdvisoryRequest) (*apollopb.GetAdvisoryResponse, error) {
|
||||||
if err := req.ValidateAll(); err != nil {
|
if err := req.ValidateAll(); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
@ -14,6 +14,10 @@ git checkout "$PULL_BASE_SHA" --quiet
|
|||||||
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" starting_hashes_json
|
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" starting_hashes_json
|
||||||
|
|
||||||
# Generate ending hashes
|
# Generate ending hashes
|
||||||
|
TARGET_HASH="$PULL_PULL_SHA"
|
||||||
|
if [[ -z "$TARGET_HASH" ]]; then
|
||||||
|
TARGET_HASH="$(git log "HEAD@{1}" --pretty=format:"%H" --merges -n 1)"
|
||||||
|
fi
|
||||||
git checkout "$PULL_PULL_SHA" --quiet
|
git checkout "$PULL_PULL_SHA" --quiet
|
||||||
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" ending_hashes_json
|
bazel-bin/bazel-diff generate-hashes -w "$workspace_dir" -b "$bazel_bin" ending_hashes_json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user