twilio-infra-as-code / plugin-twilio-infra

Plugin for the Twilio CLI to integrate Pulumi and Twilio in order to create, deploy, and manage Twilio infrastructure using code.
MIT License
1 stars 4 forks source link

Add CI/CD pipeline #23

Closed vernig closed 3 years ago

vernig commented 3 years ago

Add release through GH Actions and semantic-release. This action add:

This pipeline makes use of https://github.com/cycjimmy/semantic-release-action, which, in turn, is based on https://github.com/semantic-release/semantic-release.

The action is triggered every time a push is made on main branch (e.g. as result of a PR merge). The action scans the commit(s) and looks for the following keywords in the commit message:

The commit message should follow Angular Commit Message Conventions, so for example a minor release commit for the utils module will look like the following:

feat(utils): This is my new awesome feature!

Remember, with great power come great responsibility

If the commit isn't supposed to trigger a release, then other keyword (such as chore, or doc) can be used.

This action also include the @semantic-release/changelog which automatically create a changelog that is added as description for the release on the repo.

vernig commented 3 years ago

@kaiquelupo @bermudezmt I added a GH Action for the automatic release of the the plugin. Have a read to the PR description and let me know what you think. If you like how this works, we can use it for https://github.com/twilio-infra-as-code/twilio-pulumi-provider as well.

vernig commented 3 years ago

:tada: This PR is included in version 0.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: