mirror of
https://github.com/floci-io/floci.git
synced 2026-11-28 08:09:43 -05:00
chore(ci): name the Java package in one place for tools and CI (#6596)
The docs tools, the partition gate and their registries each spelled out src/main/java/io/github/hectorvent/floci/. tools/java_sources.py now holds the package path, the tools import it, and services.yaml and service_matrix.yaml list sources relative to the package root, so the move to io.floci.aws changes one line here. A registry entry still in the repo-relative form fails with a message naming the new form. prefetch-images.sh finds TestImages.java by name. Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
1 parent
454d7b6ebd
commit
e8ef0b147e
13 files changed
+234
-173
No files matched your search
@@ -50,8 +50,10 @@ starts() {
|
||||
grep -qE "$(IFS='|'; echo "$*")" "$SHARD_FILE"
|
||||
}
|
||||
# The image a test constant pins, or empty (and a log line) when the constant cannot be read.
|
||||
# TestImages is found by name rather than by its package path, which a package rename changes.
|
||||
TEST_IMAGES="$(find src/test/java -path '*/testing/TestImages.java' -print -quit)"
|
||||
test_image() {
|
||||
image="$(grep -oE "$1 *= *\"[^\"]+\"" src/test/java/io/github/hectorvent/floci/testing/TestImages.java | grep -oE '"[^"]+"' | tr -d '"')"
|
||||
image="$(grep -oE "$1 *= *\"[^\"]+\"" "${TEST_IMAGES:-/dev/null}" | grep -oE '"[^"]+"' | tr -d '"')"
|
||||
[ -n "$image" ] || echo "$(date -u +%H:%M:%S) prefetch skipped: TestImages.$1 not readable" >> "$PREFETCH_LOG"
|
||||
echo "$image"
|
||||
}
|
||||
|
||||
@@ -14,6 +14,7 @@ on:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
- 'tools/docs/**'
|
||||
- 'tools/java_sources.py'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/docs-actions.yml'
|
||||
push:
|
||||
@@ -25,6 +26,7 @@ on:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
- 'tools/docs/**'
|
||||
- 'tools/java_sources.py'
|
||||
- 'Makefile'
|
||||
- '.github/workflows/docs-actions.yml'
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ on:
|
||||
- 'src/main/java/**'
|
||||
- 'src/main/resources/aws/**'
|
||||
- 'tools/partition/**'
|
||||
- 'tools/java_sources.py'
|
||||
- 'tools/rename/**'
|
||||
- 'tools/aws/**'
|
||||
- 'tools/slr/**'
|
||||
@@ -33,6 +34,7 @@ on:
|
||||
- 'src/main/java/**'
|
||||
- 'src/main/resources/aws/**'
|
||||
- 'tools/partition/**'
|
||||
- 'tools/java_sources.py'
|
||||
- 'tools/rename/**'
|
||||
- 'tools/aws/**'
|
||||
- 'tools/slr/**'
|
||||
|
||||
Reference in new issue
Block a user