Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/validate-sentry-options.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Validate sentry-options schema

on:
pull_request:
paths:
- 'sentry-options/schemas/**'

jobs:
validate:
uses: getsentry/sentry-options/.github/workflows/validate-schema.yml@f3f76cb9d1ee1ea5202cb986ce8a943a9e6212d9
secrets: inherit
with:
schemas-path: sentry-options/schemas
Comment thread Fixed
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ tokio-util = "0.7.15"
tracing = "0.1.41"
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "json"] }
uuid = { version = "1.17.0", features = ["v4"] }
sentry-options = "1.0.0"
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ FROM gcr.io/distroless/cc-debian12:nonroot

ARG BINARY=objectstore
COPY ${BINARY} /bin/entrypoint
COPY sentry-options/schemas /etc/sentry-options/schemas

ENV SENTRY_OPTIONS_DIR=/etc/sentry-options
Comment thread
hubertdeng123 marked this conversation as resolved.
Resolved

# Ensure correct permissions on the data volume
COPY --from=gcr.io/distroless/cc-debian12:nonroot --chown=nonroot:nonroot /home/nonroot /data
Expand Down
5 changes: 5 additions & 0 deletions sentry-options/schemas/objectstore/schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": "1.0",
"type": "object",
"properties": {}
}
Loading