-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJustfile
More file actions
44 lines (33 loc) · 1.06 KB
/
Justfile
File metadata and controls
44 lines (33 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
run:
node server.js
test:
node --test tests/*.test.js
corpus-fetch:
sh scripts/fetch-corpus.sh
test-corpus:
node --test tests/corpus.extract.test.js
corpus-report:
node scripts/corpus-report.js
docker-build:
docker build --pull --no-cache -t imagefetch:latest .
docker-run:
docker run --rm \
--name ImageFetch \
-p 8788:8788 \
--tmpfs /tmp:rw,noexec,nosuid,size=16m \
--cap-drop=ALL \
--security-opt no-new-privileges:true \
--pids-limit 150 \
imagefetch:latest
ci-lint:
actionlint
ci-act-list:
XDG_CACHE_HOME=/tmp ACT_CACHE_DIR=/tmp/act-cache act -l --container-architecture linux/amd64
ci-act-validate:
XDG_CACHE_HOME=/tmp ACT_CACHE_DIR=/tmp/act-cache act pull_request -j validate --container-architecture linux/amd64 -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
ci-act-docker-build:
XDG_CACHE_HOME=/tmp ACT_CACHE_DIR=/tmp/act-cache act pull_request -j docker-build --container-architecture linux/amd64 -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest
ci-checks:
just ci-lint
just ci-act-validate
just ci-act-docker-build