From 5da13907263237db90b9061d2cbf7684b29c98ac Mon Sep 17 00:00:00 2001 From: Administrator Date: Sun, 1 May 2022 12:13:02 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 910d918..fcb25e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ stages: # List of stages for jobs, and their order of execution - build - docker - deploy - - trigger variables: @@ -63,10 +62,3 @@ deploy-job: # Deploy docker image on ssh server - ssh $SSH_USER@$SERVER_IP "docker container rm -f $Docker_name || true" - ssh $SSH_USER@$SERVER_IP "docker run -it -d --name $Docker_name -e PROJEKTNAME_UNIQUE='$Project_name:$CI_JOB_ID' -e PROJEKTNAME='$Project_name' -e HOSTNAME=$EUREKA_HOSTNAME -e EUREKAPORT=$EUREKA_PORT -e server.port=$CONFIG_PORT -e CONFIGPORT=$CONFIG_PORT -e KEY='$CONFIG_KEY' -e CONFIGURL='$CONFIG_URL' -e CONFIGUSER='$CONFIG_USER' -e CONFIGHTTP=$CONFIG_HTTP -p $PORT_HOST:$PORT_CONTAINER $DOCKER_URL/$TAG_LATEST" -trigger_job: - stage: trigger - trigger: - project: bsc/todo-service - forward: # I nested this keyword under trigger - yaml_variables: false # this is the current/default behavior - pipeline_variables: false # with this, pipeline UI variables are passed