-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- PHP has been updated to 8.1 - Updated Matomo to 4.12.3 - Removed Customization for JNA - Removed the demo image as it is unmaintained and doesn't support php 8.1 - Created test image for testing changes to isle-buildkit (includes sample content)
- Loading branch information
1 parent
219677c
commit eeb306c
Showing
175 changed files
with
59,793 additions
and
364 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Provide environment variables for configuring docker-compose, *not* the | ||
# containers themselves. | ||
# | ||
# Note that this is simple string assignment, quotes should *not* be used. | ||
# Multiple lines or commands, or bash syntax will not work. | ||
# | ||
# References: | ||
# - https://docs.docker.com/compose/env-file/ | ||
# - https://docs.docker.com/compose/reference/envvars/ | ||
COMPOSE_PROJECT_NAME=isle-buildkit | ||
|
||
# Use buildkit when building images. | ||
COMPOSE_DOCKER_CLI_BUILD=1 | ||
DOCKER_BUILDKIT=1 | ||
|
||
# Required for traefik on OSX (inconsistent behavior). | ||
DOCKER_CLIENT_TIMEOUT=120 | ||
COMPOSE_HTTP_TIMEOUT=120 | ||
|
||
# The consistency requirements for bind mounts; one of: | ||
# | ||
# - consistent: Full consistency. The container runtime and the host maintain an identical view of the mount at all times. | ||
# - cached: The host's view of the mount is authoritative. There may be delays before updates made on the host are visible within a container. | ||
# - delegated: The container runtime's view of the mount is authoritative. There may be delays before updates made in a container are visible on the host. | ||
# | ||
# Note that using 'consistent' can be very slow. | ||
CONSISTENCY=delegated | ||
|
||
# The Docker image repository, to use for isle-buildkit images. | ||
# | ||
# "local" is produced by building isle-buildkit manually | ||
# "islandora" is pulled from DockerHub. | ||
# | ||
REPOSITORY=local | ||
|
||
# The version of the isle-buildkit images to use. | ||
TAG=latest |
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 |
---|---|---|
|
@@ -3,5 +3,4 @@ | |
/build | ||
scratch | ||
scratch.md | ||
volumes | ||
/docker-compose.yml | ||
volumes |
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
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,3 +1,66 @@ | ||
plugins { | ||
id("com.github.nigelgbanks.IsleDocker") version "0.11" | ||
id("com.github.nigelgbanks.IsleDocker") version "0.11" | ||
} | ||
|
||
// Include any folder that has a Dockerfile as a sub-project. | ||
val buildTasks = rootProject.projectDir | ||
.walk() | ||
.maxDepth(1) // Only immediate directories. | ||
.filter { it.isDirectory && it.resolve("Dockerfile").exists() } // Must have a Dockerfile. | ||
.map { directory -> | ||
// Include as a sub-project. | ||
directory.relativeTo(rootProject.projectDir).path + ":build" | ||
}.toList().toTypedArray() | ||
|
||
val down by tasks.registering(Exec::class) { | ||
commandLine("docker", "compose", "down", "-v") | ||
} | ||
|
||
val wait by tasks.registering(Exec::class) { | ||
commandLine( | ||
"docker", | ||
"compose", | ||
"exec", | ||
"drupal", | ||
"timeout", | ||
"600", | ||
"bash", | ||
"-c", | ||
"while ! test -f /installed; do sleep 5; done" | ||
) | ||
doLast { | ||
logger.quiet( | ||
""" | ||
For all services the credentials are: | ||
Username: admin | ||
Password: password | ||
The following services can be reached at the given URLs: | ||
ActiveMQ: https://activemq.islandora.dev/ | ||
Blazegraph: https://blazegraph.islandora.dev/bigdata/ | ||
Drupal: https://islandora.dev/ | ||
Fedora: https://fcrepo.islandora.dev/fcrepo/rest/ | ||
Matomo: https://islandora.dev/matomo/index.php | ||
Solr: https://solr.islandora.dev/solr/#/ | ||
Traefik: https://traefik.islandora.dev/dashboard/#/ | ||
""".trimIndent() | ||
) | ||
} | ||
} | ||
|
||
tasks.register<Exec>("up") { | ||
commandLine("docker", "compose", "up", "-d") | ||
dependsOn("generateCerts", *buildTasks) | ||
mustRunAfter(down) | ||
finalizedBy(wait) | ||
} | ||
|
||
// Do not show output unless requested. | ||
allprojects { | ||
tasks.configureEach { | ||
logging.captureStandardOutput(LogLevel.INFO) | ||
logging.captureStandardError(LogLevel.INFO) | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import tasks.tests.ServiceStartsWithDefaultsTest | ||
tasks.register<ServiceStartsWithDefaultsTest>("test") { | ||
waitForMessage.set("NOTICE: ready to handle connections") | ||
} |
Oops, something went wrong.