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 cloud release ci. #4248

Closed
wants to merge 0 commits into from
Closed

CI: add cloud release ci. #4248

wants to merge 0 commits into from

Conversation

lingdie
Copy link
Collaborator

@lingdie lingdie commented Nov 3, 2023

🤖 Generated by Copilot at 3528044

Summary

☁️🚀♻️

This pull request adds a new workflow for releasing the cloud components of sealos using the published release tag as the image tag. It also refactors the existing workflows for building and testing the components to use the workflow_call syntax, which enables them to be reused as components by the new release workflow. The workflows are defined in the .github/workflows directory.

workflow_call used
to make workflows reusable
autumn of refactoring

Walkthrough

  • Add a new workflow file cloud-release.yml for releasing the cloud components of sealos using the release tag as the image tag (link)
  • Refactor the existing workflow files cloud.yml, controllers.yml, frontend.yml, and services.yml to use the workflow_call syntax and define workflow inputs for pushing the image and the image tag (link, link, link, link)
  • Use the refactored workflow files as reusable components in the cloud-release.yml workflow and pass the appropriate inputs from the release event and the save-sealos job (link)

@sealos-ci-robot
Copy link
Member

sealos-ci-robot commented Nov 3, 2023

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 981
✅ Successful 312
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 668
❓ Unknown 0
🚫 Errors 0

Full action output

Full Github Actions output

Copy link

sweep-ai bot commented Nov 3, 2023

Apply Sweep Rules to your PR?

  • Apply: All new business logic should have corresponding unit tests.
  • Apply: Refactor large functions to be more modular.

Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants