Skip to content

Commit

Permalink
uncomment shit lol
Browse files Browse the repository at this point in the history
  • Loading branch information
David Cooke committed Aug 13, 2021
1 parent df2f174 commit 2443508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ allprojects {
apply plugin: 'jacoco'

group = 'uk.co.ractf'
version = '0.0.73'
version = '0.0.74'

repositories {
maven { url "https://repo1.maven.org/maven2/" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,19 @@ protected void runOneIteration() {
for (final var pod : task.getPods()) {
if (!getRunner(pod).canStartPod(pod)) {
log.info("Pulling image for {}/{}...", task.getId(), pod.getId());
//getRunner(pod).preparePod(task, pod);
getRunner(pod).preparePod(task, pod);
}
}
for (final var pod : task.getPods()) {
log.info("Creating pod {} from task {} and instance {}...", pod.getId(), task.getId(), instance.getId());
//getRunner(pod).createPod(task, pod, instance);
getRunner(pod).createPod(task, pod, instance);
}
recentlyStartedInstances.put(instance.getId(), "");
if (task.getPods().size() > 1) {
/* TODO: This is assuming theres only one runner, thats a safe assumption now, the code shouldn't
* be written assuming it is. */
log.info("Networking pods from task {} and instance {}...", task.getId(), instance.getId());
//getRunner(task.getPods().get(0)).createNetwork(task.getPods(), task, instance);
getRunner(task.getPods().get(0)).createNetwork(task.getPods(), task, instance);
}
for (final var pod : task.getPods()) {
CompletableFuture.runAsync(() -> {
Expand Down

0 comments on commit 2443508

Please sign in to comment.