fix: use correct env var for backup dir
ci/woodpecker/push/release Pipeline was successful Details
ci/woodpecker/tag/clippy Pipeline was successful Details
ci/woodpecker/tag/lint Pipeline was successful Details
ci/woodpecker/tag/build Pipeline was successful Details
ci/woodpecker/tag/release Pipeline was successful Details
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline was successful Details

incremental-backups 0.2.2
Jef Roosens 2023-06-13 13:44:08 +02:00
parent 375a68fbd6
commit 9ce8199d5f
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
5 changed files with 12 additions and 5 deletions

View File

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased](https://git.rustybever.be/Chewing_Bever/alex/src/branch/dev) ## [Unreleased](https://git.rustybever.be/Chewing_Bever/alex/src/branch/dev)
## [0.2.2](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.2)
### Fixed
* Use correct env var for backup directory
## [0.2.1](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.1) ## [0.2.1](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.1)
### Added ### Added

2
Cargo.lock generated
View File

@ -10,7 +10,7 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
[[package]] [[package]]
name = "alex" name = "alex"
version = "0.2.1" version = "0.2.2"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "alex" name = "alex"
version = "0.2.1" version = "0.2.2"
description = "Wrapper around Minecraft server processes, designed to complement Docker image installations." description = "Wrapper around Minecraft server processes, designed to complement Docker image installations."
authors = ["Jef Roosens"] authors = ["Jef Roosens"]
edition = "2021" edition = "2021"

View File

@ -22,7 +22,7 @@ FROM eclipse-temurin:18-jre-alpine
# Build arguments # Build arguments
ARG MC_VERSION=1.19.4 ARG MC_VERSION=1.19.4
ARG PAPERMC_VERSION=545 ARG PAPERMC_VERSION=525
RUN addgroup -Sg 1000 paper && \ RUN addgroup -Sg 1000 paper && \
adduser -SHG paper -u 1000 paper adduser -SHG paper -u 1000 paper
@ -61,4 +61,5 @@ EXPOSE 25565
# Switch to non-root user # Switch to non-root user
USER paper:paper USER paper:paper
ENTRYPOINT ["/bin/alex", "paper"] ENTRYPOINT ["/bin/dumb-init", "--"]
CMD ["/bin/alex", "paper"]

View File

@ -46,7 +46,7 @@ struct Cli {
long, long,
value_name = "BACKUP_DIR", value_name = "BACKUP_DIR",
default_value = "../backups", default_value = "../backups",
env = "ALEX_WORLD_DIR" env = "ALEX_BACKUP_DIR"
)] )]
backup: PathBuf, backup: PathBuf,
/// Java command to run the server jar with /// Java command to run the server jar with