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

Well defined developer workflow #96

Open
1 task
mbtamuli opened this issue Dec 19, 2023 · 9 comments
Open
1 task

Well defined developer workflow #96

mbtamuli opened this issue Dec 19, 2023 · 9 comments
Assignees

Comments

@mbtamuli
Copy link
Contributor

Scope

  • Have a docs/developer.md detailing the workflow for a developer
    • Initial setup
    • Development
    • Testing
    • Anything else expected by the project

Split from #93

@mbtamuli
Copy link
Contributor Author

@mugdha-adhav Can I be assigned to this issue. I'd like to work on this.

@mbtamuli
Copy link
Contributor Author

People working on developing this project - if you have any ideas/suggestions, please add a comment. I see @kitt1987, @MaxFedotov, @mugdha-adhav and @vadasambar contributing to the last 4 releases.

@vadasambar
Copy link
Contributor

I don't have a specific suggestion but it would be nice to have a developer quickstart guide and contribution guide (PR naming convention, commit conventions to follow etc.,). Maybe a checklist of things might be a good idea. For example:

  1. Pre-requisite reading (links to CSI docs etc.,)
  2. Build pre-requisites (installing specific golang version, any other tools needed e.g., kustomize, kubectl etc.,)
  3. Building binaries and images (also pushing images)
  4. Developer workflow (e.g., creating a kind cluster and testing changes -> fix issues -> repeat)
  5. Running unit tests
  6. Running integration tests locally (these tests are also run in CI/CD pipeline)
  7. Creating PR (we can link PR naming conventions, commit conventions, release chores like updating helm chart version, version in the makefile, writing unit and integration tests etc., can go here)

@mbtamuli
Copy link
Contributor Author

#108 even if this PR doesn't directly work on the points mentioned in this issue, it's a step in the same direction. As getting that PR merged will ensure contributors can directly use the GitHub Container Registry image built by the CI and not have to build an image locally.

@mugdha-adhav
Copy link
Collaborator

Dependabot created automated PR for upgrading GitHub workflows version after #108 was merged 🎉

cc: @mbtamuli IMO we should document this as well ^^

@mugdha-adhav
Copy link
Collaborator

@mbtamuli in the community meeting we discussed about adopting conventional commits. I propose we add a note for the same in developer workflow.

@mugdha-adhav mugdha-adhav added this to the Contributor docs milestone Jan 20, 2024
@mugdha-adhav
Copy link
Collaborator

@mbtamuli I faced access denied issue while trying to push image to ghcr in my fork. Followed the answer in this discussion and got it working, we should definitely add this in the docs as well.

@mbtamuli
Copy link
Contributor Author

Maybe it's related to a user using GHCR first time ever, or maybe the first time for that particular repository(your fork). Will check GitHub docs and update dev docs.

@mbtamuli
Copy link
Contributor Author

I created a new fork for testing. This is the message shown on the actions page of the fork the first time.

image

We should probably add this to the docs too in some form.

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

No branches or pull requests

3 participants