From d483bbd23f5afbfb60578cab901c8b4c5977d2be Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Wed, 9 Dec 2020 16:24:02 +0000 Subject: [Loki] Initial integration (#4777) * [teleport] Initial integration * Minor update to run tests again * [loki] Initial integration * Minor path update * Added maintaienr email addresses --- projects/loki/Dockerfile | 20 ++++++++++++++++++++ projects/loki/build.sh | 18 ++++++++++++++++++ projects/loki/project.yaml | 10 ++++++++++ 3 files changed, 48 insertions(+) create mode 100644 projects/loki/Dockerfile create mode 100644 projects/loki/build.sh create mode 100644 projects/loki/project.yaml (limited to 'projects') diff --git a/projects/loki/Dockerfile b/projects/loki/Dockerfile new file mode 100644 index 00000000..d7ed8f85 --- /dev/null +++ b/projects/loki/Dockerfile @@ -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/ diff --git a/projects/loki/build.sh b/projects/loki/build.sh new file mode 100644 index 00000000..9f23ec3c --- /dev/null +++ b/projects/loki/build.sh @@ -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 diff --git a/projects/loki/project.yaml b/projects/loki/project.yaml new file mode 100644 index 00000000..54a660ba --- /dev/null +++ b/projects/loki/project.yaml @@ -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 -- cgit v1.2.3