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
2cd8ded1
Commit
2cd8ded1
authored
1 year ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
make version only listed in one place
parent
0640bcdf
No related branches found
Branches containing commit
Tags
2.8.0
Tags containing commit
3 merge requests
!1571
catch 2.8.2.3 up with main
,
!1559
2.8.2.2-DEVELOPMENT into main
,
!1551
Cherry pick partial curation for patch
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+7
-23
7 additions, 23 deletions
.gitlab-ci.yml
with
7 additions
and
23 deletions
.gitlab-ci.yml
+
7
−
23
View file @
2cd8ded1
...
...
@@ -231,7 +231,7 @@ unit test notification:
###############################################
# Create Coverage Report
###############################################
unit test coverage
:
.
unit test coverage
:
interruptible
:
true
stage
:
test-coverage
image
:
python:3.10-slim
...
...
@@ -254,15 +254,9 @@ unit test coverage:
-
unit test capability
-
unit test notification
rules
:
# for testing only!
# - 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]+/'
variables
:
# override DEPLOY_ENV
DEPLOY_ENV
:
"
test"
-
if
:
'
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+$/'
variables
:
DEPLOY_ENV
:
"
prod"
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH
||
$CI_COMMIT_BRANCH
=~
/(^[0-9]\.[0-9]|^[0-9]\.[0-9]\.[0-9])-DEVELOPMENT/'
-
if
:
'
$CI_PIPELINE_SOURCE
==
"merge_request_event"'
###############################################
# Push Service and Web Images to Registry
...
...
@@ -438,7 +432,7 @@ clean build web:
###############################################
# Deployment Stages
###############################################
pages
:
.
pages
:
interruptible
:
true
stage
:
deploy-coverage-page
image
:
python:3.10-slim
...
...
@@ -449,8 +443,7 @@ pages:
-
apt update
-
apt install make
script
:
-
ls -al docs
-
mkdir -p public
-
mkdir public
-
mv htmlcov public/htmlcov
-
cd docs && make html && mv _build/html/* ../public/
artifacts
:
...
...
@@ -458,16 +451,7 @@ pages:
-
public
expire_in
:
2 weeks
rules
:
# For testing only!
# - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ /(^[0-9]\.[0-9]|^[0-9]\.[0-9]\.[0-9])-DEVELOPMENT/'
# - 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]+/'
variables
:
# override DEPLOY_ENV
DEPLOY_ENV
:
"
test"
-
if
:
'
$CI_COMMIT_TAG
=~
/[0-9]+\.[0-9]+\.[0-9]+$/'
variables
:
DEPLOY_ENV
:
"
prod"
-
if
:
'
$CI_COMMIT_BRANCH
==
$CI_DEFAULT_BRANCH
||
$CI_COMMIT_BRANCH
=~
/(^[0-9]\.[0-9]|^[0-9]\.[0-9]\.[0-9])-DEVELOPMENT/'
# Generate go builder yaml for child pipeline
go generate yaml
:
...
...
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