Skip to content

Commit c17289e

Browse files
committed
Add docker ignore
1 parent 709b369 commit c17289e

File tree

4 files changed

+69
-8
lines changed

4 files changed

+69
-8
lines changed

.dockerignore

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Include any files or directories that you don't want to be copied to your
2+
# container here (e.g., local build artifacts, temporary files, etc.).
3+
#
4+
# For more help, visit the .dockerignore file reference guide at
5+
# https://docs.docker.com/go/build-context-dockerignore/
6+
7+
**/.DS_Store
8+
**/.classpath
9+
**/.dockerignore
10+
**/.env
11+
**/.factorypath
12+
**/.git
13+
**/.gitignore
14+
**/.idea
15+
**/.project
16+
**/.sts4-cache
17+
**/.settings
18+
**/.toolstarget
19+
**/.vs
20+
**/.vscode
21+
**/.next
22+
**/.cache
23+
**/*.dbmdl
24+
**/*.jfm
25+
**/charts
26+
**/docker-compose*
27+
**/compose.y*ml
28+
**/Dockerfile*
29+
**/secrets.dev.yaml
30+
**/values.dev.yaml
31+
**/vendor
32+
LICENSE
33+
README.md
34+
**/*.class
35+
**/*.iml
36+
**/*.ipr
37+
**/*.iws
38+
**/*.log
39+
**/.apt_generated
40+
**/.gradle
41+
**/.gradletasknamecache
42+
**/.nb-gradle
43+
gradlew
44+
gradlew.bat
45+
**/.springBeans
46+
**/build
47+
**/out
48+
**/dist
49+
**/gradle-app.setting
50+
**/nbbuild
51+
**/nbdist
52+
**/nbproject/private
53+
**/target
54+
*.ctxt
55+
.mtj.tmp
56+
.mvn/timing.properties
57+
buildNumber.properties
58+
dependency-reduced-pom.xml
59+
hs_err_pid*
60+
pom.xml.next
61+
pom.xml.releaseBackup
62+
pom.xml.tag
63+
pom.xml.versionsBackup
64+
release.properties
65+
replay_pid*
66+
.config

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN --mount=type=secret,id=GITHUB_ACTOR \
1111
--mount=type=secret,id=GITHUB_TOKEN \
1212
export GITHUB_ACTOR=$(cat /run/secrets/GITHUB_ACTOR); \
1313
export GITHUB_TOKEN=$(cat /run/secrets/GITHUB_TOKEN); \
14-
gradle --console=plain --quiet clean --no-daemon --exclude-task=test :${PROJECT}:jlink -PnoVersionTag=true
14+
gradle --console=plain --quiet --no-daemon --exclude-task=test :${PROJECT}:jlink -PnoVersionTag=true
1515

1616

1717
FROM alpine:3

README.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# LOOK
22

3-
A REST API that enables the discovery of existing lookup tables to help minimize the size of a transaction.
3+
Discover existing lookup tables to minimize the size of a transaction.
44

55
## REST API
66

77
### Discover Tables
88

9-
Attempts to find one or more tables to help minimize the size of a transaction.
10-
119
#### `/v0/alt/discover/*`
1210

1311
Common parameters for discovery endpoints:
@@ -299,4 +297,4 @@ Run the service:
299297
--mainClass="systems.glam.look.http.LookupTableWebService" \
300298
--jvmArgs="-server -XX:+UseZGC -Xms7G -Xmx13G" \
301299
--screen=0
302-
```
300+
```

look/src/main/java/systems/glam/look/LookupTableDiscoveryServiceImpl.java

-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ private static Path resolvePartitionCacheFile(final Path altCacheDirectory, fina
7373
private final CompletableFuture<Void> remoteLoad;
7474
private final int maxConcurrentRequests;
7575
private final TableStats tableStats;
76-
TableStatsSummary tableStatsSummary;
7776
final AtomicReferenceArray<AddressLookupTable[]> partitions;
7877
private final PartitionedLookupTableCallHandler[] partitionedCallHandlers;
7978
private final Path altCacheDirectory;
@@ -671,7 +670,6 @@ public void run() {
671670
final var duration = Duration.ofMillis(System.currentTimeMillis() - start);
672671

673672
joinPartitions();
674-
this.tableStatsSummary = tableStats.summarize();
675673

676674
initialized.complete(null);
677675
remoteLoad.complete(null);
@@ -684,7 +682,6 @@ public void run() {
684682
%s to fetch all %d tables.""", duration, numTables
685683
));
686684

687-
688685
logger.log(INFO, tableStats);
689686
tableStats.reset();
690687
if (reloadDelay == null) {

0 commit comments

Comments
 (0)