提交 b505aec1 作者: bax

gitlab_ci update

上级 c21fea8c
流水线 #6668 已失败 于阶段
in 2 秒
...@@ -44,7 +44,6 @@ kustomize_set_image: ...@@ -44,7 +44,6 @@ kustomize_set_image:
stage: kustomize_tag_push stage: kustomize_tag_push
before_script: before_script:
- pwd - pwd
- git remote -v
- git config --global user.name "bax" #配置本地仓库用户名信息 - git config --global user.name "bax" #配置本地仓库用户名信息
- git config --global user.email "baoaxin1999@163.com" #配置本地仓库邮箱信息 - git config --global user.email "baoaxin1999@163.com" #配置本地仓库邮箱信息
- git remote set-url origin "$GITLAB_URL" - git remote set-url origin "$GITLAB_URL"
...@@ -56,10 +55,11 @@ kustomize_set_image: ...@@ -56,10 +55,11 @@ kustomize_set_image:
- cat kustomization.yaml - cat kustomization.yaml
# - git add kustomization.yaml # - git add kustomization.yaml
- git commit -am '[skip ci] DEV image update' #git 本地提交,注意“skip ci”为gitlab流水线文件内置关键字,作用为跳过ci流水线操作,未设置可能导致流水线进入死循环 - git commit -am '[skip ci] DEV image update' #git 本地提交,注意“skip ci”为gitlab流水线文件内置关键字,作用为跳过ci流水线操作,未设置可能导致流水线进入死循环
- git push --set-upstream origin master #重新提交修改镜像版本后的代码
git_tag_push:
stage: kustomize_tag_push
script:
- git push --set-upstream origin master #重新提交修改镜像版本后的代码
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论