ResilientLang docsDeveloper documentation (draft, product name is a placeholder)

CI/CD integrations

Status. These tools were written by work package WP-55 on the branch wp/WP-55-ci-integrations (integrations/ci/, plus rl doctor in tools/cli). When this page was written that branch was not yet merged into the integration branch, so paths may change. Nothing was run on real GitHub, GitLab, Bitbucket, Netlify or Vercel, and nothing is published (no Marketplace, npm, Netlify or Vercel listing). The platform syntax in these pages was not checked against the vendors' documentation and is marked verify. The domain in examples (api.example.com) is a placeholder.

The tools are zero-dependency Node 18.17+ scripts that reuse the rl command line, the JavaScript SDK and the build-time prerender package. Until those are published, copy them next to integrations/ci; paths are relative.

PiecePage
GitHub Action: push, wait, publish; pull-request dry run with a commentGitHub Action
GitLab CI templateGitLab CI
Bitbucket Pipelines snippetBitbucket Pipelines
Netlify build plugin: prerender and checksNetlify
Vercel build step recipeVercel
rl-lint, a linter for hard-coded and unsafe stringsrl-lint
rl doctor, a read-only self-checkrl doctor
Errors and fixesTroubleshooting CI runs

All flavours go through one entry point, bin/rl-ci.mjs <auto|sync|preview|prerender>; the YAML files are thin wrappers.

Security rules (apply to every page)#

Failure messages#

The exit codes of rl are turned into titled messages that say what to do: 401 and 403 (wrong, revoked or insufficient key, or a suspended account), 402 (a plan or allowance limit, "not a permission problem", never downgraded to a warning) and 503 (service unavailable, and published translations keep being served). on-unavailable: warn can downgrade 503, 429 and network errors for scheduled syncs. The table is in Troubleshooting CI runs; the exit codes are in CLI and SDKs.

Tests#

cd integrations/ci && npm test (37 tests, offline; 6 need the prerender package built and skip with a message otherwise) and cd tools/cli && npm test (45, including 8 for doctor), per the package's progress file. They use the SDK's mock control plane and local loopback origins with freshly signed bundles. Those results are WP-55's, not re-run here.

Unverified (verify before relying on these pages)#

Vendor documentation to check: GitHub Actions at docs.github.com, GitLab CI and its API notes at docs.gitlab.com, Netlify build plugins at docs.netlify.com, Vercel project configuration at vercel.com/docs, Bitbucket Pipelines at support.atlassian.com. None was fetched by the author of these tools or by this docs site.