Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Latest commit

 

History

History

docs

README.md

Forge documentation

The guides to running Forge and publishing to it. They are also a site, with navigation and search: https://forgepkg.github.io/forge/.

The README says what Forge is and starts a first instance in its quickstart; DEVELOPMENT.md is the guide to working on Forge itself.

Running Forge

  • Production deployment: required settings, TLS and the reverse proxy, secret encryption, health probes, backup and restore, and upgrades.
  • Helm chart: the chart published with every release: which image it runs, its values, short-lived S3 credentials, routing, optional dependencies and telemetry.
  • Kubernetes manifests: the kustomize base, components and overlays, for production and for an evaluation.
  • Monitoring: an example OpenTelemetry Collector configuration, Grafana dashboard and Prometheus alerting rules.
  • Retention: every retention rule with examples (age, downloads, superseded prereleases, unlisted versions, version and tag patterns, keep-N), cron schedules in a time zone with a time limit per run, and size budgets.
  • Package delay: a proxy's dependency cooldown for new upstream releases, other delays for some packages (by content selector or pattern), and releasing one version early.
  • Importing repositories: copy a hosted repository of another server (a NuGet feed, an npm registry, a registry, a raw repository, an apt repository: Nexus, Artifactory, Verdaccio, a web server, another Forge) into Forge, with its publish dates.
  • Importing from Nexus: where Nexus serves its feeds, registries, apt repositories and raw files, its search's limits, and imports stored before 2.2.

Formats

  • apt repositories: Debian and Ubuntu packages for apt: .deb uploads, signed indexes and key rotation, sources.list and auth.conf.d, proxies of Debian and Ubuntu mirrors.
  • Docker / OCI registry: image repositories (hosted, proxy, group), naming, docker login, retention and garbage collection.
  • npm registries: npm packages for npm, pnpm, Yarn and Bun: .npmrc, logins, publishing, dist-tags, proxies of registry.npmjs.org and audits.
  • NuGet feeds: dotnet, nuget.exe and Visual Studio: dotnet nuget add source, NuGet.config credentials, logins, pushes with an API key, unlisting. The CI guides below publish to a feed.
  • Raw file repositories: files under arbitrary paths: logins, uploads with curl, ranges and checksum sidecars, listings, and proxies of release downloads.
  • Format crates: how every format is built: the FormatSpec contract, what the server does for each format, and adding a new one.

CI and publishing

  • Trusted publishing: short-lived workload identity for GitHub Actions, GitLab CI and other OIDC issuers, and the exchange of a job's token for an API key.
  • GitLab CI with workload identity: step by step, every job of a GitLab project restores from Forge, and only the release job pushes. No secret in GitLab.
  • CI with service accounts: for pipelines that cannot use workload identity, a read token and a release token in GitLab's CI/CD variables.

Releases

  • Changelog: release notes, upgrade notes and known limitations. A change adds its entry as a fragment under changes/.