From 74f975ac7909f4c0f8433d12defb6012ab6c9ff5 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 7 May 2023 21:02:01 +0300 Subject: [PATCH] Create multiple pipelines for Woodpecker-CI at Codeberg --- .woodpecker.yml | 13 ------------- .woodpecker/engine_unit-test.yml | 16 ++++++++++++++++ .woodpecker/functional_test.yml | 16 ++++++++++++++++ 3 files changed, 32 insertions(+), 13 deletions(-) delete mode 100644 .woodpecker.yml create mode 100644 .woodpecker/engine_unit-test.yml create mode 100644 .woodpecker/functional_test.yml diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 5210bdd..0000000 --- a/.woodpecker.yml +++ /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 index 0000000..b6711c5 --- /dev/null +++ b/.woodpecker/engine_unit-test.yml @@ -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 index 0000000..a9ae02a --- /dev/null +++ b/.woodpecker/functional_test.yml @@ -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 -- 2.31.1