From 02a1c23a429d92e66f0d49893b9e267fd4ec1bb1 Mon Sep 17 00:00:00 2001 From: Fabian Widmann Date: Wed, 7 Jul 2021 08:41:23 +0200 Subject: [PATCH] chore(docs): add `[source,yaml]` above all code listings --- documentation/chapters/templates/container-publish.adoc | 1 + documentation/chapters/templates/container-scan.adoc | 1 + documentation/chapters/templates/maven-build-template.adoc | 1 + .../chapters/templates/maven-dependencies-template.adoc | 1 + documentation/chapters/templates/maven-verify-template.adoc | 1 + documentation/chapters/templates/npm-build-template.adoc | 1 + documentation/chapters/templates/npm-dependencies-template.adoc | 1 + documentation/chapters/templates/npm-lint-template.adoc | 1 + documentation/chapters/templates/npm-test-template.adoc | 1 + 9 files changed, 9 insertions(+) diff --git a/documentation/chapters/templates/container-publish.adoc b/documentation/chapters/templates/container-publish.adoc index d8ffbdf..267d3f5 100644 --- a/documentation/chapters/templates/container-publish.adoc +++ b/documentation/chapters/templates/container-publish.adoc @@ -13,6 +13,7 @@ Falls das Projekt aus mehreren Poms besteht, kann `before_script:` benutzt werde |=== .sonar-template +[source, yaml] ---- include::{sourcedir}/container-publish.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/container-scan.adoc b/documentation/chapters/templates/container-scan.adoc index 5ba12de..4baaabe 100644 --- a/documentation/chapters/templates/container-scan.adoc +++ b/documentation/chapters/templates/container-scan.adoc @@ -25,6 +25,7 @@ Benutzte `allow_failure: true` damit die CI weiter läuft aber ein Failure angez |=== .container scan template +[source, yaml] ---- include::{sourcedir}/container-scan.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/maven-build-template.adoc b/documentation/chapters/templates/maven-build-template.adoc index 42f4eb4..71e9f06 100644 --- a/documentation/chapters/templates/maven-build-template.adoc +++ b/documentation/chapters/templates/maven-build-template.adoc @@ -10,6 +10,7 @@ Diese Template Baut die .jar Files und speichert die Ergebnisse als Artifact. |=== .mvn-build-template +[source, yaml] ---- include::{sourcedir}/maven-build-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/maven-dependencies-template.adoc b/documentation/chapters/templates/maven-dependencies-template.adoc index 2d85373..9cbba8f 100644 --- a/documentation/chapters/templates/maven-dependencies-template.adoc +++ b/documentation/chapters/templates/maven-dependencies-template.adoc @@ -11,6 +11,7 @@ Bitte den Cache hinzufügen. Siehe xref:Generel-Veriablen[Generelle Veriablen] |=== .mvn-dependencies-template +[source, yaml] ---- include::{sourcedir}/maven-dependencies-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/maven-verify-template.adoc b/documentation/chapters/templates/maven-verify-template.adoc index 6757312..7f74390 100644 --- a/documentation/chapters/templates/maven-verify-template.adoc +++ b/documentation/chapters/templates/maven-verify-template.adoc @@ -10,6 +10,7 @@ Dieses Template startet `mvn verify` und speichert die Ergebnisse als Artifact. |=== .mvn-verify-template +[source, yaml] ---- include::{sourcedir}/maven-verify-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/npm-build-template.adoc b/documentation/chapters/templates/npm-build-template.adoc index 8b99c39..e13b88b 100644 --- a/documentation/chapters/templates/npm-build-template.adoc +++ b/documentation/chapters/templates/npm-build-template.adoc @@ -10,6 +10,7 @@ Dieses Template baut das NPM projekt und speichert die Ergebnisse als Artifact.. |=== .npm-build-template +[source, yaml] ---- include::{sourcedir}/npm-build-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/npm-dependencies-template.adoc b/documentation/chapters/templates/npm-dependencies-template.adoc index 7621486..11feb1a 100644 --- a/documentation/chapters/templates/npm-dependencies-template.adoc +++ b/documentation/chapters/templates/npm-dependencies-template.adoc @@ -11,6 +11,7 @@ Bitte den Cache hinzufügen. Siehe xref:Generel-Veriablen[Generelle Veriablen] |=== .npm-dependencies-template +[source, yaml] ---- include::{sourcedir}/npm-dependencies-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/npm-lint-template.adoc b/documentation/chapters/templates/npm-lint-template.adoc index 1c3116c..50437f2 100644 --- a/documentation/chapters/templates/npm-lint-template.adoc +++ b/documentation/chapters/templates/npm-lint-template.adoc @@ -10,6 +10,7 @@ Dieses Template durchläuft den Linter das NPM projekts. |=== .npm-lint-template +[source, yaml] ---- include::{sourcedir}/npm-lint-template.gitlab-ci.yml[] ---- \ No newline at end of file diff --git a/documentation/chapters/templates/npm-test-template.adoc b/documentation/chapters/templates/npm-test-template.adoc index 8b4c8f5..190f7fc 100644 --- a/documentation/chapters/templates/npm-test-template.adoc +++ b/documentation/chapters/templates/npm-test-template.adoc @@ -10,6 +10,7 @@ Dieses Template baut das NPM projekt. |=== .npm-test-template +[source, yaml] ---- include::{sourcedir}/npm-test-template.gitlab-ci.yml[] ---- \ No newline at end of file