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

Versioning, Deployement, Realeasing #4

Closed
catyphram opened this issue Oct 31, 2018 · 4 comments · Fixed by #11
Closed

Versioning, Deployement, Realeasing #4

catyphram opened this issue Oct 31, 2018 · 4 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request

Comments

@catyphram
Copy link
Owner

Think about feasible ways to automatically create tags, releases and release notes for the application on Github. Optimally a full continuous delivery pipeline should be set up.

@catyphram catyphram added the enhancement New feature or request label Oct 31, 2018
@catyphram catyphram self-assigned this Oct 31, 2018
@catyphram
Copy link
Owner Author

Technologies that will be used:

A task branching model according to https://guides.github.com/introduction/flow/ will be configured for further development. Also task ids and keywords should be added to commit messages and pull requests to link issues. See https://help.github.com/articles/closing-issues-using-keywords/ for the options.

The application will not be deployed.

A guide for most of the setup can be found here:
https://medium.com/@schalkneethling/automate-package-releases-with-semantic-release-and-commitizen-d7d4c337f04f

catyphram added a commit that referenced this issue Feb 4, 2019
catyphram added a commit that referenced this issue Feb 4, 2019
catyphram added a commit that referenced this issue Feb 4, 2019
catyphram added a commit that referenced this issue Feb 4, 2019
catyphram added a commit that referenced this issue Feb 6, 2019
catyphram added a commit that referenced this issue Feb 6, 2019
catyphram added a commit that referenced this issue Feb 6, 2019
catyphram added a commit that referenced this issue Feb 6, 2019
@catyphram
Copy link
Owner Author

  • Travis has been set up to Lint and Unit Test the client and to Lint (via go vet), Unit and Integrate Test the API.
  • The master branch has been restricted to only allow pushes via PRs.
  • A badge was added to the README to display the build status.

What remains to do:

  • Add Contribution section to README explaining the workflow: Linter, Tests, Commit Style, CI, PRs and also later Releasing.
  • Have a look at https://github.com/alecthomas/gometalinter as an alternative to go vet.
  • Configure commitlint, commitizen and semantic-release as described in the second post.

catyphram added a commit that referenced this issue Feb 17, 2019
- mention linting for go in README
- configure commitlint with the conventional config
- add Contribution section to readme

progresses #4
catyphram added a commit that referenced this issue Feb 17, 2019
- install commitzen
- update README

progresses #4
catyphram added a commit that referenced this issue Feb 17, 2019
- install commitzen
- update README

progresses #4
@catyphram
Copy link
Owner Author

For now gometalinter will not be integrated due to problems with Go modules support:
alecthomas/gometalinter#562
alecthomas/gometalinter#564

Usage of the gometalinter or other linters should be revisited at some point in the future, though.

@catyphram
Copy link
Owner Author

Semantic Release won't be integrated as this app is not going to be released on npm or Github and is meant to be installed locally.
Since every PR results in one squashed commit, the commit id would be linked with exactly one tag and release and would serve no benefit. The resulting Changelog, too, would replicate the git history.

catyphram added a commit that referenced this issue Feb 17, 2019
- install commitzen
- update README

closes #4
catyphram added a commit that referenced this issue Feb 17, 2019
- configure commitlint
- configure commitizen
- add contribution section to readme

closes #4
catyphram added a commit that referenced this issue Feb 17, 2019
- configure commitlint
- configure commitizen
- add contribution section to readme

closes #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant