Skip to content
Permalink
Browse files
Services moved to new URL, a brief doc was added
  • Loading branch information
dspavlov committed Jul 5, 2018
1 parent 0a57eb9 commit 12dee89d98f0fd9bdf8783656b93897d7e65293c
Show file tree
Hide file tree
Showing 11 changed files with 279 additions and 307 deletions.
@@ -1 +1,16 @@
# ignite-teamcity-helper
# ignite-teamcity-helper

Ignite TC Helper/MTCGA.bot is [Apache Ignite](https://ignite.apache.org/)-based cache over [JetBrains TeamCity](https://jetbrains.ru/products/teamcity/) server(s).

This tool intended to monitor [Apache Ignite Teamcity](https://ci.ignite.apache.org/) where [Apache Ignite](https://ignite.apache.org/) is tested.

TC tool should help to avoid new failures introduction into master and provide ways of its early detection.

Major use cases are following:
* Continuous monitoring of master and/or release branch
* Check branch/PR changes to new failures
* MCTGA Bot for slack and for email notifications.

This tool is available on [https://mtcga.gridgain.com/](https://mtcga.gridgain.com/) - requires apache CI credentials.

Should you have any questions please contact dpavlov@apache.org
@@ -14,8 +14,7 @@
import org.apache.ignite.ci.tcmodel.result.Build;
import org.apache.ignite.ci.tcmodel.result.stat.Statistics;
import org.apache.ignite.ci.tcmodel.result.tests.TestOccurrences;
import org.apache.ignite.ci.web.rest.GetAllTestFailures;
import org.apache.ignite.ci.web.rest.GetCurrTestFailures;
import org.apache.ignite.ci.web.rest.tracked.GetTrackedBranchTestResults;
import org.apache.ignite.ci.web.rest.Metrics;
import org.apache.ignite.ci.web.rest.build.GetBuildTestFailures;
import org.apache.ignite.ci.web.rest.pr.GetPrTestFailures;
@@ -215,10 +214,10 @@ public void dataMigration(
}
});

applyRemoveCache(GetAllTestFailures.TEST_FAILURES_SUMMARY);
applyRemoveCache(GetTrackedBranchTestResults.ALL_TEST_FAILURES_SUMMARY);
applyRemoveCache(Metrics.FAILURES_PUBLIC);
applyRemoveCache(Metrics.FAILURES_PRIVATE);
applyRemoveCache(GetCurrTestFailures.TEST_FAILURES_SUMMARY_CACHE_NAME);
applyRemoveCache(GetTrackedBranchTestResults.TEST_FAILURES_SUMMARY_CACHE_NAME);
applyRemoveCache(GetBuildTestFailures.TEST_FAILURES_SUMMARY_CACHE_NAME);
applyRemoveCache(GetPrTestFailures.CURRENT_PR_FAILURES);
}
@@ -24,9 +24,8 @@

import java.util.*;
import java.util.concurrent.TimeUnit;
import org.apache.ignite.ci.web.rest.GetCurrTestFailures;
import org.apache.ignite.ci.web.rest.tracked.GetTrackedBranchTestResults;
import org.apache.ignite.ci.web.rest.parms.FullQueryParams;
import org.apache.ignite.scheduler.SchedulerFuture;

import static com.google.common.base.Strings.isNullOrEmpty;
import static org.apache.ignite.ci.BuildChainProcessor.normalizeBranch;
@@ -228,7 +227,7 @@ public void startBackgroundCheck(ITcHelper helper, ICredentialsProv prov) {
}

private void checkFailures() {
TestFailuresSummary failures = GetCurrTestFailures.getTrackedBranchTestFailures(FullQueryParams.DEFAULT_BRANCH_NAME, false,
TestFailuresSummary failures = GetTrackedBranchTestResults.getTrackedBranchTestFailures(FullQueryParams.DEFAULT_BRANCH_NAME, false,
backgroundOpsTcHelper,
backgroundOpsCreds);

@@ -2,7 +2,7 @@

@SuppressWarnings("PublicField") public class Version {
/** TC Helper Version. */
public String version = "20180704";
public String version = "20180705";

/** Ignite version. */
public String ignVer;

This file was deleted.

This file was deleted.

@@ -45,7 +45,7 @@ public class GetPrTestFailures {
private HttpServletRequest req;

@GET
@Path("failures/updates")
@Path("updates")
public UpdateInfo getPrFailuresUpdates(
@Nullable @QueryParam("serverId") String serverId,
@Nonnull @QueryParam("suiteId") String suiteId,
@@ -57,7 +57,7 @@ public UpdateInfo getPrFailuresUpdates(
}

@GET
@Path("failures")
@Path("results")
public TestFailuresSummary getPrFailures(
@Nullable @QueryParam("serverId") String serverId,
@Nonnull @QueryParam("suiteId") String suiteId,
@@ -77,7 +77,7 @@ public TestFailuresSummary getPrFailures(
}

@GET
@Path("failuresNoCache")
@Path("resultsNoCache")
@NotNull public TestFailuresSummary getPrFailuresNoCache(
@Nullable @QueryParam("serverId") String srvId,
@Nonnull @QueryParam("suiteId") String suiteId,
@@ -152,5 +152,4 @@ else if (FullQueryParams.CHAIN.equals(action))

return res;
}

}

0 comments on commit 12dee89

Please sign in to comment.