Skip to content

Commit c7920ed

Browse files
committed
build(flox): Add composite envionments with external tools
At the example of scanners only for now, show how to create Flox environments for their tools so that functional tests for scanners can be run independently of whether they are currently installed via: ./flox/run_isolated.sh external-tools ./gradlew -p plugins/scanners \ funTest Note that if an included environment changes, the compose environment needs to be updated [1] by running flox include upgrade [1]: https://flox.dev/docs/concepts/composition/#getting-the-latest-manifests Signed-off-by: Sebastian Schuberth <[email protected]>
1 parent 7011d80 commit c7920ed

File tree

25 files changed

+1070
-0
lines changed

25 files changed

+1070
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
env/manifest.lock linguist-generated=true linguist-language=JSON
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
run/
2+
cache/
3+
lib/
4+
log/
5+
!env/

flox/external-tools/.flox/env.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"name": "external-tools",
3+
"version": 1
4+
}

0 commit comments

Comments
 (0)