Skip to content

Add Woodpecker CI scripts. - #50

Merged
hzhangxyz merged 4 commits into
mainfrom
dev/set-woodpecker-scripts
Jun 26, 2025
Merged

Add Woodpecker CI scripts.#50
hzhangxyz merged 4 commits into
mainfrom
dev/set-woodpecker-scripts

Conversation

@hzhangxyz

Copy link
Copy Markdown
Member

Description

See: https://ci.kclab.cloud/repos/660002/pipeline/26/5

Checklist:

Copilot AI review requested due to automatic review settings June 23, 2025 18:28

This comment was marked as outdated.

@hzhangxyz

Copy link
Copy Markdown
Member Author

有个问题,precommit在woodpecker中由于github链接并不稳定,并不合适使用。

@hzhangxyz hzhangxyz removed the ready label Jun 24, 2025
hzhangxyz and others added 3 commits June 24, 2025 14:00
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hzhangxyz
hzhangxyz force-pushed the dev/set-woodpecker-scripts branch 4 times, most recently from 1e55206 to 3e37c22 Compare June 24, 2025 10:14
@hzhangxyz
hzhangxyz requested review from CuSO4Deposit and Copilot and removed request for Copilot June 24, 2025 11:46

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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
hzhangxyz requested review from msg-bq and removed request for CuSO4Deposit June 24, 2025 11:49
@hzhangxyz
hzhangxyz force-pushed the dev/set-woodpecker-scripts branch from 3e37c22 to ce81031 Compare June 24, 2025 14:42
@hzhangxyz

Copy link
Copy Markdown
Member Author

@msg-bq msg-bq left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

我对woodpecker命令不熟,不过ci能跑就行也没啥风险

@hzhangxyz
hzhangxyz merged commit baa30dc into main Jun 26, 2025
2 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants