Skip to content

Commit 0cc17e2

Browse files
committed
Merge branch 'main' into cdash-postgres
2 parents fbe7941 + ba5410b commit 0cc17e2

File tree

14 files changed

+42
-73
lines changed

14 files changed

+42
-73
lines changed

.github/workflows/custom_docker_builds.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
matrix:
2626
include:
2727
- docker-image: ./images/gh-gl-sync
28-
image-tags: ghcr.io/spack/ci-bridge:0.0.45
28+
image-tags: ghcr.io/spack/ci-bridge:0.0.46
2929
- docker-image: ./images/ci-key-clear
3030
image-tags: ghcr.io/spack/ci-key-clear:0.0.2
3131
- docker-image: ./images/gitlab-stuckpods
@@ -37,15 +37,15 @@ jobs:
3737
- docker-image: ./images/gitlab-skipped-pipelines
3838
image-tags: ghcr.io/spack/gitlab-skipped-pipelines:0.0.2
3939
- docker-image: ./images/notary
40-
image-tags: ghcr.io/spack/notary:0.0.2
40+
image-tags: ghcr.io/spack/notary:0.0.3
4141
- docker-image: ./images/python-aws-bash
4242
image-tags: ghcr.io/spack/python-aws-bash:0.0.2
4343
- docker-image: ./images/snapshot-release-tags
4444
image-tags: ghcr.io/spack/snapshot-release-tags:0.0.4
4545
- docker-image: ./images/cache-indexer
4646
image-tags: ghcr.io/spack/cache-indexer:0.0.6
4747
- docker-image: ./analytics
48-
image-tags: ghcr.io/spack/django:0.5.1
48+
image-tags: ghcr.io/spack/django:0.5.2
4949
- docker-image: ./images/ci-prune-buildcache
5050
image-tags: ghcr.io/spack/ci-prune-buildcache:0.0.4
5151
- docker-image: ./images/protected-publish
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Generated by Django 5.1.5 on 2025-06-05 20:13
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
dependencies = [
8+
("core", "0006_auto_20250121_2212"),
9+
]
10+
11+
operations = [
12+
migrations.AddField(
13+
model_name="jobfact",
14+
name="gitlab_clear_worktree",
15+
field=models.PositiveIntegerField(default=0),
16+
),
17+
]

analytics/analytics/core/models/facts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ class JobFact(models.Model):
7272
pod_memory_limit = models.PositiveBigIntegerField(null=True, default=None)
7373

7474
# Gitlab section timer data
75+
gitlab_clear_worktree = models.PositiveIntegerField(default=0)
7576
gitlab_after_script = models.PositiveIntegerField(default=0)
7677
gitlab_cleanup_file_variables = models.PositiveIntegerField(default=0)
7778
gitlab_download_artifacts = models.PositiveIntegerField(default=0)

analytics/analytics/job_processor/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def create_job_fact(
103103
# small descriptive data
104104
name=job_input_data["build_name"],
105105
pod_name=pod_info.name or "",
106-
job_url=f"https://gitlab.spack.io/spack/spack/-/jobs/{job_id}",
106+
job_url=f"https://gitlab.spack.io/spack/spack-packages/-/jobs/{job_id}",
107107
# numeric
108108
duration=timedelta(seconds=gljob.duration),
109109
duration_seconds=gljob.duration,
@@ -123,6 +123,7 @@ def create_job_fact(
123123
pod_memory_request=pod_info.memory_request,
124124
pod_memory_limit=pod_info.memory_limit,
125125
# Section timer data
126+
gitlab_clear_worktree=section_timers.get("clear_worktree", 0),
126127
gitlab_after_script=section_timers.get("after_script", 0),
127128
gitlab_cleanup_file_variables=section_timers.get("cleanup_file_variables", 0),
128129
gitlab_download_artifacts=section_timers.get("download_artifacts", 0),

images/gh-gl-sync/SpackCIBridge.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,10 @@ def list_github_prs(self):
252252
print(f"Failed to merge PR {pull.number} ({pull.head.ref}) with latest tested "
253253
f"{self.main_branch} ({self.latest_tested_main_commit}). Skipping")
254254
self.unmergeable_shas.append(pull.head.sha)
255-
_durable_subprocess_run(["git", "merge", "--abort"])
255+
try:
256+
_durable_subprocess_run(["git", "merge", "--abort"])
257+
except subprocess.CalledProcessError:
258+
pass
256259
backlogged = "merge conflicts with {}".format(self.main_branch)
257260
push = False
258261
continue

images/notary/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ MAINTAINER Chris Kotfila <[email protected]>
33

44
RUN apk add --no-cache \
55
bash \
6+
git \
67
gpg \
78
gpg-agent \
89
python3 \

k8s/production/custom/gh-gl-sync-packages/cron-jobs.yaml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
restartPolicy: Never
1717
containers:
1818
- name: sync
19-
image: ghcr.io/spack/ci-bridge:0.0.45
19+
image: ghcr.io/spack/ci-bridge:0.0.46
2020
imagePullPolicy: IfNotPresent
2121
resources:
2222
requests:
@@ -44,11 +44,9 @@ spec:
4444
- "spack/spack-packages"
4545
- "--pr-mirror-bucket"
4646
- "spack-binaries-prs"
47-
# - "--main-branch"
48-
# - "develop"
49-
- "--disable-protected-sync"
50-
- "--disable-tag-sync"
51-
# - "--prereq-check"
52-
# - "all-prechecks"
47+
- "--main-branch"
48+
- "develop"
49+
- "--prereq-check"
50+
- "all-prechecks"
5351
nodeSelector:
5452
spack.io/node-pool: base

k8s/production/custom/gh-gl-sync/cron-jobs.yaml

Lines changed: 0 additions & 52 deletions
This file was deleted.

k8s/production/custom/kokkos-sync/cron-jobs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
restartPolicy: Never
1717
containers:
1818
- name: sync
19-
image: ghcr.io/spack/ci-bridge:0.0.45
19+
image: ghcr.io/spack/ci-bridge:0.0.46
2020
imagePullPolicy: IfNotPresent
2121
resources:
2222
requests:

k8s/production/custom/webhook-handler/deployments.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
serviceAccountName: webhook-handler
2424
containers:
2525
- name: webhook-handler
26-
image: ghcr.io/spack/django:0.5.1
26+
image: ghcr.io/spack/django:0.5.2
2727
imagePullPolicy: Always
2828
resources:
2929
requests:
@@ -146,7 +146,7 @@ spec:
146146
serviceAccountName: webhook-handler
147147
containers:
148148
- name: webhook-handler-worker
149-
image: ghcr.io/spack/django:0.5.1
149+
image: ghcr.io/spack/django:0.5.2
150150
command:
151151
[
152152
"celery",

k8s/production/gitlab/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ spec:
2121
chart:
2222
spec:
2323
chart: gitlab
24-
version: 8.11.2 # [email protected].2
24+
version: 8.11.4 # [email protected].4
2525
sourceRef:
2626
kind: HelmRepository
2727
name: gitlab

k8s/production/runners/signing/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ spec:
180180
medium = "Memory"
181181
182182
# default image
183-
image: "ghcr.io/spack/notary:0.0.1"
183+
image: "ghcr.io/spack/notary:0.0.3"
184184
imagePullPolicy: "always"
185185
tags: "spack,notary,aws,protected"
186186

terraform/modules/spack_gitlab/runner_iam.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ locals {
1919
"project_path:${data.gitlab_project.spack.path_with_namespace}:ref_type:branch:ref:releases/v*",
2020
"project_path:${data.gitlab_project.spack.path_with_namespace}:ref_type:tag:ref:develop-*",
2121
"project_path:${data.gitlab_project.spack.path_with_namespace}:ref_type:tag:ref:v*",
22-
# "project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:branch:ref:develop",
23-
# "project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:branch:ref:releases/v*",
24-
# "project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:tag:ref:develop-*",
25-
# "project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:tag:ref:v*",
22+
"project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:branch:ref:develop",
23+
"project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:branch:ref:releases/v*",
24+
"project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:tag:ref:develop-*",
25+
"project_path:${data.gitlab_project.spack_packages.path_with_namespace}:ref_type:tag:ref:v*",
2626
"project_path:${data.gitlab_project.scott_sidecar.path_with_namespace}:ref_type:branch:ref:develop",
2727
"project_path:${data.gitlab_project.scott_sidecar.path_with_namespace}:ref_type:branch:ref:releases/v*",
2828
"project_path:${data.gitlab_project.scott_sidecar.path_with_namespace}:ref_type:tag:ref:develop-*",

0 commit comments

Comments
 (0)