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
42c07b55
Commit
42c07b55
authored
Sep 02, 2021
by
Jasper Koehorst
Browse files
always pull policy as this is only done automagically on latest.
parent
4d30216f
Pipeline
#27846
failed with stage
in 2 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
src/main/java/nl/munlock/kubernetes/Kubernetes.java
View file @
42c07b55
...
...
@@ -61,21 +61,6 @@ public class Kubernetes {
int
totalItems
=
checkKubernetesJobs
(
client
);
for
(
String
yaml
:
yamls
)
{
// Apply filter based on something?
// String[] identifiers = { "GCA_000433555", "GCA_000432115", "GCA_002363195", "GCA_002372055", "GCA_002393105", "GCA_002394455", "GCA_002395985", "GCA_000723465", "GCA_018379695", "GCA_018380525", "GCA_018382835", "GCA_018383015", "GCA_014870165", "GCA_900101355", "GCA_902387655", "GCA_902769425", "GCA_905203575", "GCA_900291485", "GCA_018363595", "GCA_018377865", "GCA_902385595", "GCA_905205725", "GCA_000468015", "GCA_902381675", "GCA_905206235", "GCA_000210095", "GCA_001312825", "GCA_902793455", "GCA_902796065", "GCA_902796705", "GCA_902803775", "GCA_902803945", "GCA_000571935", "GCA_000247525", "GCA_000526795", "GCA_000518765", "GCA_000174895", "GCA_000621845", "GCA_000701945", "GCA_000621785", "GCA_902377395", "GCA_000425525", "GCA_000436995", "GCA_018377795", "GCA_018378145", "GCA_018378825", "GCA_018380965", "GCA_018382215", "GCA_003435865", "GCA_003477585", "GCA_003435955", "GCA_003477475", "GCA_003474435", "GCA_003460775", "GCA_003460765", "GCA_003460725", "GCA_003464025", "GCA_003628495", "GCA_000431355", "GCA_000438435", "GCA_000432075", "GCA_000435855", "GCA_000437415", "GCA_001917045", "GCA_015559025", "GCA_015551645", "GCA_015554365", "GCA_001593025", "GCA_000621805", "GCA_000712055", "GCA_015551945", "GCA_000285855", "GCA_005601135", "GCA_005862145", "GCA_016680995", "GCA_900086605", "GCA_900604945", "GCA_000980385", "GCA_000686125", "GCA_014287355", "GCA_014288065", "GCA_003478065", "GCA_003460665", "GCA_003462665", "GCA_003603885", "GCA_003462585", "GCA_003481655", "GCA_002490945", "GCA_002490805", "GCA_002473365", "GCA_002479715", "GCA_002479605", "GCA_000980705", "GCA_900119155", "GCA_900103235", "GCA_001941135", "GCA_001941055", "GCA_905209785", "GCA_905211305", "GCA_905213675", "GCA_905213835", "GCA_905236825" };
// boolean pass = false;
// for (String identifier : identifiers) {
// if (yaml.contains(identifier)) {
// pass = true;
// break;
// }
// }
// if (!pass) {
// System.err.println("Skipping " + yaml + " as it did not pass temp filter");
// continue;
// }
try
{
assayCount
=
assayCount
+
1
;
...
...
@@ -274,7 +259,7 @@ public class Kubernetes {
V1Container
containerItem
=
new
V1Container
();
containerItem
.
name
(
UUID
.
randomUUID
().
toString
());
containerItem
.
image
(
"docker-registry.wur.nl/unlock/docker:kubernetes"
);
containerItem
.
setImagePullPolicy
(
"Always"
);
// Set path environment through rancher environment variable using the envFrom object
// Project (unlock) > Resources > Config > Key / Value environment
List
<
V1EnvFromSource
>
envFrom
=
new
ArrayList
<>();
...
...
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