Skip to content

Commit

Permalink
Merge branch 'main' into 170-2-adjust-event-only-to-fire-when-due
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-codecov authored Sep 3, 2024
2 parents 6b1afba + 35c1143 commit a626168
Show file tree
Hide file tree
Showing 82 changed files with 1,162 additions and 1,449 deletions.
1 change: 1 addition & 0 deletions database/models/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class Repository(CodecovBaseModel):
hookid = Column(types.Text)
webhook_secret = Column(types.Text)
activated = Column(types.Boolean, default=False)
bundle_analysis_enabled = Column(types.Boolean, default=False)

# DEPRECATED - prefer GithubAppInstallation.is_repo_covered_by_integration
using_integration = Column(types.Boolean)
Expand Down
1 change: 1 addition & 0 deletions database/tests/factories/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class Meta:
updatestamp = factory.LazyAttribute(lambda o: datetime.now())
languages = []
languages_last_updated = factory.LazyAttribute(lambda o: datetime.now())
bundle_analysis_enabled = False


class BranchFactory(Factory):
Expand Down
2 changes: 1 addition & 1 deletion django_scaffold/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
]

BUNDLE_ANALYSIS_NOTIFY_MESSAGE_TEMPLATES = (
BASE_DIR / "services" / "bundle_analysis" / "new_notify" / "messages" / "templates"
BASE_DIR / "services" / "bundle_analysis" / "notify" / "messages" / "templates"
)
TEMPLATES = [
{
Expand Down
2 changes: 1 addition & 1 deletion django_scaffold/tests_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
BASE_DIR = Path(__file__).resolve().parent.parent

BUNDLE_ANALYSIS_NOTIFY_MESSAGE_TEMPLATES = (
BASE_DIR / "services" / "bundle_analysis" / "new_notify" / "messages" / "templates"
BASE_DIR / "services" / "bundle_analysis" / "notify" / "messages" / "templates"
)
TEMPLATES = [
{
Expand Down
293 changes: 0 additions & 293 deletions services/bundle_analysis/notify.py

This file was deleted.

Loading

0 comments on commit a626168

Please sign in to comment.