-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
3,469 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
service_name: travis-pro | ||
repo_token: wp9nvBKUHGovzWMFCrL6dTaFu6ryq37EP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
language: python | ||
dist: bionic | ||
# addons: | ||
# apt: | ||
# sources: | ||
# - docker-bionic | ||
# packages: | ||
# - docker | ||
services: | ||
- docker | ||
- ssh | ||
python: | ||
- 3.7 | ||
- 3.8 | ||
branches: | ||
only: | ||
- master | ||
install: | ||
- pip install -e . | ||
- pip install pyopenssl[security] | ||
- pip install -r canine/test/requirements.txt | ||
- pip install coveralls | ||
|
||
script: | ||
- sudo -E bash -c ". /home/travis/virtualenv/python3.7.6/bin/activate && coverage run --source=canine --omit='canine/backends/dummy/controller.py,*canine/test/*.py,canine/localization/delocalization.py,canine/__main__.py,canine/xargs.py' -m unittest discover canine/test" | ||
|
||
after_success: | ||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
FROM gcr.io/broad-getzlab-workflows/slurm_gcp_docker_base | ||
MAINTAINER Aaron Graubert | ||
|
||
RUN apt-get update && apt-get install -y \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
curl \ | ||
wget \ | ||
gnupg-agent \ | ||
vim \ | ||
libmysqlclient-dev \ | ||
ssh \ | ||
software-properties-common | ||
|
||
# Munge fixes | ||
RUN echo exit 0 > /usr/sbin/policy-rc.d | ||
|
||
# Docker | ||
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \ | ||
apt-key fingerprint 0EBFCD88 && echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable" > /etc/apt/sources.list.d/docker-ce.list && \ | ||
apt-get update && apt-get install -y docker-ce | ||
|
||
# Python packages | ||
RUN pip3 install psutil | ||
|
||
COPY controller.py / | ||
COPY worker.sh / | ||
COPY conf /conf_templates | ||
COPY docker /usr/local/bin | ||
|
||
RUN chmod 755 controller.py worker.sh /usr/local/bin/docker | ||
|
||
ENTRYPOINT | ||
CMD /bin/bash |
Oops, something went wrong.