Add Woodpecker CI scripts. - #50
Merged
Merged
Conversation
Member
Author
|
有个问题,precommit在woodpecker中由于github链接并不稳定,并不合适使用。 |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
hzhangxyz
force-pushed
the
dev/set-woodpecker-scripts
branch
4 times, most recently
from
June 24, 2025 10:14
1e55206 to
3e37c22
Compare
hzhangxyz
requested review from
CuSO4Deposit and
Copilot
and removed request for
Copilot
June 24, 2025 11:46
There was a problem hiding this comment.
Pull Request Overview
This PR introduces Woodpecker CI configuration scripts to automate builds, pre-commit tests, and Docker image creation and caching for the project.
- Adds wheels.yml to configure build and upload steps using pipx and twine.
- Adds pre-commit.yml to perform pre-commit checks with caching support via MinIO.
- Adds docker.yml to handle Docker image tagging, building (with BuildKit configuration), and caching.
- Updates README.md with an explanation of the folder’s contents and limitations.
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .woodpecker/wheels.yml | Configures build and upload steps with environment variables for pip and twine. |
| .woodpecker/pre-commit.yml | Sets up pre-commit execution with caching via MinIO. |
| .woodpecker/docker.yml | Implements Docker build, tagging, and caching processes with specific alias and build configurations. |
| .woodpecker/README.md | Documents the purpose and limitations of the CI scripts. |
hzhangxyz
force-pushed
the
dev/set-woodpecker-scripts
branch
from
June 24, 2025 14:42
3e37c22 to
ce81031
Compare
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
See: https://ci.kclab.cloud/repos/660002/pipeline/26/5
Checklist: