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
0
Merge Requests
0
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
Ivan Tyagov
slapos.core
Commits
cd8cff8f
Commit
cd8cff8f
authored
Jul 04, 2023
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Plain Diff
Update tested version for parameters to 1.0.327
See merge request
nexedi/slapos.core!549
parents
a23e9a04
a72558c9
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
125 additions
and
37 deletions
+125
-37
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorKVMDefault.zpt
...posjs_zuite/testSlapOSJSTestParameterEditorKVMDefault.zpt
+3
-8
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorKVMDefaultReadOnly.zpt
...ite/testSlapOSJSTestParameterEditorKVMDefaultReadOnly.zpt
+3
-8
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorTheiaDefault.zpt
...sjs_zuite/testSlapOSJSTestParameterEditorTheiaDefault.zpt
+4
-9
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorTheiaDefaultReadOnly.zpt
...e/testSlapOSJSTestParameterEditorTheiaDefaultReadOnly.zpt
+3
-8
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.py
...s/slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.py
+1
-0
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.xml
.../slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.xml
+62
-0
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
.../portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
+36
-2
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/Zuite_SlapOSORSParameterCommonTemplate.zpt
...slapos_ui_test/Zuite_SlapOSORSParameterCommonTemplate.zpt
+1
-2
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/Zuite_SlapOSParameterCommonTemplate.zpt
...ns/slapos_ui_test/Zuite_SlapOSParameterCommonTemplate.zpt
+12
-0
No files found.
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorKVMDefault.zpt
View file @
cd8cff8f
...
@@ -14,14 +14,9 @@
...
@@ -14,14 +14,9 @@
</thead>
</thead>
<tbody>
<tbody>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tr>
<tal:block
define=
"name string:kvm"
>
<td
colspan=
"3"
><b>
Set URL for the software release
</b></td>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/set_software_for_parameter_test"
/>
</tr>
</tal:block>
<tr>
<td>
type
</td>
<td>
//input[@name='url_string']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/kvm/software.cfg
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/click_proceed"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/click_proceed"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection_default"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection_default"
/>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorKVMDefaultReadOnly.zpt
View file @
cd8cff8f
...
@@ -14,14 +14,9 @@
...
@@ -14,14 +14,9 @@
</thead>
</thead>
<tbody>
<tbody>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init_readonly"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init_readonly"
/>
<tr>
<tal:block
define=
"name string:kvm"
>
<td
colspan=
"3"
><b>
Set URL for the software release
</b></td>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/set_software_for_parameter_test"
/>
</tr>
</tal:block>
<tr>
<td>
type
</td>
<td>
//input[@name='url_string']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/kvm/software.cfg
</td>
</tr>
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
//textarea[@name='parameter_output']
</td>
<td>
//textarea[@name='parameter_output']
</td>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorTheiaDefault.zpt
View file @
cd8cff8f
...
@@ -14,20 +14,15 @@
...
@@ -14,20 +14,15 @@
</thead>
</thead>
<tbody>
<tbody>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init"
/>
<tr>
<tal:block
define=
"name string:theia"
>
<td
colspan=
"3"
><b>
Set URL for the software release
</b></td>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/set_software_for_parameter_test"
/>
</tr>
</tal:block>
<tr>
<td>
type
</td>
<td>
//input[@name='url_string']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/theia/software.cfg
</td>
</tr>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/click_proceed"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSCommonTemplate/macros/click_proceed"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection_default"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection_default"
/>
<tr>
<tr>
<td
colspan=
"3"
><b>
Fill the ram size
</b></td>
<td
colspan=
"3"
><b>
Set autorun
</b></td>
</tr>
</tr>
<tr>
<tr>
<td>
waitForElementPresent
</td>
<td>
waitForElementPresent
</td>
...
...
master/bt5/slapos_jio_ui_test/PathTemplateItem/portal_tests/slaposjs_zuite/testSlapOSJSTestParameterEditorTheiaDefaultReadOnly.zpt
View file @
cd8cff8f
...
@@ -14,14 +14,9 @@
...
@@ -14,14 +14,9 @@
</thead>
</thead>
<tbody>
<tbody>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init_readonly"
/>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/init_readonly"
/>
<tr>
<tal:block
define=
"name string:theia"
>
<td
colspan=
"3"
><b>
Set URL for the software release
</b></td>
<tal:block
metal:use-macro=
"here/Zuite_SlapOSParameterCommonTemplate/macros/set_software_for_parameter_test"
/>
</tr>
</tal:block>
<tr>
<td>
type
</td>
<td>
//input[@name='url_string']
</td>
<td>
https://lab.nexedi.com/nexedi/slapos/raw/1.0.289/software/theia/software.cfg
</td>
</tr>
<tr>
<tr>
<td>
type
</td>
<td>
type
</td>
<td>
//textarea[@name='parameter_output']
</td>
<td>
//textarea[@name='parameter_output']
</td>
...
...
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.py
0 → 100644
View file @
cd8cff8f
return
"1.0.327"
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_getSoftwareReleaseTagVersion.xml
0 → 100644
View file @
cd8cff8f
<?xml version="1.0"?>
<ZopeData>
<record
id=
"1"
aka=
"AAAAAAAAAAE="
>
<pickle>
<global
name=
"PythonScript"
module=
"Products.PythonScripts.PythonScript"
/>
</pickle>
<pickle>
<dictionary>
<item>
<key>
<string>
_bind_names
</string>
</key>
<value>
<object>
<klass>
<global
name=
"_reconstructor"
module=
"copy_reg"
/>
</klass>
<tuple>
<global
name=
"NameAssignments"
module=
"Shared.DC.Scripts.Bindings"
/>
<global
name=
"object"
module=
"__builtin__"
/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key>
<string>
_asgns
</string>
</key>
<value>
<dictionary>
<item>
<key>
<string>
name_container
</string>
</key>
<value>
<string>
container
</string>
</value>
</item>
<item>
<key>
<string>
name_context
</string>
</key>
<value>
<string>
context
</string>
</value>
</item>
<item>
<key>
<string>
name_m_self
</string>
</key>
<value>
<string>
script
</string>
</value>
</item>
<item>
<key>
<string>
name_subpath
</string>
</key>
<value>
<string>
traverse_subpath
</string>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key>
<string>
_params
</string>
</key>
<value>
<string></string>
</value>
</item>
<item>
<key>
<string>
id
</string>
</key>
<value>
<string>
ERP5Site_getSoftwareReleaseTagVersion
</string>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/ERP5Site_initSlapOSUITest.py
View file @
cd8cff8f
# PreferenceTool
# PreferenceTool
from
DateTime
import
DateTime
from
DateTime
import
DateTime
software_version
=
"1.0.289"
software_version
=
context
.
ERP5Site_getSoftwareReleaseTagVersion
()
portal
=
context
.
getPortalObject
()
portal
=
context
.
getPortalObject
()
...
@@ -82,7 +82,41 @@ theia_software_release.edit(
...
@@ -82,7 +82,41 @@ theia_software_release.edit(
if
theia_software_release
.
getValidationState
()
==
"draft"
:
if
theia_software_release
.
getValidationState
()
==
"draft"
:
theia_software_release
.
publishAlive
()
theia_software_release
.
publishAlive
()
portal
=
context
.
getPortalObject
()
try
:
erp5_product
=
context
.
software_product_module
[
"erp5"
]
except
KeyError
:
erp5_product
=
context
.
software_product_module
.
newContent
(
id
=
"erp5"
,
title
=
"ERP5"
,
product_line
=
"software/application"
,
reference
=
"erp5"
,
portal_type
=
"Software Product"
)
if
erp5_product
.
getValidationState
()
==
"draft"
:
erp5_product
.
publish
()
try
:
erp5_software_release
=
context
.
software_release_module
[
"erp5"
]
except
KeyError
:
erp5_software_release
=
context
.
software_release_module
.
newContent
(
id
=
"erp5"
,
title
=
"ERP5"
,
portal_type
=
"Software Release"
,
version
=
"0.1"
,
language
=
"en"
,
effective_date
=
DateTime
(
'2018/03/14 00:00:00 UTC'
),
aggregate
=
"software_product_module/erp5"
)
erp5_software_release
.
edit
(
url_string
=
"https://lab.nexedi.com/nexedi/slapos/raw/%s/software/erp5/software.cfg"
%
software_version
,
)
if
erp5_software_release
.
getValidationState
()
==
"draft"
:
erp5_software_release
.
publishAlive
()
# some are already indexed
# some are already indexed
kw
=
{
'portal_type'
:
(
'Authentication Event'
,
'Passoword Event'
)}
kw
=
{
'portal_type'
:
(
'Authentication Event'
,
'Passoword Event'
)}
...
...
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/Zuite_SlapOSORSParameterCommonTemplate.zpt
View file @
cd8cff8f
...
@@ -337,12 +337,11 @@
...
@@ -337,12 +337,11 @@
<tr>
<tr>
<td>type</td>
<td>type</td>
<td>//input[@name='url_string']</td>
<td>//input[@name='url_string']</td>
<td tal:content="python: 'https://lab.nexedi.com/nexedi/slapos/raw/
1.0.327/software/ors-amarisoft/software-%s.cfg' % name
"></td>
<td tal:content="python: 'https://lab.nexedi.com/nexedi/slapos/raw/
%s/software/ors-amarisoft/software-%s.cfg' % (context.ERP5Site_getSoftwareReleaseTagVersion(), name)
"></td>
<td></td>
<td></td>
</tr>
</tr>
</tal:block>
</tal:block>
<tal:block metal:define-macro="basic_core_network_scenario">
<tal:block metal:define-macro="basic_core_network_scenario">
<tal:block metal:use-macro="here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection" />
<tal:block metal:use-macro="here/Zuite_SlapOSParameterCommonTemplate/macros/wait_software_type_selection" />
<tr>
<tr>
...
...
master/bt5/slapos_jio_ui_test/SkinTemplateItem/portal_skins/slapos_ui_test/Zuite_SlapOSParameterCommonTemplate.zpt
View file @
cd8cff8f
...
@@ -283,4 +283,16 @@
...
@@ -283,4 +283,16 @@
<td tal:content="python: value"></td>
<td tal:content="python: value"></td>
</tr>
</tr>
</tal:block>
</tal:block>
<tal:block metal:define-macro="set_software_for_parameter_test">
<tr>
<td colspan="3"><b> Set URL for the software release </b></td>
</tr>
<tr>
<td>type</td>
<td>//input[@name='url_string']</td>
<td tal:content="python: 'https://lab.nexedi.com/nexedi/slapos/raw/%s/software/%s/software.cfg' % (context.ERP5Site_getSoftwareReleaseTagVersion(), name)"></td>
</tr>
</tal:block>
</tal:block>
</tal:block>
\ 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