Smoke tests for Spring Boot applications using a custom lifecycle to perform a training run with CDS or JVM Checkpoint Restore. Results are available on the Status page.
This branch contains only GitHub Actions workflows. It is the default branch in the repository to work around a limitation of GitHub Actions' scheduling support:
Scheduled workflows run on the latest commit on the default or base branch.
Additionally, scheduling will only work for a workflow that exists in the default branch. To overcome this limitation, this branch contains workflows for every smoke test found in the supported branches. If you’re looking for the smoke tests themselves, please take a look at one of those other branches:
The workflows can be updated automatically but doing so relies upon a particular directory structure using Git’s worktree support:
spring-lifecycle-smoke-tests
├── ci
└── main
To create this directory structure, first clone the repository into a directory named ci
:
mkdir spring-lifecycle-smoke-tests
cd spring-lifecycle-smoke-tests
git clone https://github.com/spring-projects/spring-lifecycle-smoke-tests ci
cd ci
Now, create worktrees for the main
branch:
git worktree add ../main main
To sync the workflows and update the status page, make sure you’re in the ci
worktree on the ci
branch and execute the following Gradle build:
./gradlew updateInfrastructure
This will update the workflows in the ci
branch based on the smoke tests in each of the repository’s other branches,
as well as STATUS.adoc
.
Commit and push any changes.