metadata: annotations: description: Periodically rebuilds Scylla Operator images to pickup latest OS updates and fixes. prow.k8s.io/context: "" prow.k8s.io/job: ci-scylla-operator-v1.16-images creationTimestamp: "2025-03-30T03:00:05Z" generation: 7 labels: app: scylla-operator created-by-prow: "true" prow.k8s.io/build-id: "1906179596059938816" prow.k8s.io/context: "" prow.k8s.io/id: 5c821cfa-06d1-4dc2-be54-b97e9d47857a prow.k8s.io/job: ci-scylla-operator-v1.16-images prow.k8s.io/refs.base_ref: v1.16 prow.k8s.io/refs.org: scylladb prow.k8s.io/refs.repo: scylla-operator prow.k8s.io/type: periodic name: 5c821cfa-06d1-4dc2-be54-b97e9d47857a namespace: prow-workspace resourceVersion: "612830434" uid: ad598190-f820-47d2-ade6-df53b14f3ba2 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: v1.16 org: scylladb path_alias: github.com/scylladb/scylla-operator repo: scylla-operator workdir: true job: ci-scylla-operator-v1.16-images max_concurrency: 1 namespace: prow-workspace pod_spec: containers: - args: - | trap 'touch /tmp/shared/setup.finished' EXIT GIT_REVISION="$( git rev-parse HEAD | tee "${GIT_REVISION_FILE}" )" export GIT_REVISION job_name="$( yq -n 'env(JOB_SPEC) as $job_spec | $job_spec.job' )" architectures=( "amd64" "arm64" ) for arch in "${architectures[@]}"; do 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/scylla-operator:${image_tag}" echo '' | cat "${digestfile}" - 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: "1906179596059938816" completionTime: "2025-03-30T03:21:48Z" description: Job succeeded. pendingTime: "2025-03-30T03:00:05Z" pod_name: 5c821cfa-06d1-4dc2-be54-b97e9d47857a prev_report_states: gcsk8sreporter: success gcsreporter: success startTime: "2025-03-30T03:00:05Z" state: success url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-scylla-operator-v1.16-images/1906179596059938816