Skip to content

Commit

Permalink
Add missing ui patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Sep 26, 2023
1 parent ea4752e commit 6c3f1a9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions haupt/haupt/apis/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
r"^{}/runs.*/?".format(projects_urls),
r"^{}/jobs.*/?".format(projects_urls),
r"^{}/services.*/?".format(projects_urls),
r"^{}/matrices.*/?".format(projects_urls),
r"^{}/dags.*/?".format(projects_urls),
r"^{}/schedules.*/?".format(projects_urls),
r"^{}/artifacts.*/?".format(projects_urls),
r"^{}/components.*/?".format(projects_urls),
r"^{}/models.*/?".format(projects_urls),
r"^{}/cli.*/?".format(projects_urls),
r"^{}/settings/?".format(projects_urls),
r"^{}/new.*/?".format(projects_urls),
Expand Down
4 changes: 3 additions & 1 deletion haupt/haupt/common/settings/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ def set_core(context, config: PlatformConfig, use_db: bool = True):
context["K8S_NAMESPACE"] = config.namespace

context["FILE_UPLOAD_PERMISSIONS"] = 0o644
context["MIN_ARTIFACTS_DELETION_TIMEDELTA"] = config.min_artifacts_deletion_timedelta
context[
"MIN_ARTIFACTS_DELETION_TIMEDELTA"
] = config.min_artifacts_deletion_timedelta
context["TTL_HEARTBEAT"] = config.ttl_heartbeat

context["WSGI_APPLICATION"] = "{}.wsgi.application".format(config.config_module)
Expand Down

0 comments on commit 6c3f1a9

Please sign in to comment.