All Projects → crazy-max → travis-wait-enhanced

crazy-max / travis-wait-enhanced

Licence: MIT License
Prevent Travis CI from thinking a long-running process has stalled

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to travis-wait-enhanced

kMD2PDF
Markdown to PDF conversion library written in Kotlin
Stars: ✭ 14 (-12.5%)
Mutual labels:  travis-ci
argocd-operator-helm
[DEPRECATED] Argo CD Operator (Helm) installs Argo CD in OpenShift and Kubernetes.
Stars: ✭ 18 (+12.5%)
Mutual labels:  travis-ci
drupal9ci
One-line installers for implementing Continuous Integration in Drupal 9
Stars: ✭ 137 (+756.25%)
Mutual labels:  travis-ci
react-multi-context
Manage multiple React 16 contexts with a single component.
Stars: ✭ 19 (+18.75%)
Mutual labels:  travis-ci
projection-pursuit
An implementation of multivariate projection pursuit regression and univariate classification
Stars: ✭ 24 (+50%)
Mutual labels:  travis-ci
travis-minikube
Run minikube on Travis CI
Stars: ✭ 89 (+456.25%)
Mutual labels:  travis-ci
firebase-ci
Simplified Firebase interaction for continuous integration
Stars: ✭ 71 (+343.75%)
Mutual labels:  travis-ci
travis-oracle
Scripts to install Oracle Database Express Edition on Travis CI
Stars: ✭ 44 (+175%)
Mutual labels:  travis-ci
xiaomi-r3g-openwrt-builder
OpenWrt builder for any supported routers using Docker. Scheduled to run weekly
Stars: ✭ 25 (+56.25%)
Mutual labels:  travis-ci
react-innertext
Returns the innerText of a React JSX object.
Stars: ✭ 37 (+131.25%)
Mutual labels:  travis-ci
knapsack pro-ruby
Knapsack Pro gem splits tests across parallel CI nodes and makes sure that tests will run in optimal time on each node.
Stars: ✭ 101 (+531.25%)
Mutual labels:  travis-ci
webperf-dashboard
Web Performance Dashboard forked from https://github.com/boyney123/garie
Stars: ✭ 51 (+218.75%)
Mutual labels:  travis-ci
DockerDjangoRest
A Docker setup for a Django REST API with Travis CI support
Stars: ✭ 46 (+187.5%)
Mutual labels:  travis-ci
loci
Testing remote CI scripts locally
Stars: ✭ 25 (+56.25%)
Mutual labels:  travis-ci
containerized-golang-and-vuejs
This repository explores an application using docker, golang, and vuejs
Stars: ✭ 19 (+18.75%)
Mutual labels:  travis-ci
travistorrent-tools
Tools used to create the data on TravisTorrent (http://travistorrent.testroots.org).
Stars: ✭ 38 (+137.5%)
Mutual labels:  travis-ci
unity-ci-test
Example Unity Project using TravisCI
Stars: ✭ 35 (+118.75%)
Mutual labels:  travis-ci
personal-blog
✍️ 个人技术博客
Stars: ✭ 79 (+393.75%)
Mutual labels:  travis-ci
travis-activate
Activates Travis-CI builds for all repos in a given GitHub project
Stars: ✭ 20 (+25%)
Mutual labels:  travis-ci
todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (+12.5%)
Mutual labels:  travis-ci

GitHub release Total downloads Build Status Go Report Code Quality
Become a sponsor Donate Paypal

⚠️ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

Thanks to everyone for their valuable feedback and contributions.

About

travis-wait-enhanced is a CLI application written in Go to replace the existing travis_wait bash function (with some enhancements) to prevent Travis CI from thinking a long-running process has stalled.

Features

  • Custom timeout duration
  • Custom interval duration at which to print keep-alive messages
  • Custom formatting options
  • Print command output to stdout/stderr

Download

travis-wait-enhanced binaries are available in releases page.

Choose the archive matching the destination platform and extract travis-wait-enhanced:

$ cd /opt
$ wget -qO- https://github.com/crazy-max/travis-wait-enhanced/releases/download/v1.2.0/travis-wait-enhanced_1.2.0_linux_x86_64.tar.gz | tar -zxvf - travis-wait-enhanced

After getting the binary, it can be tested with ./travis-wait-enhanced --help or moved to a permanent location.

$ ./travis-wait-enhanced --help
Usage: travis-wait-enhanced <command> ...

Prevent Travis CI from thinking a long-running process has stalled. More info:
https://github.com/crazy-max/travis-wait-enhanced

Arguments:
  <command> ...    Command to execute.

Flags:
  --help               Show context-sensitive help.
  --version
  --timeout=20m        Timeout for this command.
  --interval=1m        Interval at which to print keep-alive messages.
  --print-name         Print the name of this tool to identify keep-alive messages.
  --print-string="Still running..."
                       Keep-alive message printed in each interval.
  --print-timestamp    Print the current timestamp after each keep-alive message.
  --print-newline      Print a newline character after each keep-alive message.

Usage

travis-wait-enhanced [<flags>] <command>

If your command contains flags (e.g. mvn -V install -Pmy-profile) then use -- to indicate the end of the travis-wait-enhanced flags to avoid parsing errors. For example

travis-wait-enhanced --interval=1m --timeout=20m -- mvn -V clean install -Prun-its

To use travis-wait-enhanced in your .travis.yml add :

before_install:
  # linux
  - |
    wget -qO- "https://github.com/crazy-max/travis-wait-enhanced/releases/download/v1.2.0/travis-wait-enhanced_1.2.0_linux_x86_64.tar.gz" | tar -zxvf - travis-wait-enhanced
    mv travis-wait-enhanced /home/travis/bin/
    travis-wait-enhanced --version
  # windows
  - |
    curl -LfsS -o /tmp/travis-wait-enhanced.zip "https://github.com/crazy-max/travis-wait-enhanced/releases/download/v1.2.0/travis-wait-enhanced_1.2.0_windows_x86_64.zip"
    7z x /tmp/travis-wait-enhanced.zip -y -o/usr/bin/ travis-wait-enhanced.exe -r
    travis-wait-enhanced --version

How can I help?

All kinds of contributions are welcome 🙌! The most basic way to show your support is to star 🌟 the project, or to raise issues 💬 You can also support this project by becoming a sponsor on GitHub 👏 or by making a Paypal donation to ensure this journey continues indefinitely! 🚀

Thanks again for your support, it is much appreciated! 🙏

License

MIT. See LICENSE for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].