[Loki] Initial integration (#4777)

* [teleport] Initial integration

* Minor update to run tests again

* [loki] Initial integration

* Minor path update

* Added maintaienr email addresses
This commit is contained in:
AdamKorcz 2020-12-09 16:24:02 +00:00 committed by GitHub
parent 8254336e4d
commit d483bbd23f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

20
projects/loki/Dockerfile Normal file
View File

@ -0,0 +1,20 @@
# Copyright 2020 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
FROM gcr.io/oss-fuzz-base/base-builder
RUN go get github.com/grafana/loki/pkg/logql/...
COPY build.sh $SRC/
WORKDIR $SRC/

18
projects/loki/build.sh Normal file
View File

@ -0,0 +1,18 @@
#/bin/bash -eu
# Copyright 2020 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
################################################################################
compile_go_fuzzer github.com/grafana/loki/pkg/logql FuzzParseExpr fuzz_parse_expr

View File

@ -0,0 +1,10 @@
homepage: "https://github.com/grafana/loki"
primary_contact: "cyril.tovena@grafana.com"
auto_ccs :
- "adam@adalogics.com"
- "edward.welch@grafana.com"
language: go
fuzzing_engines:
- libfuzzer
sanitizers:
- address