Skip to content

Commit

Permalink
CI fixes & revert jupterhub module changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hsachdevah committed Mar 4, 2024
1 parent 9bce5f9 commit 28636f0
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 29 deletions.
1 change: 0 additions & 1 deletion applications/jupyter/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ variable "url_domain_name" {
variable "support_email" {
type = string
description = "Email for users to contact with questions about their consent"
default = ""
}

variable "client_id" {
Expand Down
23 changes: 0 additions & 23 deletions applications/rag/tests/ray_job.py

This file was deleted.

2 changes: 1 addition & 1 deletion applications/rag/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ variable "jupyter_k8s_backend_service_name" {

variable "jupyter_k8s_backend_service_port" {
type = number
description = "NName of the Backend Service Port"
description = "Name of the Backend Service Port"
default = 80
}

Expand Down
1 change: 0 additions & 1 deletion cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ steps:
echo "pass" > /workspace/rag_frontend_result.txt
allowFailure: true
# waitFor: ['cleanup jupyterhub']

- id: 'cleanup rag'
name: 'gcr.io/$PROJECT_ID/terraform'
Expand Down
2 changes: 1 addition & 1 deletion modules/iap/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ variable "jupyter_k8s_backend_service_name" {

variable "jupyter_k8s_backend_service_port" {
type = number
description = "NName of the Backend Service Port"
description = "Name of the Backend Service Port"
default = 80
}

Expand Down
1 change: 0 additions & 1 deletion modules/jupyter/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ resource "helm_release" "jupyterhub" {
}

data "kubernetes_service" "jupyter-ingress" {
count = var.add_auth ? 1 : 0
metadata {
name = var.k8s_ingress_name
namespace = var.namespace
Expand Down
2 changes: 1 addition & 1 deletion modules/jupyter/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

output "jupyterhub_uri" {
value = var.add_auth ? module.iap_auth[0].jupyter_domain : (data.kubernetes_service.jupyter-ingress[0].status != null ? (data.kubernetes_service.jupyter-ingress[0].status[0].load_balancer != null ? "${data.kubernetes_service.jupyter-ingress[0].status[0].load_balancer[0].ingress[0].ip}" : "") : "")
value = var.add_auth ? module.iap_auth[0].jupyter_domain : (data.kubernetes_service.jupyter-ingress.status != null ? (data.kubernetes_service.jupyter-ingress.status[0].load_balancer != null ? "${data.kubernetes_service.jupyter-ingress.status[0].load_balancer[0].ingress[0].ip}" : "") : "")
}

output "jupyterhub_password" {
Expand Down

0 comments on commit 28636f0

Please sign in to comment.