Commit graph

207 commits

Author SHA1 Message Date
Nick Sweeting
e48159b8a0 cleanup docker-compose by storing crontabs in data dir 2024-03-26 15:24:05 -07:00
jim winstead
741ff5f1a8 Make it a little easier to run specific tests
Changes ./bin/test.sh to pass command line options to pytest, and default to
only running tests in the tests/ directory instead of everywhere excluding
a few directories which is more error-prone.

Also keeps the mock_server used in testing quiet so access log entries don't
appear on stdout.
2024-03-01 12:43:53 -08:00
Nick Sweeting
fa24136ff7
Update setup.sh 2024-02-18 05:46:53 -08:00
Nick Sweeting
b706ab390d
Merge branch 'main' into dev 2024-02-18 05:40:49 -08:00
Nick Sweeting
84fe8e1c75
Update setup.sh 2024-02-18 05:40:30 -08:00
Nick Sweeting
8519c81711
Update setup.sh 2024-02-18 05:32:38 -08:00
Nick Sweeting
9373a2853e
Update setup.sh 2024-02-18 05:32:20 -08:00
Nick Sweeting
0b8ff4c84c
Update setup.sh 2024-02-18 05:28:48 -08:00
Nick Sweeting
0cdfab7f45
Update setup.sh 2024-02-18 05:27:17 -08:00
Nick Sweeting
e9f3b041ec
Update setup.sh 2024-02-18 05:21:27 -08:00
Nick Sweeting
131c9f5d83 Merge branch 'main' into dev 2024-01-16 18:15:21 -08:00
Nick Sweeting
2de06c14e1 fix setup.sh script 2024-01-16 18:15:14 -08:00
Nick Sweeting
ed49301cf0 only check data/archive if data has space available in entrypoinbt 2024-01-11 20:07:43 -08:00
Nick Sweeting
75d8ed3fec dont attempt to chown /browsers/.links if it doesnt exist 2024-01-11 20:07:04 -08:00
Nick Sweeting
8ccb4f73ec check data/archive folder for free space as well 2024-01-11 19:52:53 -08:00
Nick Sweeting
ff5aef521e fix chown of playwright browsers dir links 2024-01-11 19:02:58 -08:00
Nick Sweeting
014c1e1dc7 remove dbus from docker setup, not actually needed 2024-01-11 19:02:34 -08:00
Nick Sweeting
df11a8a3ba fix playwright browsers path not having hidden dir inside chowned 2024-01-11 17:26:58 -08:00
Nick Sweeting
975b1b5ae1
fix: handle archive folder permission more graceful (#1312) 2024-01-05 16:26:42 -08:00
Nick Sweeting
e085b1d13b
try to chown everything in ./data and only fallback to avoiding ./data/archive if it fails initially 2024-01-05 16:19:47 -08:00
gnattu
bc2bfc1cc7
fix: handle archive folder permission more graceful
On mounted network shares, chmod might be hard or impossible to do without modify the server config. Ignore the archive folder because we already tested if that folder is writeable and printed warnings to the user.
2024-01-05 12:57:01 +08:00
Nick Sweeting
a6ea05820b empty commit to bump version difference 2024-01-04 19:59:34 -08:00
Nick Sweeting
e888869abc remove conflicting packages when building brew bottle 2024-01-04 19:53:50 -08:00
Nick Sweeting
3ddc0c7f7a fix free space calculation and make it based on absolute values instead of pcts 2024-01-04 17:24:31 -08:00
Nick Sweeting
2bb6dca294 check for available disk space on docker root fs and data volume and improve shell requoting 2024-01-04 15:58:45 -08:00
Nick Sweeting
48c9a49d56 fix shell re-quoting in docker_entrypoint.sh so that quoted subcommands can be passed in 2024-01-04 15:10:10 -08:00
Nick Sweeting
1f71fedff7 dont check for PGID=0 anymore 2024-01-02 17:22:54 -08:00
Nick Sweeting
6584f300d6 add better comments 2024-01-02 17:10:22 -08:00
Nick Sweeting
89bdda85e9
Merge branch 'dev' into side-fixes 2023-12-18 19:17:31 -08:00
Nick Sweeting
25a505f668 fix GIT_SHA tagging during build 2023-12-17 21:51:04 -08:00
Nick Sweeting
6ec7114033 also build GIT_SHA version of images 2023-12-17 21:48:38 -08:00
Nick Sweeting
7410fddacf improve entrypoint error handling and color coding 2023-12-17 21:03:01 -08:00
Nick Sweeting
c259b3f2fd fix browsers chown on startup again 2023-12-17 17:59:10 -08:00
Nick Sweeting
1ce228e9bb fix /browsers/* does not exist chown error 2023-12-17 17:51:36 -08:00
Nick Sweeting
4a4ed2cad6 fix version string parsing 2023-12-17 17:44:26 -08:00
Nick Sweeting
35685cf6ea mkdir and chown browsers directory automatically in entrypoint script 2023-12-17 16:06:02 -08:00
Nick Sweeting
b9f25d84f3 catch edge case where user sets PUID=0 or autodetected PUID=0 and add hints about network filesystem permissions being messed with 2023-12-17 16:05:45 -08:00
Nick Sweeting
2b421c56bb require builx for for docker builds 2023-11-14 02:07:54 -08:00
Nick Sweeting
f0033f75d0 config.py lint fixes 2023-11-14 02:07:35 -08:00
Matteo Giordano
a8eade4dd0
Fix archivebox user UID & GID 2023-11-08 13:13:25 +01:00
Nick Sweeting
fd9803f3b7
chown PLAYWRIGHT_BROWSERS_PATH in entrypoint to fix archivebox setup 2023-11-07 01:49:48 -08:00
Nick Sweeting
07b9710970 update pip dist script 2023-11-03 21:35:08 -07:00
Nick Sweeting
1323b812ce fix brew release process 2023-11-03 21:30:28 -07:00
Nick Sweeting
7377d9ebc3 bump version to 0.7.1 and fix version autodetection code 2023-11-03 20:07:39 -07:00
Nick Sweeting
c6e5a565c0 switch back to locked cache instead of private but put targetarch in cache id to separate them 2023-10-31 19:43:41 -07:00
Nick Sweeting
7283e9b91d fix docker build tags 2023-10-31 19:11:14 -07:00
Nick Sweeting
bc555cca96 working arm v7 build 2023-10-31 06:28:11 -07:00
Nick Sweeting
211ca363b5 better dockerfiles caching 2023-10-31 05:31:19 -07:00
Nick Sweeting
47d9161168 fix Dockerfile 2023-10-31 03:06:02 -07:00
Nick Sweeting
166573d417 autodetect qemu and warn about broken chrome in emulated containers 2023-10-31 00:23:19 -07:00