-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport system-integration fixes from 'develop' into release/v0.1
- Loading branch information
Showing
39 changed files
with
281 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
resource "null_resource" "waitfor-login-service" { | ||
depends_on = [ var.module_depends_on ] | ||
provisioner "local-exec" { | ||
command = <<EOT | ||
until [ `kubectl logs service/oxauth | grep "Server:main: Started" | wc -l` -ge 1 ]; do echo "Waiting for Login Service" && sleep 30; done | ||
EOT | ||
} | ||
} | ||
resource "null_resource" "waitfor-module-depends" { | ||
depends_on = [var.module_depends_on] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
resource "null_resource" "waitfor-login-service" { | ||
depends_on = [ var.module_depends_on ] | ||
provisioner "local-exec" { | ||
command = <<EOT | ||
until [ `kubectl logs service/oxauth | grep "Server:main: Started" | wc -l` -ge 1 ]; do echo "Waiting for Login Service" && sleep 30; done | ||
EOT | ||
} | ||
} | ||
resource "null_resource" "waitfor-module-depends" { | ||
depends_on = [var.module_depends_on] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,3 @@ resource "kubernetes_ingress" "workspace" { | |
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,3 @@ | ||
resource "null_resource" "waitfor-opendj-init" { | ||
depends_on = [ var.module_depends_on ] | ||
provisioner "local-exec" { | ||
command = <<EOT | ||
until kubectl logs opendj-init-0 | grep "The Directory Server has started successfully"; do echo "Waiting for opendj-init0" && sleep 30; done | ||
EOT | ||
} | ||
resource "null_resource" "waitfor-module-depends" { | ||
depends_on = [var.module_depends_on] | ||
} | ||
|
||
resource "null_resource" "waitfor-config-init" { | ||
depends_on = [ var.module_depends_on ] | ||
|
||
provisioner "local-exec" { | ||
command = <<EOT | ||
until kubectl get pods | grep "config-init" | grep "Completed"; do echo "Waiting for config-init pod" && sleep 30; done | ||
EOT | ||
} # kubectl wait --for=condition=complete job/config-init-load-job --timeout=5m | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,3 @@ | ||
resource "null_resource" "waitfor-tls-secrets" { | ||
depends_on = [ var.module_depends_on ] | ||
provisioner "local-exec" { | ||
command = <<EOT | ||
#until kubectl get pods | grep "config-init" | grep "Completed"; do echo "Waiting for config-init pod" && sleep 30; done | ||
EOT | ||
} | ||
} # kubectl wait --for=condition=complete job/config-init-load-job --timeout=10m | ||
# ../global/um-login-service/nginx/tls-secrets.sh | ||
|
||
resource "null_resource" "waitfor-persistence" { | ||
depends_on = [ var.module_depends_on ] | ||
provisioner "local-exec" { | ||
command = <<EOT | ||
until kubectl get pods | grep "persistence" | grep "Completed"; do echo "Waiting for persistence" && sleep 30; done | ||
EOT | ||
} | ||
}# kubectl wait --for=condition=complete pod -l job-name=persistence --timeout=10m | ||
resource "null_resource" "waitfor-config-init" { | ||
depends_on = [var.module_depends_on] | ||
} |
Oops, something went wrong.