From 65fc140be2e92a9f2dfd27ef2f6c9c43c9ea2341 Mon Sep 17 00:00:00 2001 From: Witold Ratajszczak Date: Mon, 23 Jan 2023 08:58:26 +0100 Subject: [PATCH 1/4] Create ci-pipeline.yml --- ci-pipeline.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ci-pipeline.yml diff --git a/ci-pipeline.yml b/ci-pipeline.yml new file mode 100644 index 0000000..e381e62 --- /dev/null +++ b/ci-pipeline.yml @@ -0,0 +1,9 @@ +env: + environment: test + +build: + name: Build Docker Image + runs-on: ubuntu-latest + + -name: echoing + run: echo "test" From 391835ead5acba5f22a2f946ecf4dac37e1d4ed6 Mon Sep 17 00:00:00 2001 From: Witold Ratajszczak Date: Mon, 23 Jan 2023 11:04:56 +0100 Subject: [PATCH 2/4] Create ci-hello-test.yml --- .github/workflows/ci-hello-test.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ci-hello-test.yml diff --git a/.github/workflows/ci-hello-test.yml b/.github/workflows/ci-hello-test.yml new file mode 100644 index 0000000..6da9d9f --- /dev/null +++ b/.github/workflows/ci-hello-test.yml @@ -0,0 +1,19 @@ +name: hello test + +on: + push: + branches: + - 'ci*' + pull_request: + branches: + - 'ci*' + +jobs: + my-test: + runs-on: ubuntu-latest + + steps: + - name: my test first step + run: echo "test started" + run: echo 1 + From d50fd1c414e41206918a4409b53003108fac90a4 Mon Sep 17 00:00:00 2001 From: Witold Ratajszczak Date: Mon, 23 Jan 2023 11:06:03 +0100 Subject: [PATCH 3/4] Update ci-hello-test.yml --- .github/workflows/ci-hello-test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-hello-test.yml b/.github/workflows/ci-hello-test.yml index 6da9d9f..7554b2e 100644 --- a/.github/workflows/ci-hello-test.yml +++ b/.github/workflows/ci-hello-test.yml @@ -15,5 +15,7 @@ jobs: steps: - name: my test first step run: echo "test started" - run: echo 1 + + - name: my test will fail + run: echo 2 From 156b03a1e43f764384bfa500f5e830b5c4b9f722 Mon Sep 17 00:00:00 2001 From: Witold Ratajszczak Date: Mon, 23 Jan 2023 11:08:46 +0100 Subject: [PATCH 4/4] Update ci-hello-test.yml --- .github/workflows/ci-hello-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-hello-test.yml b/.github/workflows/ci-hello-test.yml index 7554b2e..38ee4a2 100644 --- a/.github/workflows/ci-hello-test.yml +++ b/.github/workflows/ci-hello-test.yml @@ -17,5 +17,5 @@ jobs: run: echo "test started" - name: my test will fail - run: echo 2 + run: exit 1