Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yanxuan-qc-change-system
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yx-qc-change-flow
yanxuan-qc-change-system
Commits
c47f8d1a
Commit
c47f8d1a
authored
Mar 28, 2023
by
胡园园
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
2152eead
Pipeline
#46793
passed with stages
in 2 minutes 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
.gitlab-ci.yml
.gitlab-ci.yml
+16
-0
No files found.
.gitlab-ci.yml
View file @
c47f8d1a
...
...
@@ -133,6 +133,22 @@ online_image_upload:
-
/^hotfix.*$/
dependencies
:
-
online_package
online_artifact_upload
:
stage
:
upload
script
:
-
version_tools time && CURRENT_TIMESTAMP=$(version_tools result)
-
version_tools version && PROJECT_VERSION=$(version_tools result)
-
IMAGE_TAG="${PROJECT_VERSION}-${CI_COMMIT_REF_NAME##*/}-${CURRENT_TIMESTAMP}-${CI_PIPELINE_ID}"
-
IMAGE_NAME="${HARBOR_URL}/${HARBOR_APP_DIRECTOR}/${SERVICE_CODE}:${IMAGE_TAG}"
-
eval opera truck $OPERA_ARGS --env=online --artifactPath=$CI_PROJECT_NAME.zip --artifactVersion=$ARTIFACT_VERSION
tags
:
-
ci-backend
only
:
-
/^release.*$/
-
/^hotfix.*$/
dependencies
:
-
online_package
################
# Regression
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment