From 73b5ce09e319816f2ec83f47665e9ecec8c215ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sun, 26 Nov 2023 02:52:15 +0100 Subject: [PATCH] Test pipeline --- .drone.yml => .drone.off.yml | 4 ++-- .github/workflows/test.yml | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 2 deletions(-) rename .drone.yml => .drone.off.yml (89%) create mode 100644 .github/workflows/test.yml diff --git a/.drone.yml b/.drone.off.yml similarity index 89% rename from .drone.yml rename to .drone.off.yml index 9b6a959..a6b40c6 100644 --- a/.drone.yml +++ b/.drone.off.yml @@ -4,7 +4,7 @@ name: image building steps: - name: build&push squashed image - image: harbor.hq.rosti.cz/library/builder:38 + image: harbor.hq.rosti.cz/library/builder:39 environment: username: robot$rosti+rosti password: @@ -29,7 +29,7 @@ name: test image steps: - name: test build - image: harbor.hq.rosti.cz/library/builder:38 + image: harbor.hq.rosti.cz/library/builder:39 environment: username: robot$rosti+rosti password: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..577102a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,19 @@ +name: CI +on: + push: + branches: [ main ] +jobs: + container-test-job: + runs-on: [moon, amd64] + container: + image: node:18 + # env: + # NODE_ENV: development + # ports: + # - 80 + # volumes: + # - my_docker_volume:/volume_mount + # options: --cpus 1 + steps: + - name: Check for dockerenv file + run: (ls /.dockerenv && echo Found dockerenv) || (echo No dockerenv)