Skip to content

Commit

Permalink
Set a default for the interactive template repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ghickman committed Feb 17, 2023
1 parent ee5a3c0 commit 1bc9bb4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ jobs:
env:
GITHUB_TOKEN_TESTING: ${{ secrets.OPENSAFELY_GITHUB_TESTING_ORG_PAT }}
GITHUB_WRITEABLE_TOKEN:
INTERACTIVE_TEMPLATE_REPO:
run: |
# build docker and run test
just docker-test
Expand Down
1 change: 0 additions & 1 deletion docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ services:
environment:
- GITHUB_TOKEN=
- GITHUB_WRITEABLE_TOKEN=
- INTERACTIVE_TEMPLATE_REPO=
- SECRET_KEY=12345
- SOCIAL_AUTH_GITHUB_KEY=test
- SOCIAL_AUTH_GITHUB_SECRET=test
Expand Down
5 changes: 4 additions & 1 deletion jobserver/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,10 @@
GITHUB_WRITEABLE_TOKEN = env.str("GITHUB_WRITEABLE_TOKEN", default="")

# Interactive Analyses Templates Repo
INTERACTIVE_TEMPLATE_REPO = env.str("INTERACTIVE_TEMPLATE_REPO", default="")
INTERACTIVE_TEMPLATE_REPO = env.str(
"INTERACTIVE_TEMPLATE_REPO",
default="https://github.com/opensafely-core/interactive-templates",
)

# Releases storage location.
# Note: we deliberately don't use MEDIA_ROOT/MEDIA_URL here, to avoid any
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ addopts = "--disable-network --tb=native --no-migrations --ignore=./release-hatc
DJANGO_SETTINGS_MODULE = "jobserver.settings"
env = [
"GITHUB_TOKEN=empty",
"INTERACTIVE_TEMPLATE_REPO=empty",
"SECRET_KEY=12345",
"SOCIAL_AUTH_GITHUB_KEY=test",
"SOCIAL_AUTH_GITHUB_SECRET=test",
Expand Down

0 comments on commit 1bc9bb4

Please sign in to comment.