-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add building archiver inside docker container Building epics in a docker file Add more tests to the parallel epics integration tests category Add SampleBufferOverFlowTest to ParallelEpicsIntegrationTests Use a static variable to track status of default TomcatSetup Running some integration tests in parallel Add a new test group ParallelEpicsIntegrationTests which is for tests with multiple iocs running at the same time and/or a single tomcat instance to test against.
- Loading branch information
Showing
125 changed files
with
23,034 additions
and
23,073 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,39 @@ | ||
RELEASE_NOTES | ||
bin/ | ||
stage/ | ||
.DS_Store | ||
*.swp | ||
/mts | ||
|
||
.gradle | ||
**/build/ | ||
!src/**/build/ | ||
|
||
# Ignore Gradle GUI config | ||
gradle-app.setting | ||
|
||
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) | ||
!gradle-wrapper.jar | ||
|
||
# Avoid ignore Gradle wrappper properties | ||
!gradle-wrapper.properties | ||
|
||
# Cache of project | ||
.gradletasknamecache | ||
|
||
# Eclipse Gradle plugin generated files | ||
# Eclipse Core | ||
.project | ||
# JDT-specific (Eclipse Java Development Tools) | ||
.classpath | ||
# Eclipse settings | ||
.settings | ||
|
||
# vscode settings | ||
.vscode | ||
|
||
# Integration tests folders | ||
tomcat_* | ||
|
||
# War files | ||
wars |
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,82 @@ | ||
name: Docker Run Integration Tests | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
permissions: | ||
contents: read | ||
checks: write | ||
|
||
jobs: | ||
epicstests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Create Build Reports Folder | ||
run: mkdir -p build/reports/tests | ||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
file: docker/Dockerfile | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
- name: Run tests with docker compose | ||
run: docker compose -f docker/docker-compose.epicsTests.yml run epicsarchiver-test | ||
env: | ||
DOCKER_DEFAULT_PLATFORM: linux/amd64 | ||
COMPOSE_DOCKER_CLI_BUILD: 1 | ||
DOCKER_BUILDKIT: 1 | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: success() || failure() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/build/test-results/test/TEST-*.xml' | ||
- name: Upload build reports | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-reports | ||
path: build/reports/ | ||
|
||
epicstests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
fetch-depth: 0 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- name: Create Build Reports Folder | ||
run: mkdir -p build/reports/tests | ||
- name: Build and push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
file: docker/Dockerfile | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
- name: Run tests with docker compose | ||
run: docker compose -f docker/docker-compose.integrationTests.yml run epicsarchiver-test | ||
env: | ||
DOCKER_DEFAULT_PLATFORM: linux/amd64 | ||
COMPOSE_DOCKER_CLI_BUILD: 1 | ||
DOCKER_BUILDKIT: 1 | ||
- name: Publish Test Report | ||
uses: mikepenz/action-junit-report@v3 | ||
if: success() || failure() # always run even if the previous step fails | ||
with: | ||
report_paths: '**/build/test-results/test/TEST-*.xml' | ||
- name: Upload build reports | ||
if: always() | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: build-reports | ||
path: build/reports/ |
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 |
---|---|---|
|
@@ -36,4 +36,7 @@ gradle-app.setting | |
.vscode | ||
|
||
# Integration tests folders | ||
tomcat_* | ||
tomcat_* | ||
|
||
# War files | ||
wars |
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.