From 84bb58491e04b0eeeffe3da70aefd6749cc5d802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D1=8E=D1=82=D1=80=D1=8E=D0=BC=D0=BE=D0=B2=20=D0=A1?= =?UTF-8?q?=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9C=D0=B8=D1=85=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B8=D1=87?= Date: Sat, 18 May 2024 20:28:16 +0300 Subject: [PATCH 1/3] features/ci-cd --- TEST | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 TEST diff --git a/TEST b/TEST deleted file mode 100644 index e69de29..0000000 -- 2.54.0 From 30bc7e16edc473db6a9141a936ada73e1f8f585e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D1=8E=D1=82=D1=80=D1=8E=D0=BC=D0=BE=D0=B2=20=D0=A1?= =?UTF-8?q?=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9C=D0=B8=D1=85=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B8=D1=87?= Date: Sat, 18 May 2024 20:31:48 +0300 Subject: [PATCH 2/3] bla --- blablabla | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 blablabla diff --git a/blablabla b/blablabla new file mode 100644 index 0000000..e69de29 -- 2.54.0 From 4a31110e7969fb939ac6896498148ee10034c547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D1=8E=D1=82=D1=80=D1=8E=D0=BC=D0=BE=D0=B2=20=D0=A1?= =?UTF-8?q?=D0=B5=D1=80=D0=B3=D0=B5=D0=B9=20=D0=9C=D0=B8=D1=85=D0=B0=D0=B9?= =?UTF-8?q?=D0=BB=D0=BE=D0=B2=D0=B8=D1=87?= Date: Sat, 18 May 2024 22:19:49 +0300 Subject: [PATCH 3/3] my first pipeline --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..d7c3b84 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +build-job: + stage: build + script: + - echo "Hello, $GITLAB_USER_LOGIN!" + +test-job1: + stage: test + script: + - echo "This job tests something" + +test-job2: + stage: test + script: + - echo "This job tests something, but takes more time than test-job1." + - echo "After the echo commands complete, it runs the sleep command for 20 seconds" + - echo "which simulates a test that runs 20 seconds longer than test-job1" + - sleep 20 + +deploy-prod: + stage: deploy + script: + - echo "This job deploys something from the $CI_COMMIT_BRANCH branch." + environment: production + -- 2.54.0