Commit 138f7e4
authored
chore: deploy-audit cleanup — drop fictional deploy.sh, fix CHANGELOG, add release workflow (#56)
A deploy-readiness audit surfaced four stale/incorrect items in this repo;
this commit removes or repairs each.
Removed
-------
- scripts/deploy.sh — referenced a Dockerfile, a deployments/kubernetes/
manifest, an internal/integration/ test package, and a k6 load-test
script that never existed. tok is a Go library (AGENTS.md, .goreleaser.yml
builds.skip: true); deployment is `go get`.
- /tokd entry in .gitignore — the ./server HTTP daemon never shipped.
Fixed
-----
- CHANGELOG.md:
* 0.1.0 heading moved below [Unreleased] (Keep-a-Changelog ordering).
* Stripped the backwards `compare/v1.1.0...0.1.0` diff link.
* Stopped claiming we re-baselined `.release-please-manifest.json` and
`scripts/install.sh` — neither file exists in this repo.
* "HTTP server mode (tokd)" entry now documents that the daemon did not
ship, matching the existing historical note under [0.29.0].
- .github/workflows/ci.yml: pin gosec to v2.22.4 (was v2.21.4), matching
every other gosec invocation in the workflow + sibling repos.
Added
-----
- .github/workflows/release.yml: trigger goreleaser on `v*` tag pushes.
The existing .goreleaser.yml builds source archives + SHA-256 checksums
+ SPDX SBOM (`builds.skip: true`) but had no workflow to invoke it.
Validation
----------
- go build ./... — clean
- go vet ./... — clean
- gofumpt -l . — clean
- goimports -l . — clean
- golangci-lint run --timeout=5m — 0 issues
- go test ./... -short — all pass
- govulncheck ./... — no vulnerabilities1 parent 68f3357 commit 138f7e4
5 files changed
Lines changed: 58 additions & 322 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 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 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
25 | 27 | | |
26 | | - | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
| |||
0 commit comments