Skip to content
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

init: add shared workflows and tools #1

Merged
merged 6 commits into from
Dec 2, 2023
Merged

init: add shared workflows and tools #1

merged 6 commits into from
Dec 2, 2023

Conversation

jnsgruk
Copy link
Member

@jnsgruk jnsgruk commented Nov 29, 2023

This PR adds a set of actions and tools that can be shared across Snapcrafters repositories. This should cut down the amount of boilerplate in each repo, and give us one central place to update our CI actions. We can also version this repo if we choose.

Examples of how this will be used:
- snapcrafters/discord#168
- snapcrafters/signal-desktop#228
- snapcrafters/mattermost-desktop#93
- snapcrafters/snap-repo-template#40

Example runs from my testing repo:

The README has a good summary, and links to the other actions (and their READMEs).

@jnsgruk jnsgruk changed the title wip init: add shared workflows and tools Nov 30, 2023
@jnsgruk jnsgruk marked this pull request as ready for review November 30, 2023 12:41
@jnsgruk

This comment was marked as outdated.

Copy link
Member

@lucyllewy lucyllewy left a comment

Choose a reason for hiding this comment

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

This all looks great, but I have a couple of non-blocking suggestions and comments.

.github/workflows/_get-screenshots.yaml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@jnsgruk

This comment was marked as outdated.

Copy link
Member

@merlijn-sebrechts merlijn-sebrechts left a comment

Choose a reason for hiding this comment

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

I think there's just one important change I'd like to see. Either move test-snap-build back into the snap repos, or include inputs so individual snaps can modify the behavior to allow things like classic snaps and permitted plugs/slots.

(these need to be specified, because the review action, by default, denies classic snaps and certain plugs and slots)

Nevertheless, it's really impressive work!!

get-architectures/README.md Outdated Show resolved Hide resolved
get-screenshots/README.md Outdated Show resolved Hide resolved
get-screenshots/README.md Outdated Show resolved Hide resolved
call-for-testing/README.md Outdated Show resolved Hide resolved
release-to-candidate/README.md Outdated Show resolved Hide resolved
test-snap-build/README.md Outdated Show resolved Hide resolved
test-snap-build/action.yaml Outdated Show resolved Hide resolved
get-screenshots/action.yaml Outdated Show resolved Hide resolved
Copy link
Member

@merlijn-sebrechts merlijn-sebrechts left a comment

Choose a reason for hiding this comment

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

LGTM!

@merlijn-sebrechts merlijn-sebrechts merged commit 5574441 into snapcrafters:main Dec 2, 2023
@jnsgruk jnsgruk deleted the initial-build branch December 4, 2023 12:47
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