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

Setup automatic WebExtension development builds/releases via CI #156

Open
1 of 2 tasks
koobs opened this issue Nov 30, 2020 · 4 comments
Open
1 of 2 tasks

Setup automatic WebExtension development builds/releases via CI #156

koobs opened this issue Nov 30, 2020 · 4 comments
Assignees
Labels
on hold This cannot be worked on optimization Iteration on existing features or infrastructure

Comments

@koobs
Copy link
Contributor

koobs commented Nov 30, 2020

Setup automatic builds and (WebExtension) artifact creation via CI to facilitate better development workflow and easier/faster user testing prior to release.

  • Per-PR and per-push CI
  • Produce a GitHub 'release' for each PR created and/or merged or changeset pushed to master
  • 'New' releases should contain commits / commit log messages since the last build (ie; a changelog)
  • Submit new builds to AMO on creation of release tag (if possible) [1]

Possibly Relevant/Useful Links:

@devmount devmount added the optimization Iteration on existing features or infrastructure label Nov 30, 2020
@devmount
Copy link
Owner

+1 for automation. This is already on my todo list - I'll see when I have time to properly implement this.

@devmount devmount added this to the v1.4.0 milestone Jan 28, 2021
@devmount
Copy link
Owner

I've now added a GitHub action, that does the following:

  • build the project on each commit/push
  • create a corresponding Thunderbird add-on .xpi file, named after the next minor release with an alpha suffix and a timestamp of creation
  • save that file as artifact and push it to a dedicated CDN

I won't automate the creation of releases as I want to keep the release list clean from alpha releases.

GitHub artifacts can be found under Actions > Nightly Builds > Choose last build and scroll to the artifacts section:
https://github.com/devmount/third-stats/actions?query=workflow%3A%22Nightly+build%22

The ThirdStats release CDN can be found here:
https://third-stats.cdn.devmount.com/

Thanks again for proposing this. As soon as ATN is able to automatically receive submissions, I will implement your last point with an additional GitHub action.

@devmount devmount added the on hold This cannot be worked on label Jan 29, 2021
@koobs
Copy link
Contributor Author

koobs commented Jan 30, 2021

Thanks @devmount Can we add a link to the 'per commit' (main) somewhere in the docs or repo README (or whever else is appropriate

@devmount
Copy link
Owner

Already done that:

image

@devmount devmount removed this from the v1.4.0 milestone Feb 3, 2021
@devmount devmount self-assigned this Feb 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold This cannot be worked on optimization Iteration on existing features or infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants