metadata: annotations: description: Periodically rebuilds k8s local volume provisioner images to pickup latest OS updates and fixes. prow.k8s.io/context: "" prow.k8s.io/job: ci-local-csi-driver-v0.4-images creationTimestamp: "2025-03-30T03:00:05Z" generation: 7 labels: app: local-csi-driver created-by-prow: "true" prow.k8s.io/build-id: "1906179594268971008" prow.k8s.io/context: "" prow.k8s.io/id: 0c11491d-8495-4865-bdd5-be4391f36dc4 prow.k8s.io/job: ci-local-csi-driver-v0.4-images prow.k8s.io/refs.base_ref: v0.4 prow.k8s.io/refs.org: scylladb prow.k8s.io/refs.repo: local-csi-driver prow.k8s.io/type: periodic name: 0c11491d-8495-4865-bdd5-be4391f36dc4 namespace: prow-workspace resourceVersion: "612829079" uid: f0a2aae3-8d41-4b11-adce-df27a7ca64f2 spec: agent: kubernetes cluster: default decoration_config: gcs_configuration: bucket: gs://scylla-operator-prow path_strategy: explicit gcs_credentials_secret: gcs-credentials github_api_endpoints: - http://ghproxy.prow.svc - https://api.github.com github_app_id: "112385" github_app_private_key_secret: key: cert name: github-token grace_period: 15m0s resources: clonerefs: requests: cpu: 100m initupload: requests: cpu: 100m place_entrypoint: requests: cpu: 100m sidecar: requests: cpu: 100m timeout: 1h0m0s utility_images: clonerefs: us-docker.pkg.dev/k8s-infra-prow/images/clonerefs:v20240802-66b115076 entrypoint: us-docker.pkg.dev/k8s-infra-prow/images/entrypoint:v20240802-66b115076 initupload: us-docker.pkg.dev/k8s-infra-prow/images/initupload:v20240802-66b115076 sidecar: us-docker.pkg.dev/k8s-infra-prow/images/sidecar:v20240802-66b115076 extra_refs: - base_ref: v0.4 org: scylladb path_alias: github.com/scylladb/local-csi-driver repo: local-csi-driver workdir: true job: ci-local-csi-driver-v0.4-images max_concurrency: 1 namespace: prow-workspace pod_spec: containers: - args: - "trap 'touch /tmp/shared/setup.finished' EXIT\n\nGIT_REVISION=\"$( git rev-parse HEAD | tee \"${GIT_REVISION_FILE}\" )\"\nexport GIT_REVISION\n\njob_name=\"$( yq -n 'env(JOB_SPEC) as $job_spec | $job_spec.job' )\"\n\narchitectures=( \"amd64\" \"arm64\" )\nfor arch in \"${architectures[@]}\"; do\n cat <>"${ERR_LOG}"; do sleep 60; done' || ( cat "${ERR_LOG}" && exit 2 ) # Verify architecture. [[ $( buildah inspect --type=image --format='{{ .OCIv1.Architecture }}' "${IMAGE_REF_ARCH}" ) == "${ARCH}" ]] # Verify revision. [[ $( buildah inspect --type=image --format='{{ index .OCIv1.Config.Labels "org.opencontainers.image.revision" }}' "${IMAGE_REF_ARCH}" ) == "${git_revision}" ]] buildah manifest add "${image_ref}" "${IMAGE_REF_ARCH}" done digestfile="$( mktemp )" buildah manifest push --digestfile="${digestfile}" "${image_ref}" echo '' | cat "${digestfile}" - buildah manifest push --digestfile="${digestfile}" "${image_ref}" "docker://${image_ref}-$( date '+%Y-%m-%d-%H%M%S' )" echo '' | cat "${digestfile}" - REGISTRY_AUTH_FILE="${DOCKERHUB_REGISTRY_AUTH_FILE}" buildah manifest push --all --digestfile="${digestfile}" "${image_ref}" "docker://docker.io/scylladb/${image_name}:${image_tag}" echo '' | cat "${digestfile}" - done command: - /usr/bin/bash - -euExo - pipefail - -O - inherit_errexit - -c env: - name: GIT_REVISION_FILE value: /tmp/shared/git_revision - name: REGISTRY_AUTH_FILE value: /var/run/secrets/quay-ci-creds/auth.json - name: DOCKERHUB_REGISTRY_AUTH_FILE value: /var/run/secrets/dockerhub-ci-creds/auth.json image: quay.io/scylladb/scylla-operator-images:buildah imagePullPolicy: Always name: manifests resources: limits: cpu: "1" requests: cpu: "1" securityContext: privileged: true runAsUser: 1000 volumeMounts: - mountPath: /tmp/shared name: shared-data - mountPath: /usr/lib/containers/storage name: buildah-storage - mountPath: /var/run/secrets/quay-ci-creds name: quay-ci-creds readOnly: true - mountPath: /var/run/secrets/dockerhub-ci-creds name: dockerhub-ci-creds readOnly: true serviceAccountName: prowjob-creator volumes: - emptyDir: {} name: buildah-storage - name: quay-ci-creds secret: items: - key: auth.json path: auth.json secretName: quay-scylladb-prod-publisher-creds - name: dockerhub-ci-creds secret: items: - key: auth.json path: auth.json secretName: dockerhub-scylladb-prod-publisher-creds - emptyDir: {} name: shared-data - name: kube-api-access projected: defaultMode: 400 sources: - serviceAccountToken: path: token - configMap: items: - key: ca.crt path: ca.crt name: kube-root-ca.crt - downwardAPI: items: - fieldRef: apiVersion: v1 fieldPath: metadata.namespace path: namespace prowjob_defaults: tenant_id: GlobalDefaultID report: true type: periodic status: build_id: "1906179594268971008" completionTime: "2025-03-30T03:20:05Z" description: Job succeeded. pendingTime: "2025-03-30T03:00:05Z" pod_name: 0c11491d-8495-4865-bdd5-be4391f36dc4 prev_report_states: gcsk8sreporter: success gcsreporter: success startTime: "2025-03-30T03:00:04Z" state: success url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-local-csi-driver-v0.4-images/1906179594268971008