Repository navigation
Seed AO CI/CD Pipeline with Gitea + OpenFlake shared services - #393
Merged
Merged
Conversation
Wire cicd-pipeline into AO Install with soft-warn deps, extend Provision Gitea for Actions/runner/inventory-service + credential write-back, and publish OpenFlake credentials so Shared Services labs can demo the pipeline without wiping the forge. Co-authored-by: Cursor <cursoragent@cursor.com>
Start OpenFlake on OpenShift in parallel with AWS VPC/keypair so one shared-services run also provisions ITSM and upserts the OpenFlake credential for AO CI/CD. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Move AWS inventory sync before the human-facing credential publish result so Controllers job output ends on that summary. Co-authored-by: Cursor <cursoragent@cursor.com>
IPvSean
force-pushed
the
feature/ao-cicd-pipeline-seed
branch
from
November 4, 2026 14:35
9b42918 to
b24b53f
Compare
Quote the on key and add a document start so yaml[truthy] and yaml[document-start] pass on the seeded inventory-service CI file. Co-authored-by: Cursor <cursoragent@cursor.com>
Use /admin/runners/registration-token, recreate the Gitea container so Actions env applies on re-runs, and surface HTTP status when the token lookup fails. Co-authored-by: Cursor <cursoragent@cursor.com>
Pin Actions in app.ini, pass GITEA_RUNNER_REGISTRATION_TOKEN into Gitea and act_runner, and skip the admin registration-token endpoint that was returning 403 even after container recreate. Co-authored-by: Cursor <cursoragent@cursor.com>
During AO workflow sync, inject input_schema defaults for the lightwell-ci-cd trigger, building ci_build_url from the Controller Gitea host/port/owner/repo so mock runs work without a prior webhook. Co-authored-by: Cursor <cursoragent@cursor.com>
Vendor app.py, unit tests, and the CI workflow so Provision Gitea stands up the vulnerable aiohttp 3.9.0 repo Reset Demo / Simulate Lightwell PR expect for repeatable CI/CD Pipeline demos. Co-authored-by: Cursor <cursoragent@cursor.com>
Override upstream simulate default (3.9.2.rhlw) via JT extra_vars so the demo only adds the backport suffix to the same 3.9.0 baseline. Co-authored-by: Cursor <cursoragent@cursor.com>
Shared Services / Provision Gitea now install inventory-service dev and prod runtimes on aws_gitea automatically; add a standalone JT for refreshing apps without re-provisioning the forge. Co-authored-by: Cursor <cursoragent@cursor.com>
When the Gitea credential is attached and provisioned, seed writes the lightwell-ci-cd webhook URL into inventory-service Actions secrets. Co-authored-by: Cursor <cursoragent@cursor.com>
Long AAP JT provisioning can outlive the initial JWT, which caused a 401 when listing workflows after Install. Co-authored-by: Cursor <cursoragent@cursor.com>
Webhook triggers require authorized_service_account_ids before publish; seed creates the APD CI/CD account, injects it, publishes the workflow, and writes Gitea OAuth Actions secrets for authenticated webhook calls. Co-authored-by: Cursor <cursoragent@cursor.com>
Students typically read Install output, not the nested Shared Services / OpenFlake job where the chart-generated password was previously shown. Co-authored-by: Cursor <cursoragent@cursor.com>
The password was easy to miss above the credential-publish result that students scroll to at the bottom of the job. Co-authored-by: Cursor <cursoragent@cursor.com>
Those steps call OpenFlake for change work notes; without the credential inject, openflake_url stays empty and the uri module fails. Co-authored-by: Cursor <cursoragent@cursor.com>
Defaults to CHG0034907 so presenters can clear OpenFlake notes and reopen the ticket before re-running the AO pipeline. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Same UX issue as OpenFlake: credential publish was the last thing students saw when scrolling to the bottom of the job. Co-authored-by: Cursor <cursoragent@cursor.com>
Use trigger-based close/rollback notes and agentic schema defaults so empty LiteMaaS/qwen content cannot block AAP steps; set 48h AO sessions; lead Path 2 with Deploy Shared Services. Co-authored-by: Cursor <cursoragent@cursor.com>
Point docker_host/DOCKER_HOST at /run/podman/podman.sock (same path in the container), run privileged, and accept current registration log text so Provision Gitea no longer dies after a successful register. Also clean Path 2 markdown that pipes/backticks mangled in the docs site. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Self-referential ao_session_* defaults blew up k8s patches on Install; use plain 48h/60m defaults instead. Co-authored-by: Cursor <cursoragent@cursor.com>
Bare # inside {{ }} is invalid Jinja and broke AO Install when seeding disk-utilization.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop owner/environment prompts for APD one-size-fits-all (fixed apd/Prod), and expand the region dropdown to APD-enabled AWS regions. Co-authored-by: Cursor <cursoragent@cursor.com>
Print Gitea before OpenFlake with login or an explicit not-provisioned line so a failed Shared Services Gitea node is obvious even when job output truncates. Co-authored-by: Cursor <cursoragent@cursor.com>
Pass ACCESS_TOKEN_EXPIRE_MINUTES=2880 via Helm extraEnv so demo sessions match AO instead of the upstream 60m default. Co-authored-by: Cursor <cursoragent@cursor.com>
Publish a password-gated page with Mattermost, Gitea, and OpenFlake logins so presenters have one URL after Deploy Shared Services. Co-authored-by: Cursor <cursoragent@cursor.com>
Modern buckets reject public-read ACLs; rely on the bucket policy like the VPC report role. Co-authored-by: Cursor <cursoragent@cursor.com>
Hyphenated s3-website-<region> does not resolve in us-east-2. Co-authored-by: Cursor <cursoragent@cursor.com>
Ansible was rendering the ciphertext as a Python dict repr; emit real JSON via to_json. Co-authored-by: Cursor <cursoragent@cursor.com>
crypto.subtle is unavailable on the HTTP s3-website endpoint, so the password gate always failed there. Co-authored-by: Cursor <cursoragent@cursor.com>
rlopez133
approved these changes
Nov 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ansible-tmm/aap-orchestrator-demosinto AO Install (infrastructure/ao/demos.yml+ JT/credential wiring).inventory-service, act_runner, and upsert a Gitea Controller credential.SN_*/OPENFLAKE_*injectors).Test plan
cicd-pipelineworkflow imports and soft-warns if deps missing