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

Fix issue 149 - add some CI workflows #153

Merged
merged 5 commits into from
Oct 16, 2024
Merged

Fix issue 149 - add some CI workflows #153

merged 5 commits into from
Oct 16, 2024

Conversation

obnoxxx
Copy link
Collaborator

@obnoxxx obnoxxx commented Oct 14, 2024

Describe what this PR does

This PR adds some github workflows to the CI as requested in #149

Is there anything that requires special attention

  • Note that for mod check, this does not only add a workflow yaml file but also a mod.check make
    target to be easily invoked locally by developers
  • The changes are split into multiple commits: one per item.

Do you have any questions?

no questiions at this time.

Is the change backward compatible?

It should be backward compatible.

Provide any external context for the change, if any.

none.

Related issues

Mention any github issues relevant to this PR. Adding below line
will help to auto close the issue once the PR is merged.

Fixes: #149

Future concerns

no future concerns currently.

Checklist:

  • Commit Message Formatting: Commit titles and messages follow
    guidelines in the developer
    guide
    .
  • Reviewed the developer guide on Submitting a Pull
    Request
  • Pending release
    notes

    updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

@obnoxxx obnoxxx marked this pull request as draft October 14, 2024 10:34
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Oct 14, 2024

This is marked as draft since it does not cover all points of #149 yet.

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Oct 14, 2024

@Madhu-1 what remains is to add the stale workflow.

Any special requirements for this one or is it OK to use the rook workflow as a start?

https://github.com/rook/rook/blob/master/.github/workflows/stale.yaml

@parth-gr
Copy link
Contributor

add some CI worjflows -> add some CI workflows

@obnoxxx obnoxxx changed the title Fix issue 149 - add some CI worjflows Fix issue 149 - add some CI workflows Oct 14, 2024
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Oct 14, 2024

@parth-gr wrote:

add some CI worjflows -> add some CI workflows

good catch, thanks! fixed.

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Oct 15, 2024

replying to myself:

@Madhu-1 what remains is to add the stale workflow.

Any special requirements for this one or is it OK to use the rook workflow as a start?

https://github.com/rook/rook/blob/master/.github/workflows/stale.yaml

I used that file as a basis after confirmation from @Madhu-1 on chat.

@nb-ohad
Copy link
Collaborator

nb-ohad commented Oct 15, 2024

LGTM

@obnoxxx obnoxxx marked this pull request as ready for review October 15, 2024 08:46
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented Oct 15, 2024

marked ready for review since all items of #149 are addressed.

@obnoxxx obnoxxx requested a review from nb-ohad October 15, 2024 13:07
.github/workflows/dependency-review.yaml Outdated Show resolved Hide resolved
.github/workflows/mod-check.yaml Outdated Show resolved Hide resolved
.github/workflows/mod-check.yaml Outdated Show resolved Hide resolved
.github/workflows/stale.yaml Outdated Show resolved Hide resolved
.github/workflows/stale.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
.github/workflows/mod-check.yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
@obnoxxx obnoxxx force-pushed the fix-149 branch 3 times, most recently from ff400ac to 1b3f675 Compare October 16, 2024 08:45
This assigns an issue to a github user who comments '`/assign`

based on

https://github.com/rook/rook/blob/master/.github/workflows/auto-assign.yaml

Signed-off-by: Michael Adam <obnox@samba.org>
The mod.check target verifies and tidies the
go module dependencies.

Signed-off-by: Michael Adam <obnox@samba.org>
@obnoxxx obnoxxx force-pushed the fix-149 branch 3 times, most recently from 1422d65 to 8611ca5 Compare October 16, 2024 08:58
Copy link
Collaborator

@Madhu-1 Madhu-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small nits

.github/workflows/lint.yaml Show resolved Hide resolved
.github/workflows/lint.yaml Outdated Show resolved Hide resolved
@obnoxxx obnoxxx force-pushed the fix-149 branch 2 times, most recently from acc5610 to 3f88ca5 Compare October 16, 2024 09:23
Signed-off-by: Michael Adam <obnox@samba.org>
This workflow periodically scans issues and PRs
to mark inactive items stale and close them after continued inactivity.

Based on the rook project's workflow:

https://github.com/rook/rook/blob/master/.github/workflows/stale.yaml

Signed-off-by: Michael Adam <obnox@samba.org>
@Madhu-1 Madhu-1 merged commit 02aac5e into ceph:main Oct 16, 2024
12 checks passed
@obnoxxx obnoxxx deleted the fix-149 branch October 16, 2024 09:44
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.

Add github action for CI
4 participants