From 697b541ee6a8f8c7651ce099a8d5378240556055 Mon Sep 17 00:00:00 2001 From: Yustina <62885041+YustinaKvr@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:26:04 +0200 Subject: [PATCH 1/6] Rename zuul settings (#79) Rename zuul settings Adjust zuul settings accordingly new name Reviewed-by: Vladimir Vshivkov --- README.md | 2 +- zuul.yaml | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 95bf29d..a2f5f85 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Notification anatomy ******************** This is how typical notification looks like. Since notifications do not differ in their structure, we can give an example of one of them. -![Notification anatomy](https://github.com/opentelekomcloud-infra/grafana-docs-monitoring/blob/documentation/alert_anatomy.PNG) +![Notification anatomy](https://github.com/opentelekomcloud-infra/eyes_on_docs/blob/documentation/alert_anatomy.PNG) **Alert name:** name of an alert. Could be *Orphaned PRs Alert,* *Outdated Documents Alert* or *Open Issues Alert.*\ **Alert summary:** what happened, what is this alert about.\ diff --git a/zuul.yaml b/zuul.yaml index 9b9fc20..2483699 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -1,22 +1,22 @@ --- - job: - name: grafana-docs-monitoring-build-image + name: eyes-on-docs-build-image parent: otc-build-container-image - description: Build grafana-docs-monitoring container image - provides: grafana-docs-monitoring-image - vars: &gdm_image_vars + description: Build eyes-on-docs container image + provides: eyes-on-docs-image + vars: &eod_image_vars container_images: - context: . registry: quay.io - repository: opentelekomcloud/grafana-docs-monitoring + repository: opentelekomcloud/eyes-on-docs tags: &imagetag "{{ zuul.tag is defined | ternary([zuul.get('tag', '').split('.')[0], '.'.join(zuul.get('tag', '').split('.')[:2]), zuul.get('tag', '')], ['latest']) }}" - job: - name: grafana-docs-monitoring-upload-image + name: eyes-on-docs-upload-image parent: otcinfra-upload-container-images - vars: *gdm_image_vars + vars: *eod_image_vars - project: merge-mode: squash-merge @@ -25,10 +25,10 @@ node_version: 18 check: jobs: - - grafana-docs-monitoring-build-image + - eyes-on-docs-build-image gate: jobs: - - grafana-docs-monitoring-upload-image + - eyes-on-docs-upload-image release: jobs: - - grafana-docs-monitoring-upload-image + - eyes-on-docs-upload-image From 3bc37ae778963db492f72bc3eaa042dc2ac4750d Mon Sep 17 00:00:00 2001 From: Vladimir Vshivkov <32225815+vladimirvshivkov@users.noreply.github.com> Date: Mon, 9 Sep 2024 14:59:11 +0200 Subject: [PATCH 2/6] Update base image (#81) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2d48f93..bf2923d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/python-311:1-62.1717085982 +FROM registry.access.redhat.com/ubi9/python-311:1-72.1724040033 WORKDIR /app From 90af281dde183dc30f6676b842082b0e1d79fe7a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 15:00:45 +0200 Subject: [PATCH 3/6] Bump cryptography from 42.0.4 to 43.0.1 (#80) Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.4 to 43.0.1. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pyca/cryptography/compare/42.0.4...43.0.1) --- updated-dependencies: - dependency-name: cryptography dependency-type: direct:production ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9453eff..437d067 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ certifi==2024.7.4 cffi==1.15.1 charset-normalizer==3.1.0 -cryptography==42.0.4 +cryptography==43.0.1 idna==3.7 psycopg2==2.9.6 pycparser==2.21 From 541846227a31bbf976c210b4050e07ffaa481065 Mon Sep 17 00:00:00 2001 From: Yustina <62885041+YustinaKvr@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:44:06 +0200 Subject: [PATCH 4/6] Add security services alerts (#83) Add security services alerts Add Security Services squad to Eyes-on-Docs alert system Reviewed-by: Artem Sh. --- 9_scheduler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/9_scheduler.py b/9_scheduler.py index baebe5c..078d390 100644 --- a/9_scheduler.py +++ b/9_scheduler.py @@ -31,6 +31,7 @@ "Database Squad": {"stream": "Database Squad", "topic": "Doc alerts"}, "Big Data and AI Squad": {"stream": "bigdata & ai", "topic": "helpcenter_alerts"}, "Compute Squad": {"stream": "compute", "topic": "hc_alerts topic"}, + "Security Services Squad": {"stream": "security services", "topic": "Doc Alerts"}, "Network Squad": {"stream": "network", "topic": "Alerts_HelpCenter"} } From 73b3b3f89481a2e6dde6d473f66d48dd1b01ba7f Mon Sep 17 00:00:00 2001 From: Yustina <62885041+YustinaKvr@users.noreply.github.com> Date: Mon, 16 Sep 2024 17:31:03 +0200 Subject: [PATCH 5/6] Add CMS and PaaS squads (#84) Add CMS and PaaS squads 1)Add CMS and PaaS squads to Eyes-on-Docs for gathering alerts Reviewed-by: Vladimir Vshivkov --- .gitignore | 9 +++++++++ 9_scheduler.py | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4f18bd9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.cache/ +__pycache__/ +*.pyc +*.pyo +*.pyd +*.swp +*.swo +config/ +scripts/ diff --git a/9_scheduler.py b/9_scheduler.py index 078d390..a3fde61 100644 --- a/9_scheduler.py +++ b/9_scheduler.py @@ -32,6 +32,8 @@ "Big Data and AI Squad": {"stream": "bigdata & ai", "topic": "helpcenter_alerts"}, "Compute Squad": {"stream": "compute", "topic": "hc_alerts topic"}, "Security Services Squad": {"stream": "security services", "topic": "Doc Alerts"}, + "CMS Squad": {"stream": "CMS Squad", "topic": "Doc alerts"}, + "PaaS Squad": {"stream": "PaaS Squad", "topic": "Doc alerts"}, "Network Squad": {"stream": "network", "topic": "Alerts_HelpCenter"} } From bcd9f4544861c6d6480bad7c7d1f3b57ecb3d591 Mon Sep 17 00:00:00 2001 From: Yustina <62885041+YustinaKvr@users.noreply.github.com> Date: Tue, 17 Sep 2024 16:21:24 +0200 Subject: [PATCH 6/6] Add container and storage squads (#85) Add container and storage squads Add Container and Storage squad to Eyes-on-Docs for gathering alerts Reviewed-by: Anton Sidelnikov --- 9_scheduler.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/9_scheduler.py b/9_scheduler.py index a3fde61..1444886 100644 --- a/9_scheduler.py +++ b/9_scheduler.py @@ -34,6 +34,8 @@ "Security Services Squad": {"stream": "security services", "topic": "Doc Alerts"}, "CMS Squad": {"stream": "CMS Squad", "topic": "Doc alerts"}, "PaaS Squad": {"stream": "PaaS Squad", "topic": "Doc alerts"}, + "Storage Squad": {"stream": "Storage Squad", "topic": "helpcenter_alerts"}, + "Container squad": {"stream": "PaaS Squad", "topic": "Doc alerts"}, "Network Squad": {"stream": "network", "topic": "Alerts_HelpCenter"} }