-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Snap Store builds might skip Pebble revisions, including stable releases #300
Comments
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 12, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 13, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 13, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 13, 2023
cjdcordeiro
added a commit
to cjdcordeiro/pebble
that referenced
this issue
Oct 13, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
SOTA
Our current workflows for the Pebble snap are divided in 2 parts:
master
) on a frequent basis (I believe the polling interval is 30''). If there are new commits to the default branch, the Snap Store will automatically build the Pebble snap and release it to thelatest/edge
channel.v1.3.0
)latest/edge
tolatest/candidate
Proposed solution
Given Pebble's release strategy (2 back-to-back commits for every new release, i.e. "tag" and "revert bump"), the pitfall noted in [1] above is very likely to happen, and as the title says, we might end up not having a snap built for a stable Pebble release.
To avoid introducing an artificial delay between the 2 release commits, I propose the following changes:
pebble/.github/workflows/snap.yml
, do the following changes:master
remote-build
, that only runs on pushes tomaster
and new tags, which will runsnapcraft remote-build --build-for=amd64,arm64...
and thenupload
the resulting snaps to the store, on thelatest/edge
channel. If the trigger event is atag
, then this job also promotes the resulting snap fromlatest/edge
tolatest/candidate
snap/snapcraft.yaml
to removebuild-environment
as it is not supported inremote-builds
. Instead, manually script the binary installation by replacingcraftctl default
byCGO_ENABLED=0 go build -trimpath -ldflags=-w -ldflags=-s -o ${CRAFT_PART_INSTALL}/bin/pebble ./cmd/pebble
The text was updated successfully, but these errors were encountered: