Commit 850a2fb8 by 胡园园

Merge branch 'release-2023032801' into 'master'

分支release-2023032801已上线,自动合并到master

See merge request !20
parents 2152eead c47f8d1a
Pipeline #47665 passed with stages
in 1 minute 56 seconds
...@@ -133,6 +133,22 @@ online_image_upload: ...@@ -133,6 +133,22 @@ online_image_upload:
- /^hotfix.*$/ - /^hotfix.*$/
dependencies: dependencies:
- online_package - 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 # Regression
......
Markdown is supported
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