Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
backend_api
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Package registry
Container registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
videoag
backend_api
Commits
337cff3e
Commit
337cff3e
authored
11 months ago
by
Simon Künzel
Browse files
Options
Downloads
Patches
Plain Diff
Remove branch condition. Match protected tag
parent
3b83a3bb
Branches
Branches containing commit
Tags
v1.0.1
Tags containing commit
No related merge requests found
Pipeline
#6166
canceled
11 months ago
Stage: build
Stage: test
Changes
1
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
with
2 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
1
View file @
337cff3e
trigger-production
:
trigger-production
:
stage
:
deploy
stage
:
deploy
rules
:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "live_production" && $CI_COMMIT_TAG !=
null
# Tag is protected. Match only v.* Tags
-
if
:
$CI_COMMIT_TAG =~ /v.*/
variables
:
variables
:
BUILD_TYPE
:
backend_api
BUILD_TYPE
:
backend_api
UPSTREAM_COMMIT_SHA
:
$CI_COMMIT_SHA
UPSTREAM_COMMIT_SHA
:
$CI_COMMIT_SHA
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment