diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3276025..6785bc8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,5 @@ workflow: + name: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME Challenge | $GITLAB_USER_LOGIN rules: - if: $CI_PIPELINE_SOURCE == 'merge_request_event' when: always @@ -12,7 +13,10 @@ stages: .standard_rules: rules: - - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != 'dev' + - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == 'dev' + when: on_success + allow_failure: true + - when: always Job 1: extends: .standard_rules @@ -29,8 +33,6 @@ Job 2: image: ubuntu:latest script: - bash .gitlab/scripts/deployability_checker.sh $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME - - ls -lA - - cat deploy.env artifacts: reports: dotenv: deploy.env