From c636e1f2e50389553b99875b0eaa3380fd94acb8 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Sat, 24 May 2025 18:44:47 +0200 Subject: [PATCH 1/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9c3f9d1..61c3cf1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,5 +24,5 @@ build-job: # This job runs in the build stage, which runs first. script: - echo "Compiling the code..." - echo "Compile complete." - - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type\: application/json' + - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type application/json' From 15e1275c5a878c3ac4c3148ca48863f669f3b0c6 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Sat, 24 May 2025 18:45:30 +0200 Subject: [PATCH 2/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 61c3cf1..51c538f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,5 +24,5 @@ build-job: # This job runs in the build stage, which runs first. script: - echo "Compiling the code..." - echo "Compile complete." - - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type application/json' + - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type{:} application/json' From 2951d204a68e189165c718f5d3467d12f806ddcb Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Sat, 24 May 2025 18:48:58 +0200 Subject: [PATCH 3/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 51c538f..d49ee1a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,5 +24,6 @@ build-job: # This job runs in the build stage, which runs first. script: - echo "Compiling the code..." - echo "Compile complete." - - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H 'Content-Type{:} application/json' + - lala=":" + - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H "Content-Type${lala} application/json" From 6f70dbc83c5a5c673d88e5fff6a025d87acc96b9 Mon Sep 17 00:00:00 2001 From: Laci Dusa Date: Sat, 24 May 2025 18:52:40 +0200 Subject: [PATCH 4/4] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d49ee1a..656c69f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,11 +19,13 @@ stages: # List of stages for jobs, and their order of execution - build + build-job: # This job runs in the build stage, which runs first. stage: build script: - echo "Compiling the code..." - echo "Compile complete." - - lala=":" - - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H "Content-Type${lala} application/json" - + - column=":" + - curl -X POST https://kestra.sectorq.eu/api/v1/executions/webhook/jaydee/ansible-all/f851511c32ca9450 -d '{"tag":["setup","common"],"target":["m-server.home.lan"]}' -H "Content-Type${column} application/json" + rules: + - if: $CI_COMMIT_MESSAGE =~ /build$/