Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
104
Merge Requests
104
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
42b2cf5f
Commit
42b2cf5f
authored
Nov 06, 2019
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/nayuos: Switch to monitor-promise-base
parent
54b5e6a9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
software/nayuos/buildout.hash.cfg
software/nayuos/buildout.hash.cfg
+1
-1
software/nayuos/instance.cfg
software/nayuos/instance.cfg
+11
-4
software/nayuos/software.cfg
software/nayuos/software.cfg
+2
-0
No files found.
software/nayuos/buildout.hash.cfg
View file @
42b2cf5f
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# not need these here).
# not need these here).
[template-instance]
[template-instance]
filename = instance.cfg
filename = instance.cfg
md5sum =
7e9deae78923ab7805c0d10d0d6fe336
md5sum =
ae26da39d6a156a6164782086d6aa00d
software/nayuos/instance.cfg
View file @
42b2cf5f
...
@@ -6,12 +6,14 @@
...
@@ -6,12 +6,14 @@
[buildout]
[buildout]
parts =
parts =
monitor-base
parameters
parameters
promise-sudo-on-host
promise-sudo-on-host
template-full-build-script
template-full-build-script
template-sudo-wrapper
template-sudo-wrapper
template-cros-sdk-wrapper
template-cros-sdk-wrapper
extends = {{ monitor_template }}
# standard declaration of eggs directories
# standard declaration of eggs directories
eggs-directory = {{ eggs_directory }}
eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
...
@@ -54,7 +56,6 @@ cert = ${slap_connection:cert_file}
...
@@ -54,7 +56,6 @@ cert = ${slap_connection:cert_file}
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
log = ${buildout:directory}/var/log
log = ${buildout:directory}/var/log
run = ${buildout:directory}/etc/run
run = ${buildout:directory}/etc/run
promise = ${buildout:directory}/etc/promise
wrapper_dir = ${buildout:directory}/wrapper_bin
wrapper_dir = ${buildout:directory}/wrapper_bin
cros_location = ${buildout:directory}/parts/chromiumos
cros_location = ${buildout:directory}/parts/chromiumos
...
@@ -64,12 +65,18 @@ wrapper_cros_sdk=${directory:wrapper_dir}/wrapper_cros_sdk
...
@@ -64,12 +65,18 @@ wrapper_cros_sdk=${directory:wrapper_dir}/wrapper_cros_sdk
bash=/bin/bash
bash=/bin/bash
sudo=/usr/bin/sudo
sudo=/usr/bin/sudo
[promise-sudo-on-host]
[promise-sudo-on-host-bin]
# assert sudo is installed, as it is required to enter the chroot 'cros_sdk'
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:
promise
}/${:_buildout_section_name_}
wrapper-path = ${directory:
bin
}/${:_buildout_section_name_}
command-line = sudo -V
command-line = sudo -V
[promise-sudo-on-host]
# assert sudo is installed, as it is required to enter the chroot 'cros_sdk'
<= monitor-promise-base
module = check_command_execute
name = ${:_buildout_section_name_}.py
config-command = ${promise-sudo-on-host-bin:wrapper-path}
[template-sudo-wrapper]
[template-sudo-wrapper]
recipe = slapos.recipe.template:jinja2
recipe = slapos.recipe.template:jinja2
template = {{ software_dir }}/scripts/wrapper_sudo.in
template = {{ software_dir }}/scripts/wrapper_sudo.in
...
...
software/nayuos/software.cfg
View file @
42b2cf5f
...
@@ -3,6 +3,7 @@ extends =
...
@@ -3,6 +3,7 @@ extends =
buildout.hash.cfg
buildout.hash.cfg
# basic needs
# basic needs
../../stack/slapos.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
../../component/automake/buildout.cfg
../../component/automake/buildout.cfg
../../component/libexpat/buildout.cfg
../../component/libexpat/buildout.cfg
../../component/libaio/buildout.cfg
../../component/libaio/buildout.cfg
...
@@ -35,6 +36,7 @@ context =
...
@@ -35,6 +36,7 @@ context =
key eggs_directory buildout:eggs-directory
key eggs_directory buildout:eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key develop_eggs_directory buildout:develop-eggs-directory
key thin_provisioning_tools thin-provisioning-tools:location
key thin_provisioning_tools thin-provisioning-tools:location
key monitor_template monitor2-template:rendered
[thin-provisioning-tools]
[thin-provisioning-tools]
recipe = slapos.recipe.cmmi
recipe = slapos.recipe.cmmi
...
...
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