From 4dd4d18a92724b580eda18b5c921087395efaa71 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 16:48:26 +0100 Subject: [PATCH 1/9] testing moby --- .gitea/workflows/test-compose.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 7b2ece1..fd2ea66 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -11,7 +11,5 @@ jobs: uses: actions/checkout@v3 - name: Install Bun runtime run: curl -fsSL https://bun.sh/install | bash - - name: Install docker-compose - run: apt update && apt install -y docker.io - name: Run docker-compose - run: docker compose down -v && docker compose run bot-api bun test \ No newline at end of file + run: moby compose down -v && moby compose run bot-api bun test \ No newline at end of file From 01318e7579a58718980b4eea3ca72cebf019acb7 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 16:53:56 +0100 Subject: [PATCH 2/9] using docker image --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index fd2ea66..73bb422 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -5,7 +5,7 @@ on: [pull_request] jobs: unit-test: container: - image: catthehacker/ubuntu:act-latest + image: docker:latest steps: - name: Check out repository code uses: actions/checkout@v3 From 54a4025672234d85719498168cbfb77d91ec6fd3 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 16:58:34 +0100 Subject: [PATCH 3/9] adding nodejs --- .gitea/workflows/test-compose.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 73bb422..58d6da1 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -7,6 +7,8 @@ jobs: container: image: docker:latest steps: + - name: Installing node + run: apk add nodejs - name: Check out repository code uses: actions/checkout@v3 - name: Install Bun runtime From 36e91e89f6662da5cb6399d2634a492537bb2150 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:00:09 +0100 Subject: [PATCH 4/9] adding git --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 58d6da1..ca6d1dd 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -8,7 +8,7 @@ jobs: image: docker:latest steps: - name: Installing node - run: apk add nodejs + run: apk add nodejs git - name: Check out repository code uses: actions/checkout@v3 - name: Install Bun runtime From 3c723a810936acdb0a8228d6c925614335059c7b Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:02:28 +0100 Subject: [PATCH 5/9] adding curl and bash --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index ca6d1dd..4ba542f 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -8,7 +8,7 @@ jobs: image: docker:latest steps: - name: Installing node - run: apk add nodejs git + run: apk add nodejs git curl bash - name: Check out repository code uses: actions/checkout@v3 - name: Install Bun runtime From a09119ea4525b2e5326927efca17b98e2978bfd5 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:04:19 +0100 Subject: [PATCH 6/9] changed moby to docker --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 4ba542f..753aa8e 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -14,4 +14,4 @@ jobs: - name: Install Bun runtime run: curl -fsSL https://bun.sh/install | bash - name: Run docker-compose - run: moby compose down -v && moby compose run bot-api bun test \ No newline at end of file + run: ducker compose down -v && docker compose run bot-api bun test \ No newline at end of file From a4f4ebbbd2405c4748a5f4e9e13198452a9600c0 Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:05:17 +0100 Subject: [PATCH 7/9] typo --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 753aa8e..5040055 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -14,4 +14,4 @@ jobs: - name: Install Bun runtime run: curl -fsSL https://bun.sh/install | bash - name: Run docker-compose - run: ducker compose down -v && docker compose run bot-api bun test \ No newline at end of file + run: docker compose down -v && docker compose run bot-api bun test \ No newline at end of file From 7230a08cc9ef407a7b38498aa59a502885bd516a Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:06:49 +0100 Subject: [PATCH 8/9] dind --- .gitea/workflows/test-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index 5040055..c094113 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -5,7 +5,7 @@ on: [pull_request] jobs: unit-test: container: - image: docker:latest + image: docker:dind-latest steps: - name: Installing node run: apk add nodejs git curl bash @@ -14,4 +14,4 @@ jobs: - name: Install Bun runtime run: curl -fsSL https://bun.sh/install | bash - name: Run docker-compose - run: docker compose down -v && docker compose run bot-api bun test \ No newline at end of file + run: dind compose down -v && dind compose run bot-api bun test \ No newline at end of file From 42111a9e3034510ee744da966f443fcdd434dcfc Mon Sep 17 00:00:00 2001 From: Sugui Date: Fri, 29 Dec 2023 17:08:06 +0100 Subject: [PATCH 9/9] fixed dind --- .gitea/workflows/test-compose.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/test-compose.yaml b/.gitea/workflows/test-compose.yaml index c094113..06b6d5b 100644 --- a/.gitea/workflows/test-compose.yaml +++ b/.gitea/workflows/test-compose.yaml @@ -5,7 +5,7 @@ on: [pull_request] jobs: unit-test: container: - image: docker:dind-latest + image: docker:dind steps: - name: Installing node run: apk add nodejs git curl bash