-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFulgensfile.js
49 lines (44 loc) · 1.01 KB
/
Fulgensfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
module.exports = {
config: {
SchemaVersion: "1.0.0",
Name: "deckbuilderSwlcg",
Vagrant: {
Box: 'ubuntu/xenial64',
Install: 'maven openjdk-8-jdk-headless docker.io'
},
Dependencycheck: [
'[ -f "src/main/webapp/js/core_data.js" ] || { echo "Private data missing. Abort."; exit 1; }',
]
},
versions: {
tomcat: {
Docker: "tomcat9-openjdk11-openj9"
}
},
software: {
deckbuilder: {
Source: "mvn",
Artifact: "target/deckbuilder.war",
config: {
Name: "lunchy.properties",
Content: [
{ Line: "{" },
{ Line: "\"db.host\": \"$$VALUE$$\"", Source: "couchdb" },
{ Line: "}" }
],
AttachAsEnvVar: ["JAVA_OPTS", "-Dswlcg.properties=$$SELF_NAME$$"]
}
},
couchdb: {
Source: "couchdb",
CouchDB: {
Schema: "swlcg"
}
},
tomcat: {
Source: "tomcat",
DockerImage: "oglimmer/adoptopenjdk-tomcat",
Deploy: "deckbuilder"
}
}
}