Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
13a01de7
Commit
13a01de7
authored
Aug 02, 2013
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mass upgrade: Live Tests
parent
75029c17
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
327 additions
and
5 deletions
+327
-5
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareRelease_getUsage.xml
...em/portal_skins/slapos_cloud/SoftwareRelease_getUsage.xml
+1
-1
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareRelease_requestInstanceUpgrade.xml
...s/slapos_cloud/SoftwareRelease_requestInstanceUpgrade.xml
+2
-2
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCloudMassUpgrade.py
...apos_cloud/TestTemplateItem/testSlapOSCloudMassUpgrade.py
+321
-0
master/bt5/slapos_cloud/bt/revision
master/bt5/slapos_cloud/bt/revision
+1
-1
master/bt5/slapos_cloud/bt/template_test_id_list
master/bt5/slapos_cloud/bt/template_test_id_list
+2
-1
No files found.
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareRelease_getUsage.xml
View file @
13a01de7
...
...
@@ -50,7 +50,7 @@
</item>
<item>
<key>
<string>
_body
</string>
</key>
<value>
<string>
return context.portal_catalog.countResults(portal_type=
\'Computer Partition\', software_release_url=context.getUrlString(), free_for_request=0
)[0][0]\n
<value>
<string>
return context.portal_catalog.countResults(portal_type=
(\'Software Instance\',\'Slave Instance\'), url_string=context.getUrlString()
)[0][0]\n
</string>
</value>
</item>
<item>
...
...
master/bt5/slapos_cloud/SkinTemplateItem/portal_skins/slapos_cloud/SoftwareRelease_requestInstanceUpgrade.xml
View file @
13a01de7
...
...
@@ -61,11 +61,11 @@ if comp_reference_list != []:\n
portal_type = \'Hosting Subscription\',\n
default_specialise_related_uid = [x.getUid() for x in portal.portal_catalog(\n
portal_type = [\'Software Instance\', \'Slave Instance\'],\n
url_string = old_sr_url,\n
default_aggregate_uid = [y.getUid() for y in portal.portal_catalog(\n
portal_type = \'Computer Partition\',\n
parent_reference = comp_reference_list,\n
free_for_request = 0,\n
software_release_url = old_sr_url\n
free_for_request = 0\n
)]\n
)],\n
method_id = \'HostingSubscription_changeSoftwareRelease\',\n
...
...
master/bt5/slapos_cloud/TestTemplateItem/testSlapOSCloudMassUpgrade.py
0 → 100644
View file @
13a01de7
This diff is collapsed.
Click to expand it.
master/bt5/slapos_cloud/bt/revision
View file @
13a01de7
291
\ No newline at end of file
292
\ No newline at end of file
master/bt5/slapos_cloud/bt/template_test_id_list
View file @
13a01de7
...
...
@@ -3,4 +3,5 @@ testSlapOSCloudConstraint
testSlapOSCloudSecurityGroup
testSlapOSCloudShadow
testSlapOSCloudWorkflow
testSlapOSCloudDocument
\ No newline at end of file
testSlapOSCloudDocument
testSlapOSCloudMassUpgrade
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment