Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #8

Merged
merged 4 commits into from
Jul 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down