Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab ChangeLog 9 0 #11

Open
yidinghan opened this issue Nov 26, 2017 · 0 comments
Open

Gitlab ChangeLog 9 0 #11

yidinghan opened this issue Nov 26, 2017 · 0 comments
Labels

Comments

@yidinghan
Copy link
Owner

yidinghan commented Nov 26, 2017

Article Reference Link

Release Article: https://about.gitlab.com/2017/03/22/gitlab-9-0-released/

Subgroups

在这之前,都是一个 group 下辖多个 repos

对于项目组人少的情况还好处理,如果遇上 10+ 以上的团队,这种模式可能就有点捉襟见肘了,往往需用开多个 group

  • team-frontend/repo-a
  • team-backend/repo-c
  • team-devops/builder

通过这一个特性,可以很轻松做到分级管理

subgroups

更多子群组相关的信息,在这里

GitLab CI

在 9.0 发布之后,为了统一 job 的概念,下面列表中的左边变量在新版中都会有一个新名字

旧版的变量名依然可以继续使用,但是 deprecated 状态,在将来的版本中会被弃用

8.X name 9.0 name
CI_BUILD_ID CI_JOB_ID
CI_BUILD_REF CI_COMMIT_SHA
CI_BUILD_TAG CI_COMMIT_TAG
CI_BUILD_REF_NAME CI_COMMIT_REF_NAME
CI_BUILD_REF_SLUG CI_COMMIT_REF_SLUG
CI_BUILD_NAME CI_JOB_NAME
CI_BUILD_STAGE CI_JOB_STAGE
CI_BUILD_REPO CI_REPOSITORY_URL
CI_BUILD_TRIGGERED CI_PIPELINE_TRIGGERED
CI_BUILD_MANUAL CI_JOB_MANUAL
CI_BUILD_TOKEN CI_JOB_TOKEN

更多变量名相关的信息,在这里

The End

@yidinghan yidinghan changed the title test Gitlab ChangeLog 9 0 Nov 26, 2017
This was referenced Nov 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant