Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
978fef8b2c | ||
|
|
d2a0510cb4 | ||
|
|
583f65040a |
@@ -1,9 +1,9 @@
|
|||||||
name: check
|
name: check
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main, next]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main, next]
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
@@ -360,7 +360,9 @@ Snapshot IDs follow the human-readable format
|
|||||||
`server1_home_2025-06-01T12:00:00Z`), but this ID is never written to the
|
`server1_home_2025-06-01T12:00:00Z`), but this ID is never written to the
|
||||||
destination store in plaintext. Each snapshot's metadata directory is named
|
destination store in plaintext. Each snapshot's metadata directory is named
|
||||||
with its `<remote-key>`, a one-way double SHA-256 hash of the ID, so a listing
|
with its `<remote-key>`, a one-way double SHA-256 hash of the ID, so a listing
|
||||||
of the store reveals no hostname, snapshot name, or backup time. For example,
|
of the store reveals no hostname or snapshot name. The backup time is not
|
||||||
|
hidden: manifest.json.zst carries a plaintext timestamp, and object
|
||||||
|
modification times are visible at the storage layer regardless. For example,
|
||||||
`server1_home_2025-06-01T12:00:00Z` is stored under
|
`server1_home_2025-06-01T12:00:00Z` is stored under
|
||||||
`metadata/17f97bcde958748af076b926af59823943db59e80ce7170b40f124dfa28f64aa/`.
|
`metadata/17f97bcde958748af076b926af59823943db59e80ce7170b40f124dfa28f64aa/`.
|
||||||
See [docs/REPOSTRUCTURE.md](docs/REPOSTRUCTURE.md#remote-key-derivation) for the
|
See [docs/REPOSTRUCTURE.md](docs/REPOSTRUCTURE.md#remote-key-derivation) for the
|
||||||
@@ -724,6 +726,8 @@ them. We provide:
|
|||||||
then the product image). Either failing fails the script. It runs the
|
then the product image). Either failing fails the script. It runs the
|
||||||
checks in the same containers CI does, from a clean copy of the tree,
|
checks in the same containers CI does, from a clean copy of the tree,
|
||||||
so it also catches anything that depends on host state.
|
so it also catches anything that depends on host state.
|
||||||
|
`.gitea/workflows/check.yml` runs it on every push to `main` and
|
||||||
|
`next` and on every pull request against either.
|
||||||
|
|
||||||
It passes a fresh `--build-arg CHECK_EPOCH` to each build, unique per
|
It passes a fresh `--build-arg CHECK_EPOCH` to each build, unique per
|
||||||
invocation, which both files declare immediately above their check
|
invocation, which both files declare immediately above their check
|
||||||
|
|||||||
@@ -25,6 +25,12 @@ release" is exactly the contradiction
|
|||||||
|
|
||||||
# Completed Steps
|
# Completed Steps
|
||||||
|
|
||||||
|
- 2026-09-21: Made `.gitea/workflows/check.yml` run on pushes to `main`
|
||||||
|
and `next` and on pull requests against either, so unit PRs (whose
|
||||||
|
base is `next`) and `next` itself get a CI run instead of relying on a
|
||||||
|
local `make check`
|
||||||
|
([issue #122](https://git.eeqj.de/sneak/vaultik/issues/122)).
|
||||||
|
|
||||||
- 2026-08-10: Moved every lint run into its own container, as a build
|
- 2026-08-10: Moved every lint run into its own container, as a build
|
||||||
step ([issue #113](https://git.eeqj.de/sneak/vaultik/issues/113)).
|
step ([issue #113](https://git.eeqj.de/sneak/vaultik/issues/113)).
|
||||||
New root `Dockerfile.lint`, built by `script/lint`, runs
|
New root `Dockerfile.lint`, built by `script/lint`, runs
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ specifying a path using --config or by setting VAULTIK_CONFIG to a path.`,
|
|||||||
}
|
}
|
||||||
|
|
||||||
cmd.Flags().BoolVar(&opts.Cron, "cron", false,
|
cmd.Flags().BoolVar(&opts.Cron, "cron", false,
|
||||||
"Run in cron mode (silent unless error)")
|
"Run in cron mode (silent unless warning or error)")
|
||||||
cmd.Flags().BoolVar(&opts.Prune, "prune", false,
|
cmd.Flags().BoolVar(&opts.Prune, "prune", false,
|
||||||
"After backup, drop older snapshots of the same name and remove "+
|
"After backup, drop older snapshots of the same name and remove "+
|
||||||
"orphaned blobs")
|
"orphaned blobs")
|
||||||
|
|||||||
Reference in New Issue
Block a user