-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resume Docker integrations tests (#1317)
* [issues-1315] - Fix RequestSpecBuilderResourceProvider in order to take the desired request base path into account * [issues-1315] - Fix functional tests in order to replace the no longer existing jonmorehouse/ping-pong Docker image * [issues-1315] - Bump docker-java and jboss-parent versions * [issues-1315] - Remove redundant docker-java dependency version from docker/assertj/pom.xml * [issues-1315] - Adding required dependencies to docker/docker/pom.xml, for classloader to include javax.* * [issues-1315] - Fixing how the docker-compose.yml config file path is computed, since java.nio.Paths in JDK 11 does not allow for URI with null schema * [issues-1315] - Bumping Tomcat image tag used in Docker related tests from 7 to 10, from 6 to 9 where a previous version is used In docker functional tests: switch from javax.* to jakarta.* in deployments, in order to let containers provide depoyments which byteconde is compatible with JDK 11 * [issues-1315] - Switch from javax.* to jakarta.* in Fabric8 maven plugin tests * [issues-1315] - Bumping Tomcat image tag used in ftest-docker-compose-v2 tests, switch from javax.* to jakarta.* in deployments, in order to let containers provide depoyments which byteconde is compatible with JDK 11, make the Tomcat manager app available in deployments, and relax the Tomcat 10 context.xml file requirements to allow connections routed from the container host IP address * [issues-1315] - Update the dependency for the JSch (Java SSH API) in order to use the well maintained fork om.github.mwiede/jsch, which allows for more recently generated private keys * [issues-1315] - Use a different image for the FTP server in ftest-docker-containerobject, and updating tests and resources accordingly, since dipakpawar231/proftpd:v1 is no longer available * [issues-1315] - Replace the no longer available jonmorehouse/ping-pong image with the hashicorp/http-echo image * [issues-1315] - Bumping the WildFly image tag used in ftest-container-star-operator tests, switch from javax.* to jakarta.* in deployments, in order to let containers provide depoyments which byteconde is compatible with JDK 11 * [issues-1315] - Replacing the git origin for ftest-docker-compose-v2-git-context (https://github.com/lordofthejars/pingpongdockerfile.git) with https://github.com/tsongpon/pingpong.git, since the former points to the no longer available jonmorehouse/ping-pong * [issues-1315] - Replace the no longer available jonmorehouse/ping-pong image with the tsongpon/pingpong image, where hashicorp/http-echo is tricky to configure due to commands, envs and docker compose combination * [issues-1315] - CI, enabling Docker integration tests * [issues-1315] - Updating the used h2 image in docker/ftest, docker/ftest-standalone and docker/ftest-junit-rules. Also - in docker/ftest - bumping the WildFly version, and adding relaxed context.xml for Tomacat 10 to allow external connections, plus enabling the manager app * [issues-1315] - Bumping the docker server API version to 1.43 the latest supported by docker-java 3.4.0 * [issues-1315] - Replacing port 5000 with 5432 for docker/ftest-docker-containerobject tests, since 5000 is already in use by GitHub runners that execute CI checks * [issues-1315] - Fixing more outdated WildFly images in tests and docs * [issues-1315] - Fixing more dependencies configuration * [issues-1315] - Fixing the GitHub workflow CI script in order to use a more recent version for the setup-minikube step --------- Co-authored-by: Fabio Burzigotti <[email protected]>
- Loading branch information
Showing
82 changed files
with
390 additions
and
346 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 |
---|---|---|
|
@@ -26,8 +26,9 @@ jobs: | |
# failsafe.groups configuration depends on the env setup. | ||
FAILSAFE_GROUPS: '' | ||
steps: | ||
- name: Setup Minikube # add an if for the kubernetes target only? | ||
uses: manusa/[email protected] | ||
- name: Setup Minikube | ||
if: ${{ matrix.target == 'kubernetes' }} | ||
uses: manusa/[email protected] | ||
with: | ||
driver: docker | ||
container runtime: containerd | ||
|
@@ -36,6 +37,7 @@ jobs: | |
github token: ${{ secrets.GITHUB_TOKEN }} | ||
start args: "--memory='4gb' --cpus='2'" | ||
- name: Enable minikube registry | ||
if: ${{ matrix.target == 'kubernetes' }} | ||
run: | | ||
minikube addons enable registry | ||
kubectl port-forward --namespace kube-system service/registry 5000:80 & | ||
|
@@ -58,7 +60,7 @@ jobs: | |
- name: Build and run integration tests for Docker target (${{ matrix.java }}) | ||
if: ${{ matrix.target == 'docker' }} | ||
run: | | ||
./mvnw package -Dfailsafe.groups=org.arquillian.cube.docker.impl.requirement.RequiresDocker -Dcontainerless.skip.tests=true | ||
./mvnw verify -Dfailsafe.groups=org.arquillian.cube.docker.impl.requirement.RequiresDocker -Dcontainerless.skip.tests=true | ||
- name: Build and run integration tests for Kubernetes target (${{ matrix.java }}) | ||
if: ${{ matrix.target == 'kubernetes' }} | ||
run: | | ||
|
@@ -71,5 +73,6 @@ jobs: | |
'${{ github.workspace }}/**/surefire-reports/*.*' | ||
'${{ github.workspace }}/**/*.log' | ||
- name: Stop minikube | ||
if: ${{ matrix.target == 'kubernetes' }} | ||
run: | | ||
minikube stop |
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
1 change: 0 additions & 1 deletion
1
...ocker/src/main/resources/META-INF/services/org.arquillian.cube.spi.requirement.Constraint
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,2 +1 @@ | ||
org.arquillian.cube.docker.impl.requirement.DockerMachineRequirement | ||
org.arquillian.cube.docker.impl.requirement.DockerRequirement |
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
Oops, something went wrong.