diff --git a/.github/workflows/api-worker-post-deployment-smoke.yml b/.github/workflows/api-worker-post-deployment-smoke.yml index 64a03a0..771b28f 100644 --- a/.github/workflows/api-worker-post-deployment-smoke.yml +++ b/.github/workflows/api-worker-post-deployment-smoke.yml @@ -55,14 +55,14 @@ jobs: manifest="$(mktemp)" trap 'rm -f "$manifest"' EXIT curl --fail --silent --show-error --location \ - https://raw.githubusercontent.com/pcvantol/djconnect/main/docs/release/PLATFORM_3_3_CURRENT_MAIN_MANIFEST_PROPOSAL.json \ + https://raw.githubusercontent.com/pcvantol/djconnect/main/docs/release/PLATFORM_4_0_RC2_API_OPERATIONAL_MANIFEST.json \ --output "$manifest" test "$(jq -r '.status' "$manifest")" = APPROVED_DEPLOYMENT_DISPATCH_PENDING test "$(jq -r '.approval.state' "$manifest")" = APPROVED test "$(jq -r '.manifest_id' "$manifest")" = "$MANIFEST_ID" test "$(jq -r '.release_profile' "$manifest")" = "$RELEASE_PROFILE" release_version="$(jq -r --arg sha "$CANDIDATE_SHA" '.repositories[] | select(.repository == "pcvantol/djconnect-api" and .source_sha == $sha) | .version' "$manifest")" - printf '%s' "$release_version" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+$' + printf '%s' "$release_version" | grep -Eq '^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z.-]+)?$' jq -e --arg target "$TARGET" --arg artifact "$ARTIFACT_ID" --arg sha "$ARTIFACT_SHA256" \ '.artifact_bindings[] | select(.target == $target and (.artifact_id | tostring) == $artifact and .artifact_sha256 == $sha)' \ "$manifest" >/dev/null diff --git a/.github/workflows/deploy-api-worker.yml b/.github/workflows/deploy-api-worker.yml index 742d899..44b84a2 100644 --- a/.github/workflows/deploy-api-worker.yml +++ b/.github/workflows/deploy-api-worker.yml @@ -76,7 +76,7 @@ jobs: manifest="$(mktemp)" trap 'rm -f "$manifest"' EXIT curl --fail --silent --show-error --location \ - https://raw.githubusercontent.com/pcvantol/djconnect/main/docs/release/PLATFORM_3_3_CURRENT_MAIN_MANIFEST_PROPOSAL.json \ + https://raw.githubusercontent.com/pcvantol/djconnect/main/docs/release/PLATFORM_4_0_RC2_API_OPERATIONAL_MANIFEST.json \ --output "$manifest" test "$(jq -r '.status' "$manifest")" = APPROVED_DEPLOYMENT_DISPATCH_PENDING test "$(jq -r '.approval.state' "$manifest")" = APPROVED diff --git a/.github/workflows/post-merge-release-evidence.yml b/.github/workflows/post-merge-release-evidence.yml index c9ed153..026b975 100644 --- a/.github/workflows/post-merge-release-evidence.yml +++ b/.github/workflows/post-merge-release-evidence.yml @@ -15,10 +15,11 @@ permissions: jobs: reconcile: if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'main' - uses: pcvantol/djconnect/.github/workflows/post-merge-release-evidence.yml@ebbb35f038a7a3c7d46c12660968bcd50eb67580 + uses: pcvantol/djconnect/.github/workflows/post-merge-release-evidence.yml@946fc839b19dda57230e44a38e170276f3c5eb12 with: - policy_source_ref: ebbb35f038a7a3c7d46c12660968bcd50eb67580 + policy_source_ref: 946fc839b19dda57230e44a38e170276f3c5eb12 required_main_workflow: Validate required_check_contexts: '["Trusted Delivery qualification / Qualify trusted delivery"]' repository_role: active_source coverage_artifact_name: api-cobertura-coverage + durable_evidence_release_tag_prefix: internal-api