mirror of
https://github.com/floci-io/floci.git
synced 2026-11-22 21:50:46 -05:00
The getting-started and contributor docs had drifted from what the workflows and the code actually do: - quick-start and CONTRIBUTING pointed users at a `latest-jvm` image that the release pipeline never publishes; both now name the `-compat` image, and `make docs-check` greps the docs for any `-jvm` tag - the CONTRIBUTING branching model now matches the workflows: `main` is published as the nightly channel, a maintainer runs the Release Cut workflow to tag a release, and the tag triggers the publish; PR builds produce compat images but never publish them - README and the docs landing page carried a hand-maintained service count and a second copy of the service table, both stale; they now link to the Services Overview - the Service Matrix gains the ELB Classic row it was missing, with an `elb` alias so the check no longer resolves the Classic key to the v2 page, and check_service_matrix.py now also fails on a docs/services page that has no row - the README category table lists 16 documented services it omitted - mkdocs nav gains 11 service pages that were unreachable from the site, drops a duplicate CloudTrail entry, and the docs job now runs `mkdocs build --strict` with nav and link validation so a page without a nav entry fails CI - AGENTS.md, CONTRIBUTING.md and docs/contributing.md told contributors to register a service in ServiceRegistry, which has no registration API; all three now point at ResolvedServiceCatalog and list the config, storage, native-image, docs, tooling and compat-suite touchpoints a new service needs
62 lines
1.7 KiB
YAML
62 lines
1.7 KiB
YAML
name: Docs Action Tables
|
|
|
|
# Keeps the generated tables in docs/services/*.md in sync with their sources: the
|
|
# "Supported Actions" tables with handler source, and the CloudFormation "Supported Resource
|
|
# Types" table with the provisioner inventory TSV. Runs on handler changes (which can add or
|
|
# remove actions), inventory changes (which add or move resource types), and on doc or tooling
|
|
# changes. Python-only, so it is fast and independent of the Java build job.
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'src/main/**'
|
|
- 'src/test/resources/cloudformation/**'
|
|
- 'docs/**'
|
|
- 'mkdocs.yml'
|
|
- 'tools/docs/**'
|
|
- 'Makefile'
|
|
- '.github/workflows/docs-actions.yml'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'src/main/**'
|
|
- 'src/test/resources/cloudformation/**'
|
|
- 'docs/**'
|
|
- 'mkdocs.yml'
|
|
- 'tools/docs/**'
|
|
- 'Makefile'
|
|
- '.github/workflows/docs-actions.yml'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
action-tables:
|
|
name: Docs in sync
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
|
|
with:
|
|
python-version: "3.x"
|
|
|
|
- name: Install tooling deps
|
|
run: pip install -r tools/docs/requirements.txt -r docs/requirements.txt
|
|
|
|
- name: Run action-table tests
|
|
run: make docs-test
|
|
|
|
- name: Check action tables are in sync
|
|
run: make docs-check
|
|
|
|
- name: Build docs (strict)
|
|
run: mkdocs build --strict --site-dir /tmp/site
|