This is the main source code repository for the Galasa open source project.
modules- The codetools- Build tools and useful scriptsdocs- The source code for our preview and live documentation sites
When setting up galasa locally, you can either use (1) our development container (recommended set up) or (2) a manual set up.
- Install a code editor that has Dev Container support, in this setup we will be using Visual Studio Code.
- Install the Dev Containers VSCode extension by Microsoft.
- Clone the repository.
- Install and open a container engine, such as Docker Desktop, Rancher Desktop or Podman.
- Open the project in a dev container via the VSCode extension.
- Note: Changing your environment variables will require you to restart VSCode for the changes to be reflected in the container.
Some tools will need to be installed in order to build this code locally. See our install instructions here
Use the ./tools/build-locally.sh script. --help shows you the options.
Basic usage to build everything: build-locally.sh
The set-version.sh script allows you to set the version of the Galasa throughout this repository.
Use the --help flag to see what options are supported.
Basic usage: set-version.sh --version 0.46.0
When using vscode to develop this code, we recommend the following settings are added to your settings.json file:
"java.jdt.ls.vmargs": "-Xmx1024m",
"java.import.gradle.arguments" : "-PtargetMaven=~/.m2/repository",
"java.import.gradle.version": "8.9",
"java.configuration.runtimes": [
{
"name": "JavaSE-17",
"path": "/path/to/java/sdk/folder" , // eg: /Users/mcobbett/.sdkman/candidates/java/17.0.12-tem
"default": true,
},
],
"java.import.gradle.wrapper.enabled": false,
"java.gradle.buildServer.enabled": "off",
See our contribution guidelines on how to contribute to the Galasa project.
We have some notes here which may help you understand the codebase, should you wish to contribute to the project.
Galasa is developed under this license
All contributions are governed by the Developer Certificate of Origin