Review a promotion workflow and its release record.
Instruction: Identify the unsupported promotion, correct the workflow step and state the evidence required before production exposure.
A fictional team accepts external pull requests, which run isolated tests without deployment credentials. The following is a job excerpt from its trusted GitHub Actions deployment workflow. Checkout, registry authentication and runner setup are omitted. The reviewed deploy.sh ENV IMAGE_REF wrapper accepts a digest or tag and does not verify staging approval itself.
jobs:
production:
runs-on: ubuntu-latest
environment: production
steps:
- name: Build production image
run: docker build -t registry.example/orders:prod .
- name: Push production image
run: docker push registry.example/orders:prod
- name: Deploy
run: ./deploy.sh production registry.example/orders:prod| Release evidence | Value |
|---|---|
| Staging-tested commit | c7e21f0 (display abbreviation) |
| Staging-approved image | registry.example/orders@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| Staging configuration | cfg-staging-17 |
| New production push, same commit | registry.example/orders@sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |
| Reviewed production configuration | cfg-prod-9 |
| Known compatible recovery artifact/configuration | Recorded and available |
These are full-length fictional digests. The same commit can resolve different build inputs. Explain whether the supplied production image is covered by the staging evidence.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
Staging tested digest A, but promotion rebuilt digest B. The same commit does not establish equivalent bytes, so the supplied evidence does not approve B...
Related Questions
-
easy
-
easy
-
easy
-
easy
-
easy
-
easy