Skip to content

Commit cddae13

Browse files
mstackhouseclaude
andcommitted
Remove sensitive files from tracking and sanitize examples
- Remove rsconnect/, plumber.R, notes.md from git tracking (contain internal server URLs, Azure Container Registry paths, IP addresses) - Add them to .gitignore to prevent re-addition - Replace real registry URL and username path in k8s_job_submission vignette - Add *.Rcheck/ and *.tar.gz to .gitignore Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent d426486 commit cddae13

6 files changed

Lines changed: 8 additions & 200 deletions

File tree

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
inst/doc
66
docs
77
whoami
8+
rsconnect/
9+
plumber.R
10+
notes.md
11+
*.Rcheck/
12+
*.tar.gz

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,6 @@ The package interfaces with external tools via `system2()`:
109109
## Notes
110110

111111
- All test external calls are mocked via `mockery` - no real kubectl/SLURM needed to run tests
112-
- `rsconnect/` directory contains deployment metadata for connect-dev.atorusresearch.com (not needed for package distribution)
112+
- `rsconnect/` directory (gitignored) contains local Posit Connect deployment metadata
113113
- Root-level `plumber.R` is a production deployment file (excluded via .Rbuildignore); `inst/plumber.R` is the distributable template
114114
- `test_programs/` contains a simple test script used during development

notes.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

plumber.R

Lines changed: 0 additions & 153 deletions
This file was deleted.

rsconnect/connect-dev.atorusresearch.com/mike.stackhouse/abba_api.dcf

Lines changed: 0 additions & 13 deletions
This file was deleted.

vignettes/k8s_job_submission.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ Job submission is handled by the function `abba_submit_k8s_job_local()`. This is
3131

3232
```{r submit_job, eval=FALSE}
3333
abba_submit_k8s_job_local(
34-
"/home/mike.stackhouse/repos/abba/test_programs/test_program.R",
35-
container = "atoruscontainers.azurecr.io/openval_4.2.1_focal:2023.09.0.02"
34+
"/home/user/programs/my_program.R",
35+
container = "registry.example.com/my_image:latest"
3636
)
3737
# job.batch/test-program-fbc3131d-a850-4081-8224-c06ef32821da created
3838
# $job_id

0 commit comments

Comments
 (0)