Skip to content

Commit

Permalink
Add Job ID label to all build job pods
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnesbitt committed Jul 21, 2023
1 parent 333c50b commit e1fe0fb
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions k8s/production/runners/protected/graviton/2/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/protected/graviton/3/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/protected/x86_64/v2/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/protected/x86_64/v3/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/protected/x86_64/v4/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/public/graviton/2/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/public/graviton/3/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/public/x86_64/v2/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/public/x86_64/v3/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/public/x86_64/v4/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"gitlab/ci_job_size" = "$CI_JOB_SIZE"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
Expand Down
1 change: 1 addition & 0 deletions k8s/production/runners/signing/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ spec:
"gitlab/ci_job_id" = "$CI_JOB_ID"
[runners.kubernetes.pod_labels]
"spack.io/runner" = "true"
"gitlab/ci_job_id" = "$CI_JOB_ID"
"metrics/gitlab_ci_pipeline_id" = "$CI_PIPELINE_ID"
"metrics/gitlab_ci_project_namespace" = "$CI_PROJECT_NAMESPACE"
"metrics/gitlab_ci_project_name" = "$CI_PROJECT_NAME"
Expand Down

0 comments on commit e1fe0fb

Please sign in to comment.