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

ci: add test for uncommitted changes in deploy directory #4759

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

Nikhil-Ladha
Copy link
Contributor

@Nikhil-Ladha Nikhil-Ladha commented Aug 13, 2024

Describe what this PR does

Added test for uncommitted changes in deploy directory under go-test GH action. Also, created a new make target named make check-deploy-committed that can be used to verify the uncommitted changes.

Fixes: #4285

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.

@mergify mergify bot added the component/testing Additional test cases or CI work label Aug 13, 2024
@nixpanic nixpanic added the ci/skip/e2e skip running e2e CI jobs label Aug 13, 2024
Copy link
Member

@nixpanic nixpanic left a comment

Choose a reason for hiding this comment

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

consider adding a requirement for this to .mergify.yml too

.github/workflows/go-test.yaml Show resolved Hide resolved
nixpanic
nixpanic previously approved these changes Aug 13, 2024
@nixpanic nixpanic added the backport-to-release-v3.11 Label to backport from devel to release-v3.11 branch label Aug 13, 2024
@@ -72,6 +72,7 @@ queue_rules:
- "status-success=golangci-lint"
- "status-success=mod-check"
- "status-success=lint-extras"
- "status-success=uncommitted-code-check"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I see that we are backporting this to release-v3.11 branch, can you please update the mergify rules for the same?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't see a rule for base branch release-v3.11 it is only for all release branches or v3.10 individually.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If I add it under base~=^(release-.+)$ check, and we only backport to release-v3.11 branch won't that cause the CI in other older branches to fail?

Copy link
Collaborator

Choose a reason for hiding this comment

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

we are maintaining only 3.10 and 3.11 branches nothing else.

Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please do it in above 3 places i pointed out?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, missed the other places.
Added them now.

Makefile Outdated Show resolved Hide resolved
@mergify mergify bot dismissed nixpanic’s stale review August 13, 2024 09:16

Pull request has been modified.

@Madhu-1 Madhu-1 requested a review from nixpanic August 13, 2024 09:59
@nixpanic
Copy link
Member

@Mergifyio rebase

added test for uncommitted changes in deploy directory under go-test GH action.
Also, created a new make target named `make check-deploy-committed` that
can be used to verify the uncommitted changes.

Signed-off-by: Nikhil-Ladha <nikhilladha1999@gmail.com>
Copy link
Contributor

mergify bot commented Aug 13, 2024

rebase

✅ Branch has been successfully rebased

@nixpanic
Copy link
Member

@Mergifyio queue

Copy link
Contributor

mergify bot commented Aug 13, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 71cbf3d

@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Aug 13, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.27

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.28

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.29

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.30

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/mini-e2e/k8s-1.30

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Aug 13, 2024
@mergify mergify bot merged commit 71cbf3d into ceph:devel Aug 13, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-to-release-v3.11 Label to backport from devel to release-v3.11 branch ci/skip/e2e skip running e2e CI jobs component/testing Additional test cases or CI work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: add a workflow to check for uncommitted changes
5 participants