Verified Commit 2abb4789 authored by Alexander's avatar Alexander
Browse files

remove useless rules

parent dbdc278c
Pipeline #200622 passed with stages
in 1 minute and 22 seconds
......@@ -35,24 +35,17 @@ variables:
.test-refs: &test-refs
rules:
- if: $CI_PIPELINE_SOURCE == "web" &&
$CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs and from web interface
- if: $CI_COMMIT_REF_NAME =~ /^[0-9]+$/ # PRs
# Deploy on production goes only manually
.deploy-prod-refs: &deploy-prod-refs
rules:
- if: $CI_PIPELINE_SOURCE == "web" &&
$CI_COMMIT_REF_NAME == "master" # on commits to main branch and from web interface
when: manual
- if: $CI_COMMIT_REF_NAME == "master" # on commits to main branch
when: manual
# Publish docker image and deploy it on staging
.publish-deploy-stg-refs: &publish-deploy-stg-refs
rules:
- if: $CI_PIPELINE_SOURCE == "web" &&
$CI_COMMIT_REF_NAME == "master" # on commits to main branch and from web interface
- if: $CI_COMMIT_REF_NAME == "master" # on commits to main branch
.kubernetes-env: &kubernetes-env
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment