Skip to content

Commit

Permalink
[TEAMCITY-QA-T] Update VCS root for the scheduled build of Docker ima…
Browse files Browse the repository at this point in the history
…ges.
  • Loading branch information
AndreyKoltsov1997 committed Sep 26, 2023
1 parent 3068115 commit 57a873f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import common.TeamCityDockerImagesRepo
import common.TeamCityDockerImagesRepo_AllBranches
import utils.ImageInfoRepository
import utils.Utils
import utils.models.ImageInfo
Expand All @@ -24,7 +25,7 @@ class TeamCityScheduledImageBuildLinux_Base(private val platform: String, privat
id("TeamCityScheduledImageBuildLinux_Base${platform}")

vcs {
root(TeamCityDockerImagesRepo.TeamCityDockerImagesRepo.apply { branchSpec = "+:refs/heads/*"})
root(TeamCityDockerImagesRepo_AllBranches)
}

// all .yml files (e.g. compose samples)
Expand Down
5 changes: 4 additions & 1 deletion .teamcity/settings.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import common.TeamCityDockerImagesRepo.TeamCityDockerImagesRepo
import common.TeamCityDockerImagesRepo_AllBranches
import delivery.BuildAndPushHosted
import delivery.HubProject
import delivery.LocalProject
Expand All @@ -14,10 +15,12 @@ version = "2019.2"

object RootProject : Project({
vcsRoot(TeamCityDockerImagesRepo)
vcsRoot(TeamCityDockerImagesRepo_AllBranches)

subProject(LocalProject.LocalProject)
subProject(HubProject.HubProject)
buildType(BuildAndPushHosted.BuildAndPushHosted)

buildType(BuildAndPushHosted.BuildAndPushHosted)
buildType(TeamCityDockerImagesScheduledBuild.TeamCityDockerImagesScheduledBuild)
buildType(TeamCityScheduledImageBuildWindows.TeamCityScheduledImageBuildWindows)
buildType(TeamCityScheduledImageBuildLinux_Base("amd64", "linux"))
Expand Down

0 comments on commit 57a873f

Please sign in to comment.