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: refactor release workflow and Docker build process #3245

Merged
merged 8 commits into from
Aug 8, 2024

Conversation

ogabrielluiz
Copy link
Contributor

This pull request refactors the release workflow and Docker build process to improve flexibility and clarity. It removes deprecated pre-release workflows and consolidates configuration for a cleaner CI/CD process. It adds a pre-release check to validate the version format before proceeding with the workflow. The release workflow now has separate inputs for base and main packages, allowing for better customization. The Docker build workflows have also been separated for base and main packages. Additionally, the docker-build.yml file has been updated to conditionally retrieve the version and adjust tagging logic for Docker images in workflows.

…djust tagging logic for Docker images in workflows
- Split `release_package` input into `release_package_base` and `release_package_main`
- Add new inputs for building Docker images: `build_docker_base` and `build_docker_main`
- Update conditional checks and job dependencies to reflect new inputs
- Separate Docker build workflows for base and main packages
…ackages, enhancing workflow flexibility and clarity
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Aug 8, 2024
Copy link
Contributor

github-actions bot commented Aug 8, 2024

Pull Request Validation Report

This comment is automatically generated by Conventional PR

Whitelist Report

Whitelist Active Result
Pull request is a draft and should be ignored
Pull request is made by a whitelisted user and should be ignored
Pull request is submitted by a bot and should be ignored
Pull request is submitted by administrators and should be ignored

Result

Pull request does not satisfy any enabled whitelist criteria. Pull request will be validated.

Validation Report

Validation Active Result
All commits in this pull request has valid messages
Pull request does not introduce too many changes
Pull request has a valid title
Pull request has mentioned issues
Pull request has valid branch name
Pull request should have a non-empty body

Result

Pull request satisfies all enabled pull request rules.

Last Modified at 08 Aug 24 13:44 UTC

Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-3245.dmtpw4p5recq1.amplifyapp.com

…for validation, enhancing version format accuracy
…egex validation, ensuring accurate version detection
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2024
@ogabrielluiz ogabrielluiz merged commit 881828c into main Aug 8, 2024
15 of 16 checks passed
@ogabrielluiz ogabrielluiz deleted the ci/splitup-release branch August 8, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants