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

[WIP] GitHub pipelines integration and more #228

Closed
wants to merge 2 commits into from
Closed

[WIP] GitHub pipelines integration and more #228

wants to merge 2 commits into from

Conversation

replicadse
Copy link

WORK IN PROGRESS - DO NOT MERGE

This PR has a few proposals for an improved release management/cycle. This way, most of the manual steps in order to release sonic SHOULD be obsolete.
A quick overview of the changes:

  • Using GitHub pipelines for quick feedback cycle
    • Check job -- runs on every push, on every branch
    • Tag job -- (currently commented out) tags the last commit from the push with the calculated version number. The way this is retrieved is by the anothrNick/github-tag-action (1.19.0) which scans commit messages for the #patch, #minor and #major keywords (can be configured). This assumes a versioning system that is more or less compliant to semver. In addition, this job creates a new release in GitHub.
    • Publish to crates.io job -- (currently commented out) publishes sonic to crates.io
    • Publish release job -- (currently commented out) publishes the sonic artifacts to the newly created release (see Tag job) for some specified targets.
  • Makefile - added some common commands to a Makefile including the following ones
    • init
    • build
    • release
    • scan
    • update-version
    • test
    • clean
  • pre-commit hook that runs scan (install via make init)

Since there is no issue regarding any of these things, these are just suggestions. Feedback is very welcome whether we / I should to continue working on this or not.
¯_(ツ)_/¯

@replicadse replicadse closed this May 3, 2022
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.

None yet

1 participant