Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions tests/unit/oidc/__init__.py

This file was deleted.

111 changes: 0 additions & 111 deletions tests/unit/oidc/test_tasks.py

This file was deleted.

6 changes: 0 additions & 6 deletions warehouse/oidc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from celery.schedules import crontab

from warehouse.oidc.interfaces import IOIDCPublisherService
from warehouse.oidc.services import OIDCPublisherServiceFactory
from warehouse.oidc.tasks import compute_oidc_metrics
from warehouse.oidc.utils import GITHUB_OIDC_ISSUER_URL, GOOGLE_OIDC_ISSUER_URL


Expand Down Expand Up @@ -48,6 +45,3 @@ def includeme(config):

config.add_route("oidc.audience", "/_/oidc/audience", domain=auth)
config.add_route("oidc.github.mint_token", "/_/oidc/github/mint-token", domain=auth)

# Compute OIDC metrics periodically
config.add_periodic_task(crontab(minute=0, hour=3), compute_oidc_metrics)
59 changes: 0 additions & 59 deletions warehouse/oidc/tasks.py

This file was deleted.