Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add Aliyun OSS release asset mirror#588

Draft
nice-code-la wants to merge 3 commits into
mainfrom
agent/aliyun-oss-release-mirror
Draft

Add Aliyun OSS release asset mirror#588
nice-code-la wants to merge 3 commits into
mainfrom
agent/aliyun-oss-release-mirror

Conversation

@nice-code-la

Copy link
Copy Markdown
Contributor

Summary

  • Add a release.published / manual-dispatch workflow that mirrors GitHub Release assets to Aliyun OSS.
  • Verify downloaded release assets against SHA256SUMS before uploading.
  • Upload to versioned OSS paths: oss://<bucket>/<prefix>/<tag>/<asset>.
  • Document required GitHub secrets and variables for the OSS mirror.
  • Add a small contract test for the mirror workflow.

Required repository configuration

Secrets:

  • ALIYUN_OSS_ACCESS_KEY_ID
  • ALIYUN_OSS_ACCESS_KEY_SECRET

Variables:

  • ALIYUN_OSS_BUCKET
  • ALIYUN_OSS_REGION
  • ALIYUN_OSS_PREFIX optional, defaults to releases
  • ALIYUN_OSS_ENDPOINT optional, for custom endpoint/CNAME cases

Validation

  • Compared agent/aliyun-oss-release-mirror against main: only three new files are added.
  • Read back .github/workflows/mirror-release-to-oss.yml from the branch after commit.

Not run locally: full pytest / GitHub Actions, because this change was applied through the GitHub connector rather than a clean local checkout.

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.

1 participant