Skip to content

Commit d8cc1f5

Browse files
committed
updating singularity python, many changes!
1 parent 627c1f2 commit d8cc1f5

File tree

23 files changed

+694
-1065
lines changed

23 files changed

+694
-1065
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: python
2+
3+
addons:
4+
apt:
5+
packages:
6+
- python-pip
7+
- python3-pip
8+
9+
sudo: true
10+
11+
os: linux
12+
13+
before_install:
14+
- sudo pip install pylint
15+
- cd $TRAVIS_BUILD_DIR/
16+
- pip install setuptools
17+
- pip3 install setuptools
18+
- cd $TRAVIS_BUILD_DIR && pip install -r requirements.txt
19+
- cd $TRAVIS_BUILD_DIR && pip3 install -r requirements.txt
20+
# - pylint --version
21+
# - cd $TRAVIS_BUILD_DIR/libexec/python && pylint $PWD --errors-only --ignore tests --disable=E0401,E0611
22+
23+
script:
24+
- bash $TRAVIS_BUILD_DIR/singularity/testing/run_tests.sh $TRAVIS_BUILD_DIR/singularity/testing /tmp

README.md

Lines changed: 68 additions & 110 deletions
Large diffs are not rendered by default.

circle.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

examples/calculate_similarity/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

examples/docker2singularity/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/docker2singularity/docker2singularity.py

Lines changed: 0 additions & 88 deletions
This file was deleted.

examples/docker2singularity/docker2singularity.sh

Lines changed: 0 additions & 168 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/sh
22

33
# use the `--package` argument to package your image:
4-
shub --image ubuntu:latest-2016-04-06.img --package
4+
shub --image ubuntu.img --package
55

66
# If no output folder is specified, the resulting image (named in the format `ubuntu:latest-2016-04-06.img.zip` will be output in the present working directory. You can also specify an output folder:
77

8-
shub --image ubuntu:latest-2016-04-06.img --package --outfolder /home/vanessa/Desktop
8+
shub --image ubuntu.img --package --outfolder /home/vanessa/Desktop
99

1010
# For the package command, you will need to put in your password to grant sudo priviledges, as packaging requires using the singularity `export` functionality.
1111

examples/run_singularity/singularity_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,5 @@
3636
# create an empty image
3737
S.create(image_path='test.img')
3838

39-
# import a docker image - no need to specify the file, the image name works
40-
# still under development
41-
docker_image = S.docker2singularity("ubuntu:latest")
39+
# import a docker image
40+
S.importcmd(image_path,input_source='docker://ubuntu:latest')

0 commit comments

Comments
 (0)