Create multiple pipelines for Woodpecker-CI at Codeberg
authorAlexander Popov <alex.popov@linux.com>
Sun, 7 May 2023 18:02:01 +0000 (21:02 +0300)
committerAlexander Popov <alex.popov@linux.com>
Sun, 7 May 2023 21:03:45 +0000 (00:03 +0300)
.woodpecker.yml [deleted file]
.woodpecker/engine_unit-test.yml [new file with mode: 0644]
.woodpecker/functional_test.yml [new file with mode: 0644]

diff --git a/.woodpecker.yml b/.woodpecker.yml
deleted file mode 100644 (file)
index 5210bdd..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# .woodpecker.yml
-pipeline:
-  build:
-    image: debian
-    commands:
-      - echo "This is the build step"
-      - ls -la
-  a-test-step:
-    image: debian
-    commands:
-      - echo "Testing.."
-      - ls -la
-      - cat ./bin/kconfig-hardened-check
diff --git a/.woodpecker/engine_unit-test.yml b/.woodpecker/engine_unit-test.yml
new file mode 100644 (file)
index 0000000..b6711c5
--- /dev/null
@@ -0,0 +1,16 @@
+# .woodpecker.yml
+pipeline:
+  hello-step:
+    image: python:3
+    commands:
+      - echo "Hello, this is the engine unit-test"
+  build:
+    image: python:3
+    commands:
+      - echo "Building..."
+      - python --version
+  a-test-step:
+    image: python:3
+    commands:
+      - echo "Testing..."
+      - ./bin/kconfig-hardened-check
diff --git a/.woodpecker/functional_test.yml b/.woodpecker/functional_test.yml
new file mode 100644 (file)
index 0000000..a9ae02a
--- /dev/null
@@ -0,0 +1,16 @@
+# .woodpecker.yml
+pipeline:
+  hello-step:
+    image: python:3
+    commands:
+      - echo "Hello, this is the functional test"
+  build:
+    image: python:3
+    commands:
+      - echo "Building..."
+      - python --version
+  a-test-step:
+    image: python:3
+    commands:
+      - echo "Testing..."
+      - ./bin/kconfig-hardened-check