From 5ee9573c18b54cfd399fe41b871e73e1ad71062e Mon Sep 17 00:00:00 2001 From: Leonardo Rossetti Date: Sep 03 2021 19:41:26 +0000 Subject: adding placeholder ci tasks --- diff --git a/.zuul.yaml b/.zuul.yaml new file mode 100644 index 0000000..bc1bf0a --- /dev/null +++ b/.zuul.yaml @@ -0,0 +1,21 @@ +- job: + name: operator-test + description: Run operator sanity tests using molecule + run: ci/operator-test.yaml + +- job: + name: operator-image-push + description: Build and push the operator image if needed + run: ci/operator-image-push.yaml + +- job: + name: components-image-push + description: Build and push component images to a registry if needed + run: ci/components-image-push.yaml + +- project: + check: + jobs: + - operator-test + - operator-image-push + - components-image-push diff --git a/ci/.yamllint.yaml b/ci/.yamllint.yaml new file mode 100644 index 0000000..11a1e13 --- /dev/null +++ b/ci/.yamllint.yaml @@ -0,0 +1,31 @@ +--- +yaml-files: + - '*.yaml' + - '*.yml' + +rules: + braces: enable + brackets: enable + colons: enable + commas: enable + comments: + level: warning + comments-indentation: + level: warning + document-end: disable + document-start: + level: warning + empty-lines: enable + empty-values: disable + hyphens: enable + indentation: enable + key-duplicates: enable + key-ordering: disable + line-length: enable + new-line-at-end-of-file: enable + new-lines: enable + octal-values: disable + quoted-strings: disable + trailing-spaces: enable + truthy: + level: warning diff --git a/ci/components-image-push.yaml b/ci/components-image-push.yaml new file mode 100644 index 0000000..c95b5b9 --- /dev/null +++ b/ci/components-image-push.yaml @@ -0,0 +1,6 @@ +--- +- hosts: all + tasks: + - name: Placeholder task + debug: + msg: "TODO: Build and push components images to a registry" diff --git a/ci/operator-image-push.yaml b/ci/operator-image-push.yaml new file mode 100644 index 0000000..f641023 --- /dev/null +++ b/ci/operator-image-push.yaml @@ -0,0 +1,6 @@ +--- +- hosts: all + tasks: + - name: Placeholder task + debug: + msg: "TODO: build and push the operator image" diff --git a/ci/operator-test.yaml b/ci/operator-test.yaml new file mode 100644 index 0000000..686d77e --- /dev/null +++ b/ci/operator-test.yaml @@ -0,0 +1,6 @@ +--- +- hosts: all + tasks: + - name: Placeholder task + debug: + msg: "TODO: run tests in minikube or docker"