Skip to content

galasa-dev/galasa

Repository files navigation

Galasa WebUI Helm SimBank Isolated Integrated-tests Isolated tests Galasa documentation branch/main build

Galasa

This is the main source code repository for the Galasa open source project.

Code structure

Building locally

When setting up galasa locally, you can either use (1) our development container (recommended set up) or (2) a manual set up.

(1) Recommended set up (dev container)

  1. Install a code editor that has Dev Container support, in this setup we will be using Visual Studio Code.
  2. Install the Dev Containers VSCode extension by Microsoft.
  3. Clone the repository.
  4. Install and open a container engine, such as Docker Desktop, Rancher Desktop or Podman.
  5. 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.

(2) Manual set up

Some tools will need to be installed in order to build this code locally. See our install instructions here

To build...

Use the ./tools/build-locally.sh script. --help shows you the options.

Basic usage to build everything: build-locally.sh

setting the source code version

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

Using vscode

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",

How to contribute to the Galasa project

See our contribution guidelines on how to contribute to the Galasa project.

Notes about the codebase and Galasa system for contributors

We have some notes here which may help you understand the codebase, should you wish to contribute to the project.

Legal

Galasa is developed under this license

All contributions are governed by the Developer Certificate of Origin

About

The Galasa source code

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors 40