metadata: annotations: prow.k8s.io/context: post-scylla-operator-master-images prow.k8s.io/job: post-scylla-operator-master-images creationTimestamp: "2025-03-31T12:08:20Z" generation: 10 labels: created-by-prow: "true" event-GUID: d5debdba-0e28-11f0-8468-2b9c75ea1377 prow.k8s.io/build-id: "1906679957082345472" prow.k8s.io/context: post-scylla-operator-master-images prow.k8s.io/id: f908f5a8-51f9-4318-a77b-c63bba07c9dd prow.k8s.io/job: post-scylla-operator-master-images prow.k8s.io/refs.base_ref: master prow.k8s.io/refs.org: scylladb prow.k8s.io/refs.repo: scylla-operator prow.k8s.io/type: postsubmit name: f908f5a8-51f9-4318-a77b-c63bba07c9dd namespace: prow-workspace resourceVersion: "614238196" uid: 1490e919-b8a1-4cb4-9cc4-6a5b17b45353 spec: agent: kubernetes cluster: default context: post-scylla-operator-master-images 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 job: post-scylla-operator-master-images max_concurrency: 1 namespace: prow-workspace pod_spec: containers: - args: - "image_tag=\"latest\"\nrepo_ref=\"quay.io/scylladb/scylla-operator\"\n\ngit_revision=\"$( git rev-parse HEAD )\"\n\nimage_ref=\"${repo_ref}:${image_tag}\"\nbuildah manifest create --annotation=\"org.opencontainers.image.revision=${git_revision}\" \"${image_ref}\"\n\narchitectures=( \"amd64\" \"arm64\" )\nfor ARCH in \"${architectures[@]}\"; do\n export ARCH\n\n IMAGE_REF_ARCH=\"${image_ref}-${git_revision}-${ARCH}\"\n \ export IMAGE_REF_ARCH\n\n ERR_LOG=\"$( mktemp )\"\n export ERR_LOG\n timeout 45m bash -xc 'until buildah pull --arch=\"${ARCH}\" \"${IMAGE_REF_ARCH}\" 2>>\"${ERR_LOG}\"; do sleep 60; done' || ( cat \"${ERR_LOG}\" && exit 2 )\n\n \ # Verify architecture.\n [[ $( buildah inspect --type=image --format='{{ .OCIv1.Architecture }}' \"${IMAGE_REF_ARCH}\" ) == \"${ARCH}\" ]]\n\n # Verify revision.\n [[ $( buildah inspect --type=image --format='{{ index .OCIv1.Config.Labels \"org.opencontainers.image.revision\" }}' \"${IMAGE_REF_ARCH}\" ) == \"${git_revision}\" ]]\n\n buildah manifest add \"${image_ref}\" \"${IMAGE_REF_ARCH}\"\ndone\n\ndigestfile=\"$( mktemp )\" \nbuildah manifest push --digestfile=\"${digestfile}\" \"${image_ref}\"\necho '' | cat \"${digestfile}\" -\nbuildah manifest push --digestfile=\"${digestfile}\" \"${image_ref}\" \"docker://${image_ref}-$( date '+%Y-%m-%d-%H%M%S' )\"\necho '' | cat \"${digestfile}\" -\nREGISTRY_AUTH_FILE=\"${DOCKERHUB_REGISTRY_AUTH_FILE}\" buildah manifest push --all --digestfile=\"${digestfile}\" \"${image_ref}\" \"docker://docker.io/scylladb/scylla-operator:${image_tag}\"\necho '' | cat \"${digestfile}\" -\n" command: - /usr/bin/bash - -euExo - pipefail - -O - inherit_errexit - -c env: - 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: images resources: limits: cpu: "1" requests: cpu: "1" securityContext: privileged: true runAsUser: 1000 volumeMounts: - 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 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 prowjob_defaults: tenant_id: GlobalDefaultID refs: base_link: https://github.com/scylladb/scylla-operator/compare/95ae33267de0...65701801499f base_ref: master base_sha: 65701801499fe94eb5556d9b35aaa2516250d2d4 org: scylladb path_alias: github.com/scylladb/scylla-operator repo: scylla-operator repo_link: https://github.com/scylladb/scylla-operator report: true type: postsubmit status: build_id: "1906679957082345472" completionTime: "2025-03-31T12:15:27Z" description: Job succeeded. pendingTime: "2025-03-31T12:08:20Z" pod_name: f908f5a8-51f9-4318-a77b-c63bba07c9dd prev_report_states: gcsk8sreporter: success gcsreporter: success github-reporter: success startTime: "2025-03-31T12:08:20Z" state: success url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/post-scylla-operator-master-images/1906679957082345472