Robert Dailey
347028ed3a
chore(docker): Fix PUID:PGID usage in entrypoint.sh
...
The non-root user and group were still being created in the Dockerfile,
which means that if the PUID or PGID were modified, those changes would
not be processed.
This change completely removes the `adduser` / `addgroup` commands and
instead the user spec is passed directly to `su-exec`.
2 years ago
Robert Dailey
fba29e56d0
ci: Do not build docker redundantly when tags are pushed
...
There are only two cases we care about docker builds:
- On branches (not tags): To verify that we didn't break the docker
build.
- When a Github Release is published: To build & publish an official
docker image.
In the second case, the build should happen after the Github Release is
published, NOT when a tag is pushed.
2 years ago
Robert Dailey
89ece89fd4
release: v2.2.0
2 years ago
Robert Dailey
6a581282b0
chore(docker): New PUID & PGID env vars
2 years ago
Robert Dailey
5a75a14e8f
chore(docker): Move cron task logic to shell script
...
Also included a timestamp separator for readability
2 years ago
Robert Dailey
33d8cc9efc
chore(docker): Reorganize docker scripts
2 years ago
Robert Dailey
dd94634ef4
docs: Add Docker Development info to CONTRIBUTING.md
2 years ago
Robert Dailey
82856495b5
refactor: Log the app data directory
2 years ago
Robert Dailey
199cbbcdf6
chore(docker): Use RECYCLARR_APP_DATA instead of CLI option
2 years ago
Robert Dailey
9bb71f1938
chore(docker): Support for development/test builds
2 years ago
Robert Dailey
db03d88e1f
chore(docker): Give final build stage a name
...
To make it a little more informative on command line.
2 years ago
Robert Dailey
0c30fed4d6
chore(docker): Move build logic to script file
2 years ago
Robert Dailey
850a0d5fd3
feat: Global app data via environment variable
...
Specify `RECYCLARR_APP_DATA` so that every command inherits and uses
that path for its application data. This behaves the same as if you had
specified the `--app-data` option for every invocation of Recyclarr.
2 years ago
Robert Dailey
9618a0eadc
fix: create-config accepts YAML file name again instead of directory
2 years ago
Robert Dailey
1f7da24e82
chore(docker): Add TZ support in Docker Image
...
Fixes #80
2 years ago
Robert Dailey
fd6d51b2da
docs(wiki): Remove CRON_SCHEDULE from docker example
...
Apparently it causes confusion...
2 years ago
Robert Dailey
e355b5c5f5
docs: Update CHANGELOG for last bugfix
2 years ago
Jonas Geiler
44cf826bba
chore: updated changelog with the fix
2 years ago
Jonas Geiler
ce7f338881
fix: updated "EVO (no WEBDL)" custom format in config template
...
Fixes #77
2 years ago
Robert Dailey
eb394f8ca1
build: Upgrade System.IO.Abstractions to v17
2 years ago
Robert Dailey
9a854b2aa3
build: Upgrade GitHubActionsTestLogger to v2
2 years ago
Robert Dailey
b502610801
build: Upgrade FluentValidation to v11
2 years ago
Robert Dailey
8522a5d39d
test: Clean up unnecessary code
2 years ago
Robert Dailey
f6248b6b76
fix(radarr): Load cache json using snake case
...
The main symptom of this was that CFs were not deleted when the
`delete_old_custom_formats` property was enabled.
This fixes #71
2 years ago
Robert Dailey
d4380bc11d
chore: Add System.IO.Abstractions.Extensions to all tests
2 years ago
Robert Dailey
c3ba7980a8
docs: Update README with Docker information
2 years ago
Robert Dailey
05d2bcaf7d
chore: Fix issue with appdata path in docker image
2 years ago
Robert Dailey
8f4371256f
ci: Use github.actor in docker login step
2 years ago
Robert Dailey
01d2a5b484
ci: Trigger docker workflow when its YAML changes
2 years ago
Robert Dailey
9e9bba855d
ci: Provide tag to docker steps in workflow
...
Tag field was available for workflow_dispatch, but the value wasn't
passed to relevant build steps.
2 years ago
Robert Dailey
27baeac08b
docs(wiki): Docker Tag documentation
2 years ago
Robert Dailey
963ef9a8b3
docs(wiki): Docker documentation
2 years ago
Robert Dailey
7c0579629f
ci: Allow manual execution of Docker workflow
2 years ago
Robert Dailey
143bb634f0
feat: Docker support
2 years ago
Robert Dailey
82f335c595
chore: Use LF for *.sh & Dockerfile files
3 years ago
Robert Dailey
a7ee8e1d42
release: v2.1.2
3 years ago
Robert Dailey
7daca894f7
fix(migrate): Skip moving cache directory if it does not exist
3 years ago
Robert Dailey
bf8b860951
fix: Properly handle manually specified path in create-config
3 years ago
Robert Dailey
a727c22b2d
release: v2.1.1
3 years ago
Robert Dailey
0b024fefbb
chore: New install script for script dependencies
3 years ago
Robert Dailey
38b6ab5131
fix: Fix IAppPaths access issue in create-config
3 years ago
Robert Dailey
85b1abc035
release: v2.1.0
3 years ago
Robert Dailey
cd9d9e7cdc
fix: Simplify app data migration
...
Due to the failures related to symlinks in the repo directory that
happened when doing a full directory merge, the migration logic has been
simplified. It now only copies useful YAML files and cache data. The
repo directory is ignored and will need to be re-cloned when the user
runs `recyclarr` next time.
3 years ago
Robert Dailey
da38fd597f
refactor: Move NormalizePath logic to TestLibrary
3 years ago
Robert Dailey
bf7d884183
fix: Migration logic now handles symlinks (sort of)
...
Symlinks are difficult to deal with. At this point, it was still failing
to migrate the `.config/recyclarr/repo` directory. Even though it still
doesn't work 100%, I'm going to leave it as it is and instead simplify
what gets migrated later.
3 years ago
Robert Dailey
f5ce60589d
feat: Debug logs for trash-updater dir migration
3 years ago
Robert Dailey
37d52b583a
feat: Debug diagnostics for migrate subcommand
3 years ago
Robert Dailey
c593675f3d
ci: Move publish properties to ps1
...
Moving these out allows custom `dotnet publish` commands to be run, such
as creating a portable build without having to specify --runtime.
3 years ago
Robert Dailey
d499537f91
fix: Improve app data migration logic
...
Smarter migration logic that does a directory merge instead of a
straight move. This is designed to fail less in cases like the
`recyclarr` directory already existing.
3 years ago
Robert Dailey
d50e08b1e3
refactor: Add MergeDirectory() method + tests
3 years ago