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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
7faed5b4
Commit
7faed5b4
authored
Aug 20, 2012
by
Alain Takoudjou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create a sample software release for condor
parent
3fc40a2c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
105 additions
and
0 deletions
+105
-0
software/condor/instance-condor.cfg
software/condor/instance-condor.cfg
+61
-0
software/condor/instance.cfg
software/condor/instance.cfg
+11
-0
software/condor/software.cfg
software/condor/software.cfg
+33
-0
No files found.
software/condor/instance-condor.cfg
0 → 100644
View file @
7faed5b4
[
buildout
]
parts
=
condor
eggs
-
directory
=
${
buildout
:
eggs
-
directory
}
develop
-
eggs
-
directory
=
${
buildout
:
develop
-
eggs
-
directory
}
offline
=
true
#
Create
all
needed
directories
[
rootdirectory
]
recipe
=
slapos
.
cookbook
:
mkdirectory
etc
=
$${
buildout
:
directory
}/
etc
/
var
=
$${
buildout
:
directory
}/
var
/
condor
=
$${
buildout
:
directory
}/
condor
/
bin
=
$${
buildout
:
directory
}/
bin
/
sbin
=
$${
buildout
:
directory
}/
sbin
/
srv
=
$${
buildout
:
directory
}/
srv
/
[
basedirectory
]
recipe
=
slapos
.
cookbook
:
mkdirectory
log
=
$${
rootdirectory
:
var
}/
log
/
services
=
$${
rootdirectory
:
etc
}/
run
/
run
=
$${
rootdirectory
:
var
}/
run
/
backup
=
$${
rootdirectory
:
srv
}/
backup
/
promises
=
$${
rootdirectory
:
etc
}/
promise
/
[
wrapperdirectory
]
recipe
=
slapos
.
cookbook
:
mkdirectory
wrapper
=
$${
basedirectory
:
run
}/
condor
[
condor
]
recipe
=
slapos
.
cookbook
:
condor
config_wrapper
=
$${
basedirectory
:
services
}/
configure
ip
=
$${
slap
-
network
-
information
:
global
-
ipv6
}
package
=
${
condor
:
location
}
rootdirectory
=
$${
buildout
:
directory
}
local
-
dir
=
$${
rootdirectory
:
condor
}
perl
-
bin
=
${
perl
:
location
}/
bin
java
-
bin
=
${
java
:
location
}/
bin
bin
=
$${
wrapperdirectory
:
wrapper
}/
bin
/
sbin
=
$${
wrapperdirectory
:
wrapper
}/
sbin
/
#
additionnal
LD_LIBRARY_PATH
and
PATH
for
all
condor
executable
files
linkdir
=
${
libexpat
:
location
}/
lib
:${
kerberos
:
location
}/
lib
:${
openldap
:
location
}/
lib
:${
zlib
:
location
}/
lib
path
=
${
perl
:
location
}/
bin
:${
java
:
location
}/
bin
:${
kerberos
:
location
}/
bin
:${
openldap
:
location
}/
bin
:$
PATH
dash
=
${
dash
:
location
}/
bin
/
dash
#
Condor
user
parameter
condor_host
=
$${
slap
-
parameter
:
host_manager_name
}
domain
=
$${
slap
-
parameter
:
domain
}
collector_name
=
$${
slap
-
parameter
:
collector_name
}
#
Condor
machine
role
:
worker
=
submit
,
execute
manager
=
manager
,
submit
machine
-
role
=
$${
slap
-
parameter
:
role
}
disk
-
space
=
$${
slap
-
parameter
:
diskspace
}
[
slap
-
parameter
]
#
Default
values
if
not
specified
host_manager_name
=
[$${
slap
-
network
-
information
:
global
-
ipv6
}]
domain
=
*
collector_name
=
SLAPOS
-
CONDOR
-
POOL
role
=
worker
diskspace
=
5
\ No newline at end of file
software/condor/instance.cfg
0 → 100644
View file @
7faed5b4
[buildout]
parts =
switch_softwaretype
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
[switch_softwaretype]
recipe = slapos.cookbook:softwaretype
default = ${template-condor:output}
\ No newline at end of file
software/condor/software.cfg
0 → 100644
View file @
7faed5b4
[buildout]
develop =
/srv/slapgrid/slappart19/srv//runner/project/slapos.github
parts =
condor
instance-egg
template
template-condor
extends =
../../component/condor/buildout.cfg
download-cache = ${buildout:directory}/cache
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
md5sum = 9e9db6f4c5e38ce3fd45d43c2bf616a8
[template-condor]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-condor.cfg
output = ${buildout:directory}/template-condor.cfg
md5sum = d74e38da04650ad70a8c0e909ccd6be0
mode = 0644
[instance-egg]
recipe = zc.recipe.egg
eggs = slapos.cookbook
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