Commit graph

8 commits

Author SHA1 Message Date
Adam Moussa
2c45931741
fix(infra): adopt existing data volume + cache AMI to stop replacement churn (#5)
Some checks are pending
Deploy / deploy (push) Waiting to run
- Import vol-04d951cccacc435b5 (the real 500GiB data volume, orphaned by
  the 2026-06-05 redeploy) via Volume.fromVolumeAttributes — unmanaged,
  so CloudFormation can attach but never create/replace/delete it.
- Remove the inline /dev/xvdf blockDevice (this is what created the
  empty volume that shadowed the data).
- cachedInContext: true + committed cdk.context.json so AMI updates are
  deliberate (uncached lookup replaced the instance on every new AL2023
  release).
- Includes the previously-deployed-but-uncommitted 2026-05-27 work:
  standalone volume pattern, volume-wait userdata, SFTP access.

Deploy replaces the instance once; userdata's blkid guard mounts the
existing filesystem without formatting.
2026-06-05 13:40:05 -04:00
Adam Moussa
dac9f4ed2b
fix(deps): bump aws-cdk-lib pin to 2.257.0 (#4) 2026-06-05 13:07:29 -04:00
Adam Moussa
56be4eea0b
Add dependency-review caller workflow (#3)
* Add dependency-review caller workflow

Add a pull_request-triggered caller that invokes the org-level
callable-dependency-review workflow to scan dependency changes and
fail on high-severity advisories.

* chore: retrigger checks

* chore: retrigger dep review (post-fix)
2026-06-05 12:27:07 -04:00
Adam Moussa
d8b32264c4 Add .env to gitignore 2026-05-14 17:48:10 -04:00
Adam Moussa
00882667e5 Pin aws-cdk-lib to 2.253.1 to fix npm ci
aws-cdk-lib 2.254.0 has a bundled dependency bug where npm ci reports
jsonschema@1.4.1 as missing from the lock file. Pinning to 2.253.1
which is proven working in CI (same version as forgejo).
2026-05-14 15:47:21 -04:00
Adam Moussa
939ff7122c Set node-version to 24 in CI/CD workflows
Lock file generated with npm 11 (Node 24) is incompatible with npm 10
(Node 22) in CI — npm ci fails on missing transitive dependencies.
2026-05-14 15:41:54 -04:00
Adam Moussa
cced82c0d7 Remove unused FB_HASH variable from user data
FileBrowser's users add command hashes internally.
2026-05-14 15:35:51 -04:00
Adam Moussa
427242499d Initial file-share stack
CDK stack deploying a t4g.small EC2 instance with Samba and FileBrowser
for personal file storage over the site-to-site VPN. Includes 500 GiB
gp3 data volume with daily DLM snapshots.
2026-05-14 15:23:38 -04:00