about summary refs log tree commit diff
path: root/third_party/apereo-cas/overlay/gradle/dockerjib.gradle
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-25T23·00+0300
committerclbot <clbot@tvl.fyi>2021-12-26T00·10+0000
commit28a80e02514fe8c13e1826fda5d53f938105d600 (patch)
treeb338a8ed7650374562d3bb429f86d710a181a7b6 /third_party/apereo-cas/overlay/gradle/dockerjib.gradle
parent738cca62c1c4b5297d636fc331cd49bd82eaa0a6 (diff)
chore: friendship ended with cas, now keycloak is our best friend r/3411
Note that the login.tvl.fyi WWW configuration is still kind of hanging
around until we've settled where Keycloak lives.

Change-Id: Iaca4e394a7371cafa3716ca66ef09c4eca5b1520
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4626
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'third_party/apereo-cas/overlay/gradle/dockerjib.gradle')
-rw-r--r--third_party/apereo-cas/overlay/gradle/dockerjib.gradle52
1 files changed, 0 insertions, 52 deletions
diff --git a/third_party/apereo-cas/overlay/gradle/dockerjib.gradle b/third_party/apereo-cas/overlay/gradle/dockerjib.gradle
deleted file mode 100644
index dbadd5aa19bd..000000000000
--- a/third_party/apereo-cas/overlay/gradle/dockerjib.gradle
+++ /dev/null
@@ -1,52 +0,0 @@
-apply plugin: "com.google.cloud.tools.jib"
-
-jib {
-    from {
-        image = project.baseDockerImage
-    }
-    to {
-        image = "${project.group}/${project.name}"
-        /**
-         ecr-login: Amazon Elastic Container Registry (ECR)
-         gcr: Google Container Registry (GCR)
-         osxkeychain: Docker Hub
-         */
-        credHelper = "osxkeychain"
-        /**
-        auth {
-            username = "*******"
-            password = "*******"
-        }
-        */
-        tags = ["v" + casServerVersion]
-    }
-    container {
-        creationTime = "USE_CURRENT_TIMESTAMP"
-        entrypoint = ['docker/entrypoint.sh']
-        ports = ['80', '443', '8080', '8443']
-        labels = [version:casServerVersion, name:project.name, group:project.group]
-    }
-    extraDirectories {
-        paths = 'src/main/jib'
-        permissions = [
-            '/docker/entrypoint.sh': '755'
-        ]
-    }
-    allowInsecureRegistries = project.allowInsecureRegistries
-}
-
-task copyWebAppIntoJib(type: Copy, group: "Docker", description: "Copy the web application into Docker image") {
-    dependsOn build
-    from "build/libs/${casWebApplicationBinaryName}"
-    into "src/main/jib/docker/cas/war"
-}
-
-task copyConfigIntoJib(type: Copy, group: "Docker", description: "Copy the CAS configuration into Docker image") {
-    dependsOn build
-    from "etc/cas"
-    into "src/main/jib/docker/cas"
-}
-
-task deleteWebAppFromJib(type: Delete, group: "Docker", description: "Explodes the CAS web application archive") {
-    delete "src/main/jib/docker/cas"
-}
\ No newline at end of file