This repository contains a preconfigured project with a skeleton to develop scenarios for QALIPSIS.
- Java 11 or later (JDK) is installed on your machine.
- You have:
- either a text editor with a plugin for Kotlin (Atom, Visual Studio Code...)
- or even better an IDE that supports Kotlin.
- Clone the bootstrap project to your local machine (
git clone https://github.com/qalipsis/bootstrap-project.git
) and open it in your IDE or text editor. - Open
build.gradle.kts
, add the required QALIPSIS plugins in the sectionqalipsis { plugins {} }
and the dependencies you need. - Reload the Gradle project if your IDE or editor provides this functionality.
- Rename the file
src/main/kotlin/my/bootstrap/MyBootstrapScenario.kt
and docker image name in thedocker {}
area. - Develop your own scenario.
- Create an archive of your scenario. Execute the statement
./gradlew assemble
. - Upload the docker image:
./gradlew dockerPush
.
- Gradle Shadow - gradle plugin for creating fat/uber JARs with support for package relocation.
- Docker Gradle Plugin - the repository provides Gradle plugins for working with Docker containers.