Просмотр исходного кода

fix: resolve yamllint issues

- Fix truthy value in release.yaml workflow (use 'on' instead of on)
- Fix line length in release.yaml install command
- Remove trailing spaces from gitea and nextcloud template descriptions
- Disable comments-indentation rule (too strict for commented examples)
- Wrap long lines in twingate-connector and wazuh template descriptions

All yamllint --strict checks now pass.
xcad 4 месяцев назад
Родитель
Сommit
94f642aa04

+ 3 - 2
.github/workflows/release.yaml

@@ -1,7 +1,7 @@
 ---
 ---
 name: Release
 name: Release
 
 
-on:
+'on':
   push:
   push:
     tags:
     tags:
       - 'v*.*.*'  # Trigger on version tags like v1.0.0, v2.1.3, etc.
       - 'v*.*.*'  # Trigger on version tags like v1.0.0, v2.1.3, etc.
@@ -125,7 +125,8 @@ jobs:
 
 
             Or install a specific version:
             Or install a specific version:
             ```bash
             ```bash
-            curl -fsSL https://raw.githubusercontent.com/christianlempa/boilerplates/main/scripts/install.sh | bash -s -- --version ${{ steps.version.outputs.tag }}
+            curl -fsSL https://raw.githubusercontent.com/christianlempa/boilerplates/main/scripts/install.sh |
+              bash -s -- --version ${{ steps.version.outputs.tag }}
             ```
             ```
           draft: false
           draft: false
           prerelease: >
           prerelease: >

+ 1 - 0
.yamllint

@@ -2,6 +2,7 @@
 extends: default
 extends: default
 
 
 rules:
 rules:
+  comments-indentation: disable
   indentation:
   indentation:
     spaces: 2
     spaces: 2
     indent-sequences: true
     indent-sequences: true

+ 2 - 2
library/compose/gitea/template.yaml

@@ -3,8 +3,8 @@ kind: compose
 metadata:
 metadata:
   name: Gitea
   name: Gitea
   description: >
   description: >
-    Self-hosted Git service with web interface. Gitea is a painless, self-hosted Git service 
-    written in Go. It's similar to GitHub, Bitbucket, and GitLab, providing Git repository 
+    Self-hosted Git service with web interface. Gitea is a painless, self-hosted Git service
+    written in Go. It's similar to GitHub, Bitbucket, and GitLab, providing Git repository
     hosting, code review, team collaboration, and more.
     hosting, code review, team collaboration, and more.
 
 
 
 

+ 2 - 2
library/compose/nextcloud/template.yaml

@@ -3,8 +3,8 @@ kind: compose
 metadata:
 metadata:
   name: Nextcloud
   name: Nextcloud
   description: >
   description: >
-    Self-hosted file sync and share platform. Nextcloud is a suite of client-server 
-    software for creating and using file hosting services. It provides functionality 
+    Self-hosted file sync and share platform. Nextcloud is a suite of client-server
+    software for creating and using file hosting services. It provides functionality
     similar to Dropbox, with the added benefit of being self-hosted and open-source.
     similar to Dropbox, with the added benefit of being self-hosted and open-source.
 
 
 
 

+ 4 - 3
library/compose/twingate-connector/template.yaml

@@ -3,9 +3,10 @@ kind: compose
 metadata:
 metadata:
   name: Twingate_Connector
   name: Twingate_Connector
   description: >
   description: >
-    The Twingate Connector is a lightweight software component that establishes secure connections between your private network and the Twingate service.
-    It acts as a bridge, allowing authorized users to access internal resources without exposing them directly to the internet.
-    The Connector uses strong encryption and authentication mechanisms to ensure that all data transmitted between users and resources remains confidential and secure.
+    The Twingate Connector is a lightweight software component that establishes secure connections between your private network and the
+    Twingate service. It acts as a bridge, allowing authorized users to access internal resources without exposing them directly to the
+    internet. The Connector uses strong encryption and authentication mechanisms to ensure that all data transmitted between users and
+    resources remains confidential and secure.
 
 
 
 
     Project: https://www.twingate.com/
     Project: https://www.twingate.com/

+ 3 - 2
library/compose/wazuh/template.yaml

@@ -3,8 +3,9 @@ kind: compose
 metadata:
 metadata:
   name: Wazuh
   name: Wazuh
   description: >
   description: >
-    Wazuh is a comprehensive open-source security platform that provides unified security monitoring, threat detection, and compliance management.
-    It integrates with various tools and services to offer real-time visibility into your IT environment, helping you identify and respond to security threats effectively.
+    Wazuh is a comprehensive open-source security platform that provides unified security monitoring, threat detection, and compliance
+    management. It integrates with various tools and services to offer real-time visibility into your IT environment, helping you identify
+    and respond to security threats effectively.
 
 
 
 
     Project: https://wazuh.com/
     Project: https://wazuh.com/