-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Wildfly tests to run in Docker (#53126)
Closes #49374. Convert the Wildfly tests to run using Docker Compose. This drastically simplifies the build setup, and will hopefully make the tests more resilient.
- Loading branch information
1 parent
883104f
commit 38ecfab
Showing
8 changed files
with
149 additions
and
228 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
version: '3.7' | ||
services: | ||
|
||
wildfly: | ||
image: jboss/wildfly:18.0.1.Final | ||
environment: | ||
JAVA_OPTS: -Delasticsearch.uri=elasticsearch:9200 -Djboss.http.port=8080 -Djava.net.preferIPv4Stack=true | ||
volumes: | ||
- ./build/distributions/example-app.war:/opt/jboss/wildfly/standalone/deployments/example-app.war | ||
ports: | ||
- "8080" | ||
healthcheck: | ||
start_period: 5s | ||
test: ["CMD", "grep", "Admin console listening on", "/opt/jboss/wildfly/standalone/log/server.log"] | ||
interval: 2s | ||
timeout: 1s | ||
retries: 5 | ||
|
||
elasticsearch: | ||
image: elasticsearch-oss:test | ||
environment: | ||
discovery.type: single-node | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
nofile: | ||
soft: 65536 | ||
hard: 65536 | ||
healthcheck: | ||
start_period: 15s | ||
test: ["CMD", "curl", "-f", "-k", "http://localhost:9200"] | ||
interval: 10s | ||
timeout: 2s | ||
retries: 5 |
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,35 @@ | ||
version: '3.7' | ||
services: | ||
|
||
wildfly: | ||
image: jboss/wildfly:18.0.1.Final | ||
environment: | ||
JAVA_OPTS: -Delasticsearch.uri=elasticsearch:9200 -Djboss.http.port=8080 -Djava.net.preferIPv4Stack=true | ||
volumes: | ||
- ./build/distributions/example-app.war:/opt/jboss/wildfly/standalone/deployments/example-app.war | ||
ports: | ||
- "8080" | ||
healthcheck: | ||
start_period: 5s | ||
test: ["CMD", "grep", "Admin console listening on", "/opt/jboss/wildfly/standalone/log/server.log"] | ||
interval: 2s | ||
timeout: 1s | ||
retries: 5 | ||
|
||
elasticsearch: | ||
image: elasticsearch:test | ||
environment: | ||
discovery.type: single-node | ||
ulimits: | ||
memlock: | ||
soft: -1 | ||
hard: -1 | ||
nofile: | ||
soft: 65536 | ||
hard: 65536 | ||
healthcheck: | ||
start_period: 15s | ||
test: ["CMD", "curl", "-f", "-k", "http://localhost:9200"] | ||
interval: 10s | ||
timeout: 2s | ||
retries: 5 |
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 |
---|---|---|
|
@@ -25,4 +25,5 @@ | |
|
||
@Provider | ||
public class RestHighLevelJacksonJsonProvider extends ResteasyJackson2Provider { | ||
|
||
} |
Oops, something went wrong.