Skip to content

Commit

Permalink
expose fastly purge configuration for docsbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Oct 9, 2024
1 parent 3152de3 commit 66af2e3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pillar/dev/secrets/docs.sls
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
docs:
sentry:
dsn: https://deadbeefdeadbeefdeadbeefdeadbeef@sentry.io/6666666
fastly:
service_id: deadbeefdeadbeefdead
token: deadbeefdeadbeefdeadbeefdeadbeef
12 changes: 12 additions & 0 deletions salt/docs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,18 @@ docsbuild-sentry:
- name: SENTRY_DSN
- value: {{ pillar.get('docs', {}).get('sentry', {}).get('dsn', '') }}

docsbuild-fastly-service-id:
cron.env_present:
- user: docsbuild
- name: FASTLY_SERVICE_ID
- value: {{ pillar.get('docs', {}).get('fastly', {}).get('service_id', '') }}

docsbuild-fastly-token:
cron.env_present:
- user: docsbuild
- name: FASTLY_TOKEN
- value: {{ pillar.get('docs', {}).get('fastly', {}).get('token', '') }}

docsbuild-no-html:
cron.present:
- identifier: docsbuild-no-html
Expand Down

0 comments on commit 66af2e3

Please sign in to comment.