Skip to content

Add positron init#42

Merged
bschwedler merged 4 commits intomainfrom
add-positron-init
Mar 19, 2026
Merged

Add positron init#42
bschwedler merged 4 commits intomainfrom
add-positron-init

Conversation

@ssinnott
Copy link
Copy Markdown
Contributor

Ok this is a first take. Happy for feedback,

  1. Bundles positron docs, binary, and the positron init container.
  2. I'm still a little fuzzzy on the subdirectory piece (so like2026.03) do we need that here? I think it was created when I added each positron version into versions - but I might be following the wrong pattern. Also would this end up changing if we're pulling these dynamically and plugging them in?
  3. I think we need preview builds but I didn't add that here.

…inja2 from goss

- Fix docs CDN path (release -> releases)
- Derive positron-server and docs URLs from positron_version instead of
  hardcoding positron_url and positron_docs_version in bakery.yaml
- Rename goss.yaml.jinja2 to goss.yaml (no Jinja2 templating needed)
- Update goss test to match actual docs zip structure (no bundled/ subdir)
- Re-render version directories
Replace version-based config with a matrix using the new positron
bakery dependency for automatic version discovery from the Posit CDN.

- Use POSITRON_VERSION build arg instead of template values
- Add TARGETARCH support for multi-platform builds, mapping
  Docker arch names to CDN path segments and artifact keys
- Replace versioned directories (2026.02/, 2026.03/) with
  matrix/ subpath
- Use CMD instead of ENTRYPOINT for positron-init
Use positron bakery dependency for init container
@bschwedler
Copy link
Copy Markdown
Contributor

LGTM. I will wait to approve/merge until the Docker Hub repository has been created.

@bschwedler bschwedler merged commit 24a0022 into main Mar 19, 2026
28 checks passed
@bschwedler bschwedler deleted the add-positron-init branch March 19, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants