Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/scripts/workflow-map.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,12 @@ def render(rows, sources, language):
out.append("</g>")
y += row_height
notes = [
"Build-only Configurator Release artifacts feed Prod. Dev-skip artifacts cannot be promoted to Prod.",
"One qualified/skip build feeds Dev and Prod; no rebuild. Historical Dev-only artifacts remain excluded.",
"Shared infrastructure workflows choose lzc-dev / lzc-prod; no separate copies. * = source path filter.",
"Environment reviewers and branch rules are configured in GitHub. Job conditions still apply; not every cell runs.",
"Phase blocks summarize jobs, not a complete dependency DAG. Tests/packaging and staging can run in parallel.",
] if language == "en" else [
"Build-only-Artefakte aus Configurator Release gehen an Prod. Dev-skip-Artefakte sind dafür nicht zulässig.",
"Ein Build mit qualified/skip versorgt Dev und Prod. Alte Dev-only-Artefakte bleiben ausgeschlossen.",
"Gemeinsame Infrastruktur-Workflows wählen lzc-dev / lzc-prod; keine Kopien. * = Quellpfadfilter.",
"Reviewer und Branchregeln werden in GitHub gesetzt. Job-Bedingungen gelten weiter; nicht jede Zelle läuft.",
"Phasenblöcke fassen Jobs zusammen, kein vollständiger Abhängigkeitsgraph. Tests und Staging laufen teils parallel.",
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/configurator-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ on:
version:
description: Stable GitHub Release tag
type: string
default: v2.0.0
default: v2.1.0
required: true
release_run_id:
description: Successful build-only run; required when publishing a new release
description: Successful Configurator Release run (with or without Dev deployment); reuse its immutable build
type: string
required: false
release_mode:
description: Assistant qualification policy recorded in the published manifest
type: choice
default: accepted-assistant-limitations
options: [qualified, accepted-assistant-limitations]
default: skip
options: [skip, qualified]
release:
types: [published]

Expand Down
19 changes: 8 additions & 11 deletions .github/workflows/configurator-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ on:
workflow_dispatch:
inputs:
release_mode:
description: Qualification policy; accepted limitations records issue 225 for a manually approved production release
description: Assistant live qualification; skip records an unqualified build usable in Dev and Prod
type: choice
default: qualified
options: ['qualified', 'dev-skip-assistant-qualification', 'accepted-assistant-limitations']
default: skip
options: ['skip', 'qualified']
build_only:
description: Build and publish the immutable release and buildpack tag without deploying
type: boolean
Expand Down Expand Up @@ -44,9 +44,9 @@ jobs:
secrets: inherit

build:
name: ${{ inputs.release_mode == 'dev-skip-assistant-qualification' && 'build-dev-skip-assistant-qualification' || inputs.release_mode == 'accepted-assistant-limitations' && 'build-accepted-assistant-limitations' || 'build' }}
name: ${{ inputs.release_mode == 'skip' && 'build-skip' || 'build' }}
needs: assistant
if: always() && !cancelled() && ((inputs.release_mode == 'accepted-assistant-limitations' && inputs.build_only && github.ref == 'refs/heads/main' && needs.assistant.result == 'skipped') || (inputs.release_mode == 'dev-skip-assistant-qualification' && github.ref == 'refs/heads/main' && needs.assistant.result == 'skipped') || (inputs.release_mode != 'dev-skip-assistant-qualification' && needs.assistant.result == 'success')) && vars.LZC_RELEASE_CI_ENABLED == 'true' && github.event_name == 'workflow_dispatch' && github.run_attempt == 1 && !inputs.release_run_id && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/landing-zone-configurator')
if: always() && !cancelled() && ((inputs.release_mode == 'skip' && github.ref == 'refs/heads/main' && needs.assistant.result == 'skipped') || (inputs.release_mode == 'qualified' && needs.assistant.result == 'success')) && vars.LZC_RELEASE_CI_ENABLED == 'true' && github.event_name == 'workflow_dispatch' && github.run_attempt == 1 && !inputs.release_run_id && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/landing-zone-configurator')
runs-on: ubuntu-latest
timeout-minutes: 25
services:
Expand Down Expand Up @@ -144,11 +144,8 @@ jobs:
run: |
node ../infra/ci/release-artifact.mjs create ../.local
echo "Release mode: $LZC_RELEASE_MODE" >> "$GITHUB_STEP_SUMMARY"
if [ "$LZC_RELEASE_MODE" = dev-skip-assistant-qualification ]; then
echo 'Dev only; live Assistant qualification NOT performed; runtime Assistant setting unchanged. Promotion is prohibited.' >> "$GITHUB_STEP_SUMMARY"
fi
if [ "$LZC_RELEASE_MODE" = accepted-assistant-limitations ]; then
echo 'Assistant is NOT fully qualified. Known intermittent HTTP 400 failures: issue #225. Production requires published GitHub Release and manual approval.' >> "$GITHUB_STEP_SUMMARY"
if [ "$LZC_RELEASE_MODE" = skip ]; then
echo 'Assistant live qualification skipped; assistantQualified=false. This immutable build can be deployed to Dev and published for manually approved Prod deployment. Known limitations: issue #225.' >> "$GITHUB_STEP_SUMMARY"
fi
tar -czf ../.local/configurator-release.tar.gz -C ../.local release.tar.gz release.sha256 runner.tar.gz runner.sha256 release-manifest.json
(cd ../.local && sha256sum configurator-release.tar.gz > configurator-release.sha256)
Expand Down Expand Up @@ -207,7 +204,7 @@ jobs:

deploy:
needs: [build, publish_buildpack]
if: always() && !cancelled() && github.event_name == 'workflow_dispatch' && !inputs.build_only && inputs.release_mode != 'accepted-assistant-limitations' && vars.LZC_RELEASE_CI_ENABLED == 'true' && github.run_attempt == 1 && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/landing-zone-configurator') && ((needs.build.result == 'success' && needs.publish_buildpack.result == 'success') || (needs.build.result == 'skipped' && needs.publish_buildpack.result == 'skipped' && inputs.release_run_id != ''))
if: always() && !cancelled() && github.event_name == 'workflow_dispatch' && !inputs.build_only && vars.LZC_RELEASE_CI_ENABLED == 'true' && github.run_attempt == 1 && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/feature/landing-zone-configurator') && ((needs.build.result == 'success' && needs.publish_buildpack.result == 'success') || (needs.build.result == 'skipped' && needs.publish_buildpack.result == 'skipped' && inputs.release_run_id != ''))
permissions:
actions: read
contents: read
Expand Down
4 changes: 2 additions & 2 deletions docs/diagrams/generated/workflow-phases.de.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions docs/diagrams/generated/workflow-phases.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading