Skip to content

Commit

Permalink
Merge branch 'main' into refactor/css-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
GabDug committed Sep 30, 2024
2 parents 0a1f706 + 4d64afa commit f1fa742
Show file tree
Hide file tree
Showing 91 changed files with 2,146 additions and 1,702 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ PAGERDUTY_ACCOUNT_EMAIL="admin@mycompany.com"
PAGERDUTY_API_KEY="u+XXXXXXXXXXXXXXXX-X"
PAGERDUTY_URL="https://api.pagerduty.com"

## SSO settings (optional)
## SSO settings

OIDC_OP_DISCOVERY_DOCUMENT_URL=https://oauth.mycompany.local/auth/realms/realm/.well-known/openid-configuration
OIDC_RP_CLIENT_ID=firefighter-incident
Expand All @@ -98,5 +98,6 @@ RAID_JIRA_PROJECT_KEY="T2"
RAID_TOOLBOX_URL=https://toolbox.mycompany.com/login

FF_SLACK_SKIP_CHECKS=true
# Disable SSO redirect for local dev by setting to true. When SSO is disabled, go to /admin/ to login
# Disable SSO redirect for local dev by setting to true but still need a valid URL in OIDC_OP_DISCOVERY_DOCUMENT_URL.
# When SSO is disabled, go to /admin/ to login
FF_DEBUG_NO_SSO_REDIRECT=false
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Setup PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
id: setup-pdm
with:
python-version: ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ jobs:
images: ghcr.io/ManoManoTech/firefighter-incident

- name: "Build and push Docker image"
uses: docker/build-push-action@v5
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
Expand Down
8 changes: 7 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: fix-byte-order-marker
# Versions must be kept in sync with lockfile
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: 'v0.4.10'
rev: 'v0.6.8'
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand All @@ -35,3 +35,9 @@ repos:
- id: djhtml
- id: djcss
- id: djjs

- repo: https://github.com/adamchainz/djade-pre-commit
rev: "1.1.1"
hooks:
- id: djade
args: [--target-version, "4.2"]
2 changes: 0 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# This configuration file is for the **development** setup.
# It will launch Postgres and Redis containers, not the app itself.

version: "3.1"

services:
db:
container_name: ff-db
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/0002-setup-slack-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Check the `.env`.

Read the settings page.

Once Slack is setup, you can remove FF_SKIP_SLACK_CHEKS=true from your `.env` file.
Once Slack is setup, you can remove FF_SLACK_SKIP_CHECKS=true from your `.env` file.

Using the information from the previous part, check your configuration.

Expand Down
Loading

0 comments on commit f1fa742

Please sign in to comment.