Skip to content

Commit

Permalink
[TEAMCITY-QA-T] Handle dependency between minimal and regular agent w…
Browse files Browse the repository at this point in the history
…ithin Dockerfiles @ Scheduled Build of Windows images.
  • Loading branch information
AndreyKoltsov1997 committed Sep 28, 2023
1 parent 1a2ed73 commit 302530e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .teamcity/scheduled/build/TeamCityScheduledImageBuildWindows.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ object TeamCityScheduledImageBuildWindows : BuildType({

steps {
// 1. Build Windows 1809-based images
val win1809images = ImageInfoRepository.getWindowsImages1809()
val win1809images = ImageInfoRepository.getWindowsImages1809(
stagingRepo = "%docker.nightlyRepository%",
version = "%dockerImage.teamcity.buildNumber%",
prodRepo = "%docker.nightlyRepository%",
dockerfileTag = DeliveryConfig.tcVersion
)
win1809images.forEach { winImage1809 ->
buildImage(winImage1809)
}
Expand All @@ -37,7 +42,12 @@ object TeamCityScheduledImageBuildWindows : BuildType({
win1809images.forEach { imageInfo -> publishToStaging(imageInfo) }

// 3. Build Windows 2004-based images
val win2004images = ImageInfoRepository.getWindowsImages2004()
val win2004images = ImageInfoRepository.getWindowsImages2004(
stagingRepo = "%docker.nightlyRepository%",
version = "%dockerImage.teamcity.buildNumber%",
prodRepo = "%docker.nightlyRepository%",
dockerfileTag = DeliveryConfig.tcVersion
)
win2004images.forEach { winImage2004 ->
buildImage(winImage2004)
}
Expand Down

0 comments on commit 302530e

Please sign in to comment.