Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
8b34cc87
Commit
8b34cc87
authored
2 years ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
fix test versioning for 3.10
parent
cd1d73c1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1206
fix test versioning for 3.10
Pipeline
#8170
passed
2 years ago
Stage: cache-build
Stage: build
Stage: unit-test
Stage: push
Stage: generate-pex-yaml
Stage: pex-trigger
Stage: generate-go-yaml
Stage: go-trigger
Stage: deploy
Stage: .post
Pipeline: workspaces
#8173
Pipeline: workspaces
#8171
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
ci/build.template.yml
+7
-1
7 additions, 1 deletion
ci/build.template.yml
with
12 additions
and
2 deletions
.gitlab-ci.yml
+
5
−
1
View file @
8b34cc87
...
...
@@ -91,7 +91,11 @@ build cache:
IMAGE_TAG
:
$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
VERSION
:
0.0.1+$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_COMMIT_TAG
=~
/^end-of-sprint-[0-9]+/
||
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
-
if
:
'
$CI_COMMIT_TAG
=~
/^end-of-sprint-[0-9]+/'
variables
:
IMAGE_TAG
:
$CI_COMMIT_TAG
VERSION
:
0.0.2+$CI_COMMIT_TAG
-
if
:
'
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables
:
IMAGE_TAG
:
$CI_COMMIT_TAG
VERSION
:
$CI_COMMIT_TAG
...
...
This diff is collapsed.
Click to expand it.
ci/build.template.yml
+
7
−
1
View file @
8b34cc87
...
...
@@ -21,7 +21,13 @@
VERSION
:
0.0.1+$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
DEPLOY_ENV
:
"
dev"
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
-
if
:
'
$CI_COMMIT_TAG
=~
/^end-of-sprint-[0-9]+/
||
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
-
if
:
'
$CI_COMMIT_TAG
=~
/^end-of-sprint-[0-9]+/'
variables
:
IMAGE_TAG
:
$CI_COMMIT_TAG
VERSION
:
0.0.2+$CI_COMMIT_TAG
# override DEPLOY_ENV
DEPLOY_ENV
:
"
test"
-
if
:
'
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables
:
IMAGE_TAG
:
$CI_COMMIT_TAG
VERSION
:
$CI_COMMIT_TAG
...
...
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