Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Rafael Monnerat
slapos.package
Commits
281623a7
Commit
281623a7
authored
Jun 16, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: set release candidates for erp5 and wendelin.
parent
c036a50f
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
32 deletions
+11
-32
playbook/erp5-standalone.yml
playbook/erp5-standalone.yml
+3
-0
playbook/roles/erp5-standalone/files/request-erp5-cluster
playbook/roles/erp5-standalone/files/request-erp5-cluster
+1
-1
playbook/roles/erp5-standalone/tasks/main.yml
playbook/roles/erp5-standalone/tasks/main.yml
+1
-1
playbook/roles/wendelin-standalone/files/request-wendelin
playbook/roles/wendelin-standalone/files/request-wendelin
+2
-29
playbook/roles/wendelin-standalone/tasks/main.yml
playbook/roles/wendelin-standalone/tasks/main.yml
+1
-1
playbook/wendelin-standalone.yml
playbook/wendelin-standalone.yml
+3
-0
No files found.
playbook/erp5-standalone.yml
View file @
281623a7
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
hosts
:
127.0.0.1
hosts
:
127.0.0.1
connection
:
local
connection
:
local
vars
:
software_release_url
:
https://lab.nexedi.cn/nexedi/slapos/raw/erp5-cluster-0.1/software/erp5/software.cfg
roles
:
roles
:
-
erp5-standalone
-
erp5-standalone
playbook/roles/erp5-standalone/files/request-erp5-cluster
View file @
281623a7
import json
import json
software_url = 'http
://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5-cluster:/software/erp5/software.cfg'
software_url = 'http
s://lab.nexedi.cn/nexedi/slapos/raw/erp5-cluster-0.1/software/erp5/software.cfg'
# Choose a SlapOS Node
# Choose a SlapOS Node
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
computer_id = 'local_computer'
computer_id = 'local_computer'
...
...
playbook/roles/erp5-standalone/tasks/main.yml
View file @
281623a7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
ignore_errors
:
True
ignore_errors
:
True
-
name
:
Supply erp5 software release
-
name
:
Supply erp5 software release
shell
:
slapos supply
http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/heads/erp5-cluster:/software/erp5/software.cfg
local_computer
shell
:
slapos supply
{{ software_release_url }}
local_computer
-
name
:
create partition script
-
name
:
create partition script
copy
:
src=request-erp5-cluster dest=/tmp/playbook-request-erp5-cluster mode=700
copy
:
src=request-erp5-cluster dest=/tmp/playbook-request-erp5-cluster mode=700
...
...
playbook/roles/wendelin-standalone/files/request-wendelin
View file @
281623a7
import json
import json
# copied from the request-erp5-cluster script, only changed the url to point to wendelin
# copied from the request-erp5-cluster script, only changed the url to point to wendelin
software_url = 'https://lab.nexedi.cn/nexedi/slapos/raw/
master
/software/wendelin/software.cfg'
software_url = 'https://lab.nexedi.cn/nexedi/slapos/raw/
1.0
/software/wendelin/software.cfg'
# Choose a SlapOS Node
# Choose a SlapOS Node
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
# If you are deploying SlapOS Master with Webrunner, then computer_id is 'slaprunner'
computer_id = 'local_computer'
computer_id = 'local_computer'
parameter_dict = {
parameter_dict = {
"timezone": "UTC",
"site-id": "erp5",
"bt5": "erp5_full_text_myisam_catalog erp5_configurator_standard",
"zope-partition-dict": {
"admin": {
"family": "admin",
"thread-amount": 4,
"port-base": 2220,
"instance-count": 1
},
"activities-node": {
"family": "activities",
"thread-amount": 4,
"instance-count": 1,
"timerserver-interval": 1,
"port-base": 2230
},
"distribution-node": {
"family": "distribution",
"thread-amount": 1,
"instance-count": 1,
"port-base": 2210,
"timerserver-interval": 1
}
}
}
}
# Choose a title
# Choose a title
...
@@ -40,7 +15,5 @@ request(software_url,
...
@@ -40,7 +15,5 @@ request(software_url,
title,
title,
filter_kw={'computer_guid': computer_id},
filter_kw={'computer_guid': computer_id},
software_type='default',
software_type='default',
partition_parameter_kw={
partition_parameter_kw={}
'_': json.dumps(parameter_dict, sort_keys=True, indent=2),
}
)
)
playbook/roles/wendelin-standalone/tasks/main.yml
View file @
281623a7
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
ignore_errors
:
True
ignore_errors
:
True
-
name
:
Supply wendelin software release
-
name
:
Supply wendelin software release
shell
:
slapos supply
https://lab.nexedi.cn/nexedi/slapos/raw/master/software/wendelin/software.cfg
local_computer
shell
:
slapos supply
{{ software_release_url }}
local_computer
-
name
:
create partition script
-
name
:
create partition script
copy
:
src=request-wendelin dest=/tmp/playbook-request-wendelin mode=700
copy
:
src=request-wendelin dest=/tmp/playbook-request-wendelin mode=700
...
...
playbook/wendelin-standalone.yml
View file @
281623a7
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
hosts
:
127.0.0.1
hosts
:
127.0.0.1
connection
:
local
connection
:
local
vars
:
software_release_url
:
https://lab.nexedi.cn/nexedi/slapos/raw/1.0/software/wendelin/software.cfg
roles
:
roles
:
-
wendelin-standalone
-
wendelin-standalone
-
standalone-shared
-
standalone-shared
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