Dieser Vortrag ist 2016, aber er ist immer noch nĂŒtzlich fĂŒr diejenigen, die verstehen möchten, wie TeamCity funktioniert.
, . TeamCity. 7 . â dotnet TeamCity. dotnet . . , , . .
TeamCity JetBrains , . , , .
, , - , .
. .
JetBrains â 4- , , , , TeamCity .
20 . 16 4 . , . - , , - .
. 500 , . , . , , . - Javascript .
, , 5 . . .
, -, 3 000 000 , . . . , . .
TeamCity â . 10- . . . - .
5 bugfix . - . bugfix , - .
TeamCity , , . . , , , , , , . , , . , , , .
TeamCity, JetBrains. , , .
JetBrains . , , , , build , java . build . JetBrains TeamCity.
. . , , . Git, Git. . . â , dotnet, java . ., TeamCity .
. :
- 500 .
- 4 000 .
- 300 build .
- Builds . , build â 53 269.
- build 25 . builds , 3 000 . , , build- , builds.
- 6 000 .
. . build- . , , .
?
- -, TeamCity , , , , , build agents . . .
- . . , . , , . TeamCity. . .
- build agents, . Build agents , 300 . environment , . - .
- , TeamCity , . . 10- , TeamCity , .
- TeamCity.
- TeamCity, . . , , , .
, build-, , , .
, TeamCity.
TeamCity competition green, . . , - . â build agents. . . . version control, control . . .
, , build agents, . , , . . , , . restart, . . , .
, - , , , , , . , builds . , , .
Build Agent â java-, , - . , , . - , . .
, , . , - . . . . , TeamCity builds, , . builds , âŠ, dotnet .
, , , , . . . , tools . . , . . , - tools, .
environment built agents , , .
Build configuration â TeamCity. , , . , , , , builds , , , , , , .
Build configuration . , , build configuration, , . . , .
, , . , version control, SSH , , , .
, , . . , . .
â . , - , deployment production, , builds , . , , deployment.
TeamCity , . . .
â , , , , TeamCity , rootâ , - project adminâ TeamCity. . . , , .
10- , , . , . . 10- , , , .
. , , . . . , - , . , , . . , . .
. . , . , , TeamCity JetBrains, , , instance TeamCity TeamCity . , 500 , . , . , .
â . .
â .
. , API - runtime, , , build, TeamCity . build , . . , - build. , , . bulidâ .
. , TeamCity, builds, . , TeamCity , build . TeamCity , build , , .
builds â , . , .
.
, . - TeamCity . build configuration template.
- . , . - , , . build agents . , , VCS Trigger, . . , .
? , , build agents, .
, builds . . . . Linux, build , . . . . , .
, , . ? . . . - . , - , , -, . .
â . . , , , builds , . . , version control, . , version control , . . . .
. .
- -, , , builds. . . - , - build , , . . - .
- builds .
- , .
- build pipeline, . . - continuous delivery pipeline, TeamCity .
- , , , build, .
.
â builds.
. - . . - Windows , Linux - , .
runtime Linux Windows API . : - .
, . . . build agents Windows Linux. Windows, Linux. , , build , builds.
? build , sorts . â . - , . , . build , , - . .
, TeamCity , . . . - , . . - , , - build agents, , . . , builds . , build, build build.
, - A, - B. , , .
. . . , , builds, .
TeamCity , builds , . . , builds â build chain. TeamCity. build chain .
, , . TeamCity , . , . artifactory, , - .
, TeamCity , , , .
, , . TeamCity , , , -, - . . , . , , - - staging production. rootâ , deploy . . rootâ , . , , .
â builds .
. . , , , . , . trigger after. . . , build .
, build . , .
TeamCity . , , , . . . build . - . Graf , TeamCity . .
build TeamCity. , rootâ « build », . . TeamCity builds, builds, , , , .
- Windows , , TeamCity , build chain , , build . , . , build . , build agents, . . builds .
build time .
. build time, , 3 558 . 870 + 509 builds.
, build agents, build agents , builds .
? . , , .
Manage application components version
, â , .
builds , , build chain, , builds build chain.
build .
, A, - , foo build. build B chain, . . build, B , , .
? , - , , - , . - , build . - , build build. â - â - TeamCity.
, , , - , . . 4 , .
, , - . . , builds , . . , . , , , , build number. build number â . . 10 builds , 11, 11 build number, 10. .
? , build chain build build . .
. dependency - ID property, . . , version, , , 1.0.build number
, . . build number
. build . , builds .
read only , . . , - . . . revers , ID - . . . ID, . - - .
, , , , - . , isRelease, . exception, - . config, . , , isRelease .
- build, . build , â build , « isRelease true». . builds , builds . , , .
â continues delivery.
, - , , , staging, production.
- acceptance tests. deploy on staging. build . deploy to production.
, pipeline , . . . - pipeline , - - , . . - .
, ? , , version control , acceptance tests staging, , production , . ?
-, , , . . , deploy production build dist. Deploy on staging acceptance tests. build dist, .
VCS Trigger , . . staging . , .
? , build promotion. Promote â , build , , build pipeline , .
. ekoshkin, . , , - , , .
rootâ â build app. - build, . . - .
, . build - .
action. build.
«promote». , . . , . build .
, , production staging. build , , «promote». , .
build - , , . . - , . . build .
«promote». build production. , . . â .
, build, . , , , , .
setup?
Demoapp, . . , , . . , deployment, . , deployment, . , , . , , builds, .
. , , devops deployment, . , , , deployment. - , deployment. , SSH production . . , , . â promote, . . promote , . , , , , , .
Promote â ?
, promote â . production , VCS trigger .
?
. , : , . , . . , . , .
, TeamCity, ?
/ . / â , - . , . build , , , , , , .
, - ?
, . . , â . . . - , , , , . , . , , - , .
Promote ?
Promote â - flow, . , â .
downgrade ?
downgrade, , , , - state, . . . . , TeamCity . , , , bugfix . , , . . 10 10.1. bagfix , , downgrade bugfix . . , .
, - , , - , - . . , , -, , , . , , .
, . , VCS. «trigger a build on changes in snapshot dependencies», .
rules. Add trigger rule include, exclude rule VCS user name, VCS root, comment regexp file wildcard . , , rules . .
builds. , .
, . - . , Windows - Linux . . , - . VCS trigger, build .
- build. , , . . - , , , .
build Linux , . 3. Windows 2 . , 4 . , .
, , , . . . , .
build - , build, , .
history build. run custom build , changes. , changes , . build . , . . TeamCity , , . , . - - chains build , . , , . build agents, . . feedback , build.
. , builds , build 1 , , - build . build .
, , . . build , , build. - , .
, ?
. , , . . , , . . , TeamCity .
?
, . â , , . . . - API. â , , , , . . , , , : Mac, Linux, Windows. . . .
â build. build, . . , , . , - build.
, , jobs, slave Bamboo â . , . TeamCity. , - , . promotion, , continuous delivery , - .
1 4?
4 . , - . . TeamCity meta version control. cross-repository. , , . .
, - . . TeamCity . , chain partners, Git, , TeamCity . . . timestamp , - .