diff --git a/.github/workflows/custom_docker_builds.yml b/.github/workflows/custom_docker_builds.yml index 472a7f25b..21d8b9a06 100644 --- a/.github/workflows/custom_docker_builds.yml +++ b/.github/workflows/custom_docker_builds.yml @@ -40,7 +40,7 @@ jobs: - docker-image: ./images/cache-indexer image-tags: ghcr.io/spack/cache-indexer:0.0.3 - docker-image: ./analytics - image-tags: ghcr.io/spack/django:0.3.1 + image-tags: ghcr.io/spack/django:0.3.2 - docker-image: ./images/ci-prune-buildcache image-tags: ghcr.io/spack/ci-prune-buildcache:0.0.3 - docker-image: ./images/protected-publish diff --git a/analytics/analytics/core/job_failure_classifier/__init__.py b/analytics/analytics/core/job_failure_classifier/__init__.py index 4f4425b1c..62dc1981d 100644 --- a/analytics/analytics/core/job_failure_classifier/__init__.py +++ b/analytics/analytics/core/job_failure_classifier/__init__.py @@ -181,7 +181,10 @@ def _collect_pod_status(job_input_data: dict[str, Any], job_trace: str): ) def upload_job_failure_classification(job_input_data_json: str) -> None: gl = gitlab.Gitlab( - settings.GITLAB_ENDPOINT, settings.GITLAB_TOKEN, retry_transient_errors=True + settings.GITLAB_ENDPOINT, + settings.GITLAB_TOKEN, + retry_transient_errors=True, + timeout=15, ) # Read input data and extract params diff --git a/k8s/production/custom/webhook-handler/deployments.yaml b/k8s/production/custom/webhook-handler/deployments.yaml index 295a648c9..6ed75ab99 100644 --- a/k8s/production/custom/webhook-handler/deployments.yaml +++ b/k8s/production/custom/webhook-handler/deployments.yaml @@ -23,7 +23,7 @@ spec: serviceAccountName: webhook-handler containers: - name: webhook-handler - image: ghcr.io/spack/django:0.3.1 + image: ghcr.io/spack/django:0.3.2 imagePullPolicy: Always resources: requests: @@ -146,7 +146,7 @@ spec: serviceAccountName: webhook-handler containers: - name: webhook-handler-worker - image: ghcr.io/spack/django:0.3.1 + image: ghcr.io/spack/django:0.3.2 command: ["celery", "-A", "analytics.celery", "worker", "-l", "info", "-Q", "celery"] imagePullPolicy: Always resources: