From 8c66e7d6905d50679bc3de60bd3eab9b98183e20 Mon Sep 17 00:00:00 2001 From: Vladimir <80603777+Sharker5854@users.noreply.github.com> Date: Thu, 5 Dec 2024 23:27:26 +0300 Subject: [PATCH] Update .gitlab-ci.yml Corrected yaml file of CI-pipeline --- .gitlab-ci.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3ed4b1f..2409829 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,17 @@ cargo_test: stage: test script: cargo test +cargo_deb: + tags: + - virt_host + stage: test + script: + - cargo install --no-confirm cargo-deb + - cargo deb --package tcp-chat + artifacts: + paths: + - ./target/debian/tcp-chat_0.1.0-1_amd64.deb + # build_packet: # tags: # - virt_host @@ -30,4 +41,3 @@ cargo_test: # - apt-get update # - apg-get install -y путь до пакета # - curl localhost:8080/status #типа чекаем что работает -