-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
113 changed files
with
1,066 additions
and
584 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# FROM 529726762838.dkr.ecr.eu-north-1.amazonaws.com/debian:12.8 | ||
FROM debian:12.8 | ||
|
||
RUN apt update && apt install -y curl git | ||
|
||
RUN curl -sSL "https://github.com/coralogix/protofetch/releases/download/v0.1.8/protofetch_$(uname -m)-unknown-linux-musl.tar.gz" -o "protofetch.tar.gz" | ||
RUN tar -xvf "protofetch.tar.gz" -C / | ||
|
||
RUN curl -sSL "https://github.com/bufbuild/buf/releases/download/v1.47.2/buf-Linux-$(uname -m)" -o "/bin/buf" | ||
RUN chmod +x "/bin/buf" | ||
|
||
ADD . /branch | ||
|
||
# Fetch the master branch, fetch dependencies and merge them | ||
RUN --mount=type=ssh \ | ||
--mount=type=secret,id=known_hosts,target=/root/.ssh/known_hosts \ | ||
git clone git@github.com:coralogix/cx-api-alerts.git /master | ||
WORKDIR /master | ||
RUN --mount=type=ssh \ | ||
--mount=type=secret,id=known_hosts,target=/root/.ssh/known_hosts \ | ||
if [ -f "protofetch.toml" ]; then protofetch fetch -f; fi | ||
|
||
WORKDIR /branch | ||
RUN --mount=type=ssh \ | ||
--mount=type=secret,id=known_hosts,target=/root/.ssh/known_hosts \ | ||
protofetch fetch -f | ||
|
||
|
||
RUN buf lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
version: v1 | ||
deps: | ||
- buf.build/googleapis/googleapis | ||
version: v2 | ||
modules: | ||
- path: src | ||
- path: deps | ||
lint: | ||
use: | ||
- DEFAULT | ||
ignore: | ||
- deps | ||
except: | ||
- PACKAGE_DIRECTORY_MATCH | ||
- PACKAGE_SAME_DIRECTORY | ||
allow_comment_ignores: true | ||
- RPC_REQUEST_STANDARD_NAME | ||
- RPC_RESPONSE_STANDARD_NAME | ||
- FIELD_LOWER_SNAKE_CASE | ||
- PACKAGE_DEFINED | ||
breaking: | ||
use: | ||
- WIRE | ||
ignore: | ||
- deps |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
...ralogixapis/alerts/v3/alert_def_type_definition/activity_analysis/activity_analysis.proto
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
com/coralogixapis/alerts/v3/alert_def_type_definition/common/anomaly_alert_settings.proto
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
com/coralogixapis/alerts/v3/alert_def_type_definition/flow/flow_type_definition.proto
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
...coralogixapis/alerts/v3/alert_def_type_definition/logs/logs_anomaly_type_definition.proto
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...ralogixapis/alerts/v3/alert_def_type_definition/logs/logs_immediate_type_definition.proto
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
...ralogixapis/alerts/v3/alert_def_type_definition/logs/logs_new_value_type_definition.proto
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
...xapis/alerts/v3/alert_def_type_definition/logs/logs_ratio_threshold_type_definition.proto
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
...ralogixapis/alerts/v3/alert_def_type_definition/logs/logs_threshold_type_definition.proto
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
...erts/v3/alert_def_type_definition/logs/logs_time_relative_threshold_type_definition.proto
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
...ogixapis/alerts/v3/alert_def_type_definition/logs/logs_unique_count_type_definition.proto
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
...logixapis/alerts/v3/alert_def_type_definition/metric/metric_anomaly_type_definition.proto
This file was deleted.
Oops, something went wrong.
9 changes: 0 additions & 9 deletions
9
com/coralogixapis/alerts/v3/alert_def_type_definition/overrides.proto
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.