neo4j/tcpy

Name: tcpy

Owner: Neo4j

Description: Python script to invoke builds on TeamCity

Created: 2018-01-24 11:33:08.0

Updated: 2018-01-24 11:33:10.0

Pushed: 2018-03-02 05:19:37.0

Homepage: null

Size: 10

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

TCPY

Script for triggering personal builds on TeamCity. The program's help strings are quite complete, so just do

tc.py -h

to see what sub commands you can call. For more specfic help, just do

tc.py {subcommand} -h

To install easily, you can do this:

pip install git+https://github.com/spacecowboy/tcpy.git
Some examples

These might become outdated, but should serve as inspiration.

Running the most basic linux build with default settings
tc.py linux -u XXX -p YYY --branch=3.1
Run HA Robustness on a pull request
tc.py har -u XXX -p YYY --branch=refs/pull/1234/head
Run linux on an IBM JDK
tc.py linux -u XXX -p YYY --branch=3.1 --jdk=ibmjdk-8
Run linux on a Power8 machine (defaults to ibmjdk-8)
tc.py power8 -u XXX -p YYY --branch=3.1
Only compile, don't do tests
tc.py linux -u XXX -p YYY --branch=3.1 --maven-goals="clean compile"
Quick feedback Windows build, build only what's necessary to run a single specific test
tc.py windows -u XXX -p YYY --branch=3.0 --maven-args="-Dtest=MuninnPageCacheWithAdversarialFileDispatcherIT -pl :neo4j-io -am"
Run with defaults, but checkout the branch from your own repo (not supported on Windows)
tc.py linux -u XXX -p YYY --branch=flakytest --remote=https://github.com/spacecowboy/neo4j.git

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.