Commit 908042dd authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

search direct commit

parent dfa7fb2e
Pipeline #15401 passed with stage
in 53 seconds
......@@ -262,7 +262,7 @@ public class Search {
// }
break;
}
if (Kubernetes.yamls.size() == 10) {
if (Kubernetes.yamls.size() > 0) {
log.info("Starting kubernetes");
Kubernetes.createJobs(commandOptionsKubernetes, connection);
// Reset references...
......@@ -318,7 +318,7 @@ public class Search {
String path = irodsQueryResultSetResult.getColumn(0) + "/" + irodsQueryResultSetResult.getColumn(1);
log.info("Processing " + line);
Kubernetes.yamls.add(path);
if (Kubernetes.yamls.size() > 10) {
if (Kubernetes.yamls.size() > 0) {
log.info("Starting kubernetes");
Kubernetes.createJobs(commandOptionsKubernetes, connection);
// Reset references...
......
......@@ -277,6 +277,7 @@ public class Kubernetes {
// Set the name
containerItem.name("cwl-" + new File(yamlFile).getName().toLowerCase().replaceAll("[_\\.]", ""));
// Setting secrets
containerItem.addEnvItem(setSecret("irodsHost","unlock-secret", "irodsHost"));
containerItem.addEnvItem(setSecret("irodsPort","unlock-secret", "irodsPort"));
containerItem.addEnvItem(setSecret("irodsUserName","unlock-secret", "irodsUserName"));
......
......@@ -27,7 +27,6 @@ public class RNASeq {
log.info("Processing: " + assays.size());
for (Assay assay : assays) {
String yamlFileName;
// Only rnaseq types allowed
if (!assay.getClassTypeIri().endsWith("/RNASeqAssay")) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment