gchq / gchq/sleeper

Update build scripts for tests to avoid building unnecessary modules

Open
#823 0 comments 0 reactions 0 assignees View on GitHub
scripts
Dominant language
Java
Stars
107
Forks
29
Avg merge
19h 46m
Merged PRs (30d)
141

Description

Currently the build scripts build all modules and push them to S3, but the tests do not deploy all of the stacks. We can modify the maven commands in the build scripts to only build the relevant modules, which would speed up the performance tests.

There's a complication in that the distribution module is responsible for outputting all the artifacts to the scripts/jars and scripts/docker directories. If any of the relevant modules are not included in the build, this may fail. There are a few options for handling this:

- Always build all the modules needed by the distribution module
- Replicate the behaviour of the distribution module in the build script
- Move the configuration from the distribution module to the modules that output the jars/docker files

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.