Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UNLOCK
kubernetes
Commits
dfa7fb2e
Commit
dfa7fb2e
authored
Dec 03, 2020
by
Koehorst, Jasper
Browse files
change build attirbute jar
parent
58dffd14
Pipeline
#15154
passed with stage
in 1 minute and 20 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
build.gradle
View file @
dfa7fb2e
...
...
@@ -35,9 +35,11 @@ shadowJar {
classifier
=
null
version
=
null
configurations
=
[
project
.
configurations
.
runtimeClasspath
]
}
// Define the main class for the application
mainClassName
=
'nl.munlock.App'
jar
{
manifest
{
attributes
'Main-Class'
:
'nl.munlock.App'
...
...
@@ -85,7 +87,7 @@ dependencies {
compile
'io.kubernetes:client-java:5.0.0'
// Logger
compile
group:
'log4j'
,
name:
'log4j'
,
version:
'1.2.17'
compile
group:
'log4j'
,
name:
'log4j'
,
version:
'1.2.17'
// https://mvnrepository.com/artifact/com.esotericsoftware.yamlbeans/yamlbeans
compile
group:
'com.esotericsoftware.yamlbeans'
,
name:
'yamlbeans'
,
version:
'1.14'
...
...
@@ -93,7 +95,4 @@ dependencies {
// locally installed jargon and unlock api
compile
group:
'jargon'
,
name:
'core'
,
version:
'4.3.0.2'
compile
group:
'nl.munlock'
,
name:
'unlockapi'
,
version:
'1.0.1'
}
// Define the main class for the application
mainClassName
=
'nl.wur.ssb.App'
\ No newline at end of file
}
\ No newline at end of file
src/main/java/nl/munlock/kubernetes/Kubernetes.java
View file @
dfa7fb2e
...
...
@@ -34,7 +34,7 @@ public class Kubernetes {
private
static
final
Logger
log
=
Generic
.
getLogger
(
Kubernetes
.
class
,
false
);
public
static
HashSet
<
String
>
yamls
=
new
HashSet
<>();
public
static
void
main
(
CommandOptionsKubernetes
commandOptionsKubernetes
,
Connection
connection
)
throws
Exception
{
public
static
void
main
(
CommandOptionsKubernetes
commandOptionsKubernetes
,
Connection
connection
)
throws
JargonException
,
JargonQueryException
,
IOException
,
ApiException
,
GenQueryBuilderException
,
Interrupted
Exception
{
getYamls
(
commandOptionsKubernetes
,
connection
);
createJobs
(
commandOptionsKubernetes
,
connection
);
}
...
...
Write
Preview
Supports
Markdown
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