File tree Expand file tree Collapse file tree 9 files changed +47
-51
lines changed Expand file tree Collapse file tree 9 files changed +47
-51
lines changed Original file line number Diff line number Diff line change 1+ name : Run tests
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+ branches :
8+ - master
9+ jobs :
10+ build :
11+ name : tests
12+ runs-on : ubuntu-latest
13+ strategy :
14+ fail-fast : true
15+ steps :
16+ - name : ' Set up Python'
17+ uses : actions/setup-python@v2
18+ with :
19+ python-version : ' 3.8'
20+ - uses : actions/checkout@v2
21+ - run : pip install tox
22+ - run : pip install tox-docker>=2.0.0a3
23+ - run : pip install coveralls
24+ - run : tox -e py38-integration
25+ - run : coveralls -v --service=github
26+ env :
27+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11CloudMan is a cloud infrastructure and application manager, primarily for Galaxy.
22
3+ .. image :: https://github.com/galaxyproject/cloudman/actions/workflows/tests.yaml/badge.svg
4+ :target: https://github.com/galaxyproject/cloudman/actions/workflows/tests.yaml
5+ :alt: Github Build Status
6+
37.. image :: https://coveralls.io/repos/github/galaxyproject/cloudman/badge.svg?branch=master
48 :target: https://coveralls.io/github/galaxyproject/cloudman?branch=master
59 :alt: Test Coverage Report
610
7- .. image :: https://travis-ci.org/galaxyproject/cloudman.svg?branch=master
8- :target: https://travis-ci.org/galaxyproject/cloudman
9- :alt: Travis Build Status
10-
1111Installation
1212------------
1313CloudMan is intended to be installed via the `CloudMan Helm chart `_.
Original file line number Diff line number Diff line change 1111 1. Add an import: from other_app.views import Home
1212 2. Add a URL to urlpatterns: url(r'^$', Home.as_view(), name='home')
1313Including another URLconf
14- 1. Import the include() function: from django.conf. urls import url , include
14+ 1. Import the include() function: from django.urls import re_path , include
1515 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
1616"""
1717from django .conf import settings
Original file line number Diff line number Diff line change @@ -1301,7 +1301,7 @@ def test_scale_up_unschedulable(self):
13011301 # Ensure that the created node has the correct size
13021302 vm_types = self ._get_cluster_node_vm_types (cluster_id )
13031303 self .assertEqual (len (vm_types ), 1 )
1304- self .assertTrue ("i3en.24xlarge" in vm_types )
1304+ self .assertTrue ("i3en.24xlarge" in vm_types or 'dl1.24xlarge' in vm_types )
13051305
13061306 def test_scale_up_allowed_vm_types (self ):
13071307 # create the parent cluster
Original file line number Diff line number Diff line change 11"""CloudMan Create URL configuration."""
22
3- from django .conf . urls import include
4- from django .conf . urls import url
3+ from django .urls import include
4+ from django .urls import re_path
55
66from . import views
77from djcloudbridge .drf_routers import HybridDefaultRouter
2828
2929cluster_regex_pattern = r'^'
3030urlpatterns = [
31- url (r'^' , include (router .urls )),
32- url (cluster_regex_pattern , include (cluster_router .urls ))
31+ re_path (r'^' , include (router .urls )),
32+ re_path (cluster_regex_pattern , include (cluster_router .urls ))
3333]
Original file line number Diff line number Diff line change 11"""CloudMan Create URL configuration."""
22
3- from django .conf . urls import include
4- from django .conf . urls import url
3+ from django .urls import include
4+ from django .urls import re_path
55
66from . import views
77from djcloudbridge .drf_routers import HybridDefaultRouter
2020app_name = "helmsman"
2121
2222urlpatterns = [
23- url (r'^' , include (router .urls )),
23+ re_path (r'^' , include (router .urls )),
2424]
Original file line number Diff line number Diff line change 11"""CloudMan Create URL configuration."""
22
3- from django .conf . urls import include
4- from django .conf . urls import url
3+ from django .urls import include
4+ from django .urls import re_path
55
66from . import views
77
2222
2323cluster_regex_pattern = r'^'
2424urlpatterns = [
25- url (r'^' , include (router .urls )),
26- url (cluster_regex_pattern , include (project_router .urls ))
25+ re_path (r'^' , include (router .urls )),
26+ re_path (cluster_regex_pattern , include (project_router .urls ))
2727]
Original file line number Diff line number Diff line change @@ -5,11 +5,12 @@ paramiko
55sqlalchemy
66# required by moto
77sshpubkeys
8- git+https://github.com/CloudVE/moto@fix_unknown_instance_type
9- git+https://github.com/CloudVE/cloudbridge
8+ git+https://github.com/CloudVE/cloudbridge#egg=cloudbridge[dev]
109git+https://github.com/CloudVE/djcloudbridge
1110# Leave cloudlaunch-cli before cloudlaunch-server due to coreapi version mismatch
1211git+https://github.com/CloudVE/cloudlaunch-cli
1312git+https://github.com/galaxyproject/cloudlaunch
13+ pytz>=2022.2.1
14+ tzdata>=2022.2
1415-r requirements.txt
1516-e ".[test]"
You can’t perform that action at this time.
0 commit comments