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

(ENGTASKS-3098) Create TC build for Unit, Integration, and QA #1041

Merged
merged 3 commits into from
Apr 3, 2024

Conversation

Windos
Copy link
Member

@Windos Windos commented Mar 21, 2024

Description Of Changes

This PR splits the current general TeamCity build which runs unit tests on a version control trigger and unit + integration tests on a schedule into two separate builds:

  • Chocolatey GUI (Built with Unit Tests) ID: ChocolateyGUI
  • Chocolatey GUI (Scheduled Integration Testing) ID: ChocolateyGUISchd

It also introduces an additional build specifically for running Code Analysis and Dependency Checking:

  • Chocolatey GUI (SonarQube) ID: ChocolateyGUIQA

Note: Please advise if these names are appropriate and recommend alternatives as needed.

Motivation and Context

This change enables TeamCity to accurately track how long each build configuration should take to run and how many tests each should run.

Testing

This has been tested on a non-Production TeamCity instance, the KTS file imported successfully and the three builds ran as expected.

image

Operating Systems Testing

N/A

Change Types Made

N/A? Build change

  • Bug fix (non-breaking change).
  • Feature / Enhancement (non-breaking change).
  • Breaking change (fix or feature that could cause existing functionality to change).
  • Documentation changes.
  • PowerShell code changes.

Change Checklist

  • Requires a change to the documentation.
  • Documentation has been updated.
  • Tests to cover my changes, have been added.
  • All new and existing tests passed?
  • PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue

N/A

@Windos Windos force-pushed the GH-3342/separate-teamcity-builds branch from 804cc90 to 71268f6 Compare April 2, 2024 22:33
@Windos Windos force-pushed the GH-3342/separate-teamcity-builds branch from 71268f6 to 037cb65 Compare April 2, 2024 22:54
@Windos Windos changed the title (GH-3342) Create TC build for Unit, Integration, and QA (ENGTASKS-3098) Create TC build for Unit, Integration, and QA Apr 2, 2024
@Windos Windos marked this pull request as ready for review April 2, 2024 22:54
@Windos Windos requested a review from gep13 April 2, 2024 22:54
Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gep13 gep13 merged commit 4b532f4 into chocolatey:develop Apr 3, 2024
2 checks passed
@gep13
Copy link
Member

gep13 commented Apr 3, 2024

@Windos thanks for getting this done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants