Skip to content

Add workbench-positron-init daily preview stream#126

Draft
bschwedler wants to merge 4 commits into
mainfrom
positron-init-preview-stream
Draft

Add workbench-positron-init daily preview stream#126
bschwedler wants to merge 4 commits into
mainfrom
positron-init-preview-stream

Conversation

@bschwedler
Copy link
Copy Markdown
Contributor

Adds a devVersions daily stream to workbench-positron-init so CI can build preview images from the Positron CDN daily channel and push to ghcr.io/posit-dev/workbench-positron-init-preview.

The Containerfile template switches between the dailies/ and releases/ CDN paths based on Image.IsDevelopmentVersion. Docs are excluded from daily builds (not published to the dailies CDN); ENV PWB_POSITRON_TARGET is set to positron only for dev builds.

Depends on (must merge first):

For dev builds, use the dailies CDN path with the version baked in at
render time. For stable builds, keep the releases CDN path with
POSITRON_VERSION as a Docker ARG set by bakery at build time.

The docs download step is also skipped for dev builds since the dailies
CDN does not host docs.

The template uses `Image.IsDevelopmentVersion is defined` to guard
against the matrix render context where the variable is not available,
defaulting to stable behavior.
Wire the Positron product into workbench-positron-init so that
--dev-versions only --dev-channel daily builds resolve the latest
Positron daily version and push to ghcr.io/posit-dev namespace.
Temporarily points bakery-build-native.yml and the bakery install
to the positron-init-preview-stream branch so the dev build can be
tested before the images-shared stack merges.
@ssinnott
Copy link
Copy Markdown
Contributor

ssinnott commented Jun 4, 2026

The session container failures are a build issue on our end.


RUN echo 'Acquire::Retries "3"; Acquire::http::Timeout "30"; Acquire::https::Timeout "30";' > /etc/apt/apt.conf.d/99-retries && \
apt-get update -yqq --fix-missing && \
RUN apt-get update -yqq --fix-missing && \
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This apt configuration should not have been reverted.

@ianpittwood ianpittwood marked this pull request as draft June 5, 2026 16:15
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.

2 participants