From 32e848fc06b618533161c110979c0c45e3d11e8d Mon Sep 17 00:00:00 2001 From: Rowena Date: Mon, 7 Oct 2024 14:10:26 +0200 Subject: [PATCH 1/3] fix(python): correct script and tutos --- bin/check-review-dates.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/check-review-dates.py b/bin/check-review-dates.py index a7eadc7112..64820c4e2b 100644 --- a/bin/check-review-dates.py +++ b/bin/check-review-dates.py @@ -37,7 +37,7 @@ def extract_metadata(filepath): if "validation: " in line: val_date = line.split(": ", 1)[1].strip() has_val_date = True - if "validation-frequency:" in line: + if "validation_frequency:" in line: val_freq = line.split(": ", 1)[1].strip() if "---" in line: meta_limiters += 1 @@ -119,6 +119,7 @@ def main(): docs_to_review = process_files(".") docs_to_review_by_cat = organize_docs_by_category(docs_to_review) message = prep_message(docs_to_review_by_cat) + print(message) if os.environ.get("DRY_RUN") != "true": send_message(message) From f4ffd874cfb1947d45eccdd77913760c6c3633f1 Mon Sep 17 00:00:00 2001 From: Rowena Date: Mon, 7 Oct 2024 14:11:49 +0200 Subject: [PATCH 2/3] fix(python): fix tutos --- tutorials/ceph-cluster/index.mdx | 2 +- tutorials/create-deploy-staging-site-cpanel/index.mdx | 2 +- tutorials/deploy-big-blue-button/index.mdx | 2 +- tutorials/easydeploy-argocd/index.mdx | 2 +- tutorials/easydeploy-gitlab-server/index.mdx | 2 +- tutorials/easydeploy-grafana/index.mdx | 2 +- tutorials/easydeploy-vault/index.mdx | 2 +- tutorials/getting-started-with-kops-on-scaleway/index.mdx | 2 +- tutorials/install-cockroachdb-scaleway-instances/index.mdx | 2 +- tutorials/install-golang-ubuntu-bionic/index.mdx | 2 +- tutorials/install-php-composer/index.mdx | 2 +- tutorials/installation-jekyll/index.mdx | 2 +- tutorials/jitsi-debian/index.mdx | 2 +- tutorials/jitsi-ubuntu-bionic/index.mdx | 2 +- tutorials/lb-firewall-haproxy-pfsense/index.mdx | 2 +- tutorials/matomo-analytics/index.mdx | 2 +- tutorials/minikube-elastic-metal/index.mdx | 2 +- tutorials/proxmox-softraid/index.mdx | 2 +- tutorials/run-messaging-platform-with-rocketchat/index.mdx | 2 +- .../index.mdx | 2 +- .../run-python-flask-server-on-serverless-container/index.mdx | 2 +- tutorials/setup-ampere-ai-framework-arm-instances/index.mdx | 2 +- tutorials/stop-outgoing-spam/index.mdx | 2 +- .../transform-bucket-images-triggers-functions-set-up/index.mdx | 2 +- 24 files changed, 24 insertions(+), 24 deletions(-) diff --git a/tutorials/ceph-cluster/index.mdx b/tutorials/ceph-cluster/index.mdx index 46a2ac4417..56244c9992 100644 --- a/tutorials/ceph-cluster/index.mdx +++ b/tutorials/ceph-cluster/index.mdx @@ -12,7 +12,7 @@ tags: dedicated-servers dedibox Ceph object-storage hero: assets/scaleway_ceph.webp dates: validation: 2023-11-27 - validation-frequency: 18 + validation_frequency: 18 posted: 2020-06-29 --- diff --git a/tutorials/create-deploy-staging-site-cpanel/index.mdx b/tutorials/create-deploy-staging-site-cpanel/index.mdx index ab742e2b0a..40cae9d053 100644 --- a/tutorials/create-deploy-staging-site-cpanel/index.mdx +++ b/tutorials/create-deploy-staging-site-cpanel/index.mdx @@ -9,9 +9,9 @@ tags: webhosting cpanel wordpress dates: validation: 2024-04-26 posted: 2024-04-26 + validation_frequency: 24 categories: - webhosting -validation_frequency: 24 --- A staging website mirrors your production website, containing identical data and files while remaining publicly inaccessible. diff --git a/tutorials/deploy-big-blue-button/index.mdx b/tutorials/deploy-big-blue-button/index.mdx index a12c12b7c6..c6d57e4701 100644 --- a/tutorials/deploy-big-blue-button/index.mdx +++ b/tutorials/deploy-big-blue-button/index.mdx @@ -12,7 +12,7 @@ hero: assets/scaleway_bigbluebutton.webp dates: validation: 2024-10-03 posted: 2020-06-10 -validation_frequency: 24 + validation_frequency: 24 --- BigBlueButton is a powerful web conferencing system that allows you to communicate with remote team members over fully encrypted connections using TLS/SSL. The application was developed for academic use and supports a large number of concurrent users in each conference room. diff --git a/tutorials/easydeploy-argocd/index.mdx b/tutorials/easydeploy-argocd/index.mdx index 4b688832e0..e2653dbebc 100644 --- a/tutorials/easydeploy-argocd/index.mdx +++ b/tutorials/easydeploy-argocd/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-06-13 posted: 2024-06-13 -validation_frequency: 24 + validation_frequency: 24 --- Argo CD is a declarative, GitOps continuous delivery tool for Kubernetes. diff --git a/tutorials/easydeploy-gitlab-server/index.mdx b/tutorials/easydeploy-gitlab-server/index.mdx index c323bada5a..5d3a2023b0 100644 --- a/tutorials/easydeploy-gitlab-server/index.mdx +++ b/tutorials/easydeploy-gitlab-server/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-06-20 posted: 2024-06-20 -validation_frequency: 24 + validation_frequency: 24 --- This tutorial provides a guide to deploy a GitLab server on Scaleway Kubernetes clusters using the Easy Deploy feature. diff --git a/tutorials/easydeploy-grafana/index.mdx b/tutorials/easydeploy-grafana/index.mdx index a56cdf908c..2f652d2d35 100644 --- a/tutorials/easydeploy-grafana/index.mdx +++ b/tutorials/easydeploy-grafana/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-06-13 posted: 2024-06-13 -validation_frequency: 24 + validation_frequency: 24 --- Grafana is a powerful open-source platform for monitoring and observability, allowing users to visualize and analyze metrics from various data sources. diff --git a/tutorials/easydeploy-vault/index.mdx b/tutorials/easydeploy-vault/index.mdx index 5e446115c2..f8baa60b1c 100644 --- a/tutorials/easydeploy-vault/index.mdx +++ b/tutorials/easydeploy-vault/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-06-13 posted: 2024-06-13 -validation_frequency: 24 + validation_frequency: 24 --- HashiCorp Vault is an identity-based secrets and encryption management system. diff --git a/tutorials/getting-started-with-kops-on-scaleway/index.mdx b/tutorials/getting-started-with-kops-on-scaleway/index.mdx index 0405281fd7..4c5b45dfe2 100644 --- a/tutorials/getting-started-with-kops-on-scaleway/index.mdx +++ b/tutorials/getting-started-with-kops-on-scaleway/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-04-04 posted: 2023-03-23 -validation_frequency: 24 + validation_frequency: 24 --- kOps is a tool that helps you set up and manage Kubernetes clusters for production use. It is like a version of `kubectl` specifically designed for managing clusters. diff --git a/tutorials/install-cockroachdb-scaleway-instances/index.mdx b/tutorials/install-cockroachdb-scaleway-instances/index.mdx index 8c11b706d5..0cfe442a0b 100644 --- a/tutorials/install-cockroachdb-scaleway-instances/index.mdx +++ b/tutorials/install-cockroachdb-scaleway-instances/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-04-09 posted: 2023-10-02 -validation_frequency: 24 + validation_frequency: 24 --- CockroachDB is an open-source, distributed SQL database designed to be scalable, reliable, and consistent. diff --git a/tutorials/install-golang-ubuntu-bionic/index.mdx b/tutorials/install-golang-ubuntu-bionic/index.mdx index 0caad0d0ba..c0855aa440 100644 --- a/tutorials/install-golang-ubuntu-bionic/index.mdx +++ b/tutorials/install-golang-ubuntu-bionic/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-10-03 posted: 2018-08-14 -validation_frequency: 24 + validation_frequency: 24 --- [Go](https://go.dev/) is an open-source programming language, initially developed by a team at Google and becoming increasingly popular for many applications. The project is backed by many contributors from the open-source community. diff --git a/tutorials/install-php-composer/index.mdx b/tutorials/install-php-composer/index.mdx index 38a7a058f8..fcf58707c3 100644 --- a/tutorials/install-php-composer/index.mdx +++ b/tutorials/install-php-composer/index.mdx @@ -12,7 +12,7 @@ hero: assets/scaleway_php_composer.webp dates: validation: 2024-05-27 posted: 2018-01-29 -validation_frequency: 24 + validation_frequency: 24 --- PHP Composer is a package dependency management tool for PHP similar to NPM for Node.js and a bundle for Ruby. Composer facilitates the installation and updates for project dependencies. In short, Composer will pull in all the required PHP packages your project depends on and manage them for you. diff --git a/tutorials/installation-jekyll/index.mdx b/tutorials/installation-jekyll/index.mdx index 0ac45cca8e..5514cb9d46 100644 --- a/tutorials/installation-jekyll/index.mdx +++ b/tutorials/installation-jekyll/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-06-03 posted: 2018-07-12 -validation_frequency: 24 + validation_frequency: 24 --- Jekyll is a powerful tool built with Ruby, designed to convert MarkDown files into static websites. Unlike server-side languages such as PHP, which generates a new page for each visitor, Jekyll takes a different approach. It transforms your MarkDown content into static HTML files, minimizing RAM and CPU usage. This method ensures that your web pages are pre-generated, providing a faster and resource-friendly solution. diff --git a/tutorials/jitsi-debian/index.mdx b/tutorials/jitsi-debian/index.mdx index a92ce7366f..4525f1a59e 100644 --- a/tutorials/jitsi-debian/index.mdx +++ b/tutorials/jitsi-debian/index.mdx @@ -11,7 +11,7 @@ tags: media Jitsi-Meet Debian-Buster videoconferencing dates: validation: 2024-06-17 posted: 2020-03-16 -validation_frequency: 24 + validation_frequency: 24 --- Jitsi Meet is a fully encrypted, open-source video conferencing tool that does not require an account or subscription. diff --git a/tutorials/jitsi-ubuntu-bionic/index.mdx b/tutorials/jitsi-ubuntu-bionic/index.mdx index a1aa13b355..506dde1a56 100644 --- a/tutorials/jitsi-ubuntu-bionic/index.mdx +++ b/tutorials/jitsi-ubuntu-bionic/index.mdx @@ -11,7 +11,7 @@ tags: media videoconferencing Jitsi-Meet Ubuntu Bionic-Beaver dates: validation: 2024-06-17 posted: 2020-03-16 -validation_frequency: 24 + validation_frequency: 24 --- Jitsi Meet serves as an open-source video conferencing solution, designed to facilitate virtual meetings for remote teams. The software emphasizes quality in both video and audio performance and ensures security through fully encrypted connections, employing TLS/SSL protocols and [Let's Encrypt](https://letsencrypt.org/) certificates. diff --git a/tutorials/lb-firewall-haproxy-pfsense/index.mdx b/tutorials/lb-firewall-haproxy-pfsense/index.mdx index 346754e26c..94d1df1f1c 100644 --- a/tutorials/lb-firewall-haproxy-pfsense/index.mdx +++ b/tutorials/lb-firewall-haproxy-pfsense/index.mdx @@ -12,7 +12,7 @@ categories: tags: Load-balancer pfSense HAproxy dedibox dates: validation: 2023-11-27 - validation-frequency: 18 + validation_frequency: 18 posted: 2020-03-11 --- diff --git a/tutorials/matomo-analytics/index.mdx b/tutorials/matomo-analytics/index.mdx index 619aef0b40..b93b56fbc2 100644 --- a/tutorials/matomo-analytics/index.mdx +++ b/tutorials/matomo-analytics/index.mdx @@ -11,8 +11,8 @@ tags: Matomo Ubuntu Focal-Fossa LEMP-Stack analytics dates: validation: 2024-09-16 posted: 2019-07-24 + validation_frequency: 24 hero: assets/scaleway-matomo.webp -validation_frequency: 24 --- [Matomo](https://matomo.org/) (former: Piwik) is an open-source web analytics platform designed to evaluate the visitor's behavior for one or multiple websites. diff --git a/tutorials/minikube-elastic-metal/index.mdx b/tutorials/minikube-elastic-metal/index.mdx index f384a8b5cd..e5570aabb2 100644 --- a/tutorials/minikube-elastic-metal/index.mdx +++ b/tutorials/minikube-elastic-metal/index.mdx @@ -12,7 +12,7 @@ tags: Kubernetes Minikube Elastic-Metal dates: validation: 2024-08-27 posted: 2019-05-27 -validation_frequency: 24 + validation_frequency: 24 --- Kubernetes is a powerful open-source platform designed for managing containerized workloads and services, boasting a rapidly expanding ecosystem. It orchestrates computing, networking, and storage infrastructure to streamline user workloads efficiently. Originally released by Google in 2014, Kubernetes offers declarative configuration and automation capabilities, making it a preferred choice for modern software development and deployment. diff --git a/tutorials/proxmox-softraid/index.mdx b/tutorials/proxmox-softraid/index.mdx index a9d3587b5b..44995045c0 100644 --- a/tutorials/proxmox-softraid/index.mdx +++ b/tutorials/proxmox-softraid/index.mdx @@ -11,7 +11,7 @@ tags: Proxmox RAID Dedibox KVM containers dates: validation: 2024-07-08 posted: 2020-01-22 -validation_frequency: 24 + validation_frequency: 24 --- ## Proxmox - Overview diff --git a/tutorials/run-messaging-platform-with-rocketchat/index.mdx b/tutorials/run-messaging-platform-with-rocketchat/index.mdx index c24b1ec098..01cedc4c11 100644 --- a/tutorials/run-messaging-platform-with-rocketchat/index.mdx +++ b/tutorials/run-messaging-platform-with-rocketchat/index.mdx @@ -12,7 +12,7 @@ hero: assets/scaleway_rocketchat.webp dates: validation: 2024-06-24 posted: 2019-01-30 -validation_frequency: 24 + validation_frequency: 24 --- [Rocket.Chat](https://rocket.chat) is a free and open-source team chat software solution. It provides features like audio and video conferencing, guest access, screen sharing, file sharing, LiveChat, LDAP Group Sync, two-factor authentication (2FA), E2E encryption, SSO, and more. The tool uses [MongoDB](/tutorials/mongodb-ubuntu-1604/) as a database and the JavaScript runtime [Node.js](https://nodejs.org/en/). diff --git a/tutorials/run-nodejs-express-server-on-serverless-containers/index.mdx b/tutorials/run-nodejs-express-server-on-serverless-containers/index.mdx index b2c78ae886..d9cf29d2b6 100644 --- a/tutorials/run-nodejs-express-server-on-serverless-containers/index.mdx +++ b/tutorials/run-nodejs-express-server-on-serverless-containers/index.mdx @@ -11,7 +11,7 @@ tags: serverless containers caas nodejs express-server dates: validation: 2024-07-15 posted: 2021-10-14 -validation_frequency: 24 + validation_frequency: 24 --- Express is a lightweight Node.js framework designed to ease building applications and APIs. diff --git a/tutorials/run-python-flask-server-on-serverless-container/index.mdx b/tutorials/run-python-flask-server-on-serverless-container/index.mdx index 0d46033091..a7edc0675d 100644 --- a/tutorials/run-python-flask-server-on-serverless-container/index.mdx +++ b/tutorials/run-python-flask-server-on-serverless-container/index.mdx @@ -11,7 +11,7 @@ tags: caas functions nodejs express-server Python Flask dates: validation: 2024-06-25 posted: 2021-10-14 -validation_frequency: 24 + validation_frequency: 24 --- Flask is a Python framework that enables you to easily deploy simple web servers and APIs. In this tutorial, you will learn how to configure your Flask application to run on a Serverless Container. diff --git a/tutorials/setup-ampere-ai-framework-arm-instances/index.mdx b/tutorials/setup-ampere-ai-framework-arm-instances/index.mdx index 1b68523398..57d7067a3b 100644 --- a/tutorials/setup-ampere-ai-framework-arm-instances/index.mdx +++ b/tutorials/setup-ampere-ai-framework-arm-instances/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-08-12 posted: 2024-02-09 -validation_frequency: 24 + validation_frequency: 24 --- Ampere AI frameworks provide a comprehensive set of tools and libraries for building and deploying AI models on ARM-based Instances. diff --git a/tutorials/stop-outgoing-spam/index.mdx b/tutorials/stop-outgoing-spam/index.mdx index 59bb802afd..1111e3a348 100644 --- a/tutorials/stop-outgoing-spam/index.mdx +++ b/tutorials/stop-outgoing-spam/index.mdx @@ -11,7 +11,7 @@ categories: dates: validation: 2024-04-22 posted: 2020-08-24 -validation_frequency: 24 + validation_frequency: 24 --- While the most widely recognized form of SPAM is email SPAM, other SPAM types exist, such as Usenet newsgroup SPAM, SPAM in communities, SPAM in blog comments, and much more. Users concerned by SPAM can contact the abuse helpdesk of the service provider (unknowingly), hosting the machines being abused to distribute these messages. The service provider will inform his customer about the situation. If you have received an abuse complaint about SPAM, immediate action from your side is required to stop the transmission of these unsolicited messages and secure your system. diff --git a/tutorials/transform-bucket-images-triggers-functions-set-up/index.mdx b/tutorials/transform-bucket-images-triggers-functions-set-up/index.mdx index 225af4e53d..0314dc3f5c 100644 --- a/tutorials/transform-bucket-images-triggers-functions-set-up/index.mdx +++ b/tutorials/transform-bucket-images-triggers-functions-set-up/index.mdx @@ -13,7 +13,7 @@ tags: serverless functions triggers sqs dates: validation: 2024-10-03 posted: 2023-07-07 -validation_frequency: 24 + validation_frequency: 24 --- Serverless Functions are an asynchronous microservices architecture where event sources are decorrelated from event consumers. From 60a06ca286ba0f7742d723d2354e307c49c331df Mon Sep 17 00:00:00 2001 From: Rowena Date: Mon, 7 Oct 2024 14:12:40 +0200 Subject: [PATCH 3/3] fix(tutos): remove print --- bin/check-review-dates.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/check-review-dates.py b/bin/check-review-dates.py index 64820c4e2b..17ff276ab7 100644 --- a/bin/check-review-dates.py +++ b/bin/check-review-dates.py @@ -119,7 +119,6 @@ def main(): docs_to_review = process_files(".") docs_to_review_by_cat = organize_docs_by_category(docs_to_review) message = prep_message(docs_to_review_by_cat) - print(message) if os.environ.get("DRY_RUN") != "true": send_message(message)