Skip to content

refactor: standardize build process and improve artifact handling#12

Closed
devin-ai-integration[bot] wants to merge 4 commits intomasterfrom
devin/1736742184-build-refactor
Closed

refactor: standardize build process and improve artifact handling#12
devin-ai-integration[bot] wants to merge 4 commits intomasterfrom
devin/1736742184-build-refactor

Conversation

@devin-ai-integration
Copy link

Build Process Refactoring

This PR implements comprehensive improvements to the build process, artifact naming, and CI/CD pipeline configuration.

Changes

  • Implement semantic versioning support in build process
  • Update Go version to 1.19 in CI workflows
  • Improve artifact naming with version and git hash
  • Consolidate CI/CD workflows into a single file
  • Add version-based subdirectories in OSS storage
  • Maintain backward compatibility via symlinks

Testing

  • ✓ Local build tested with VERSION=1.0.0-test
  • ✓ Verified artifact naming and symlink creation
  • ✓ Confirmed all unit tests pass
  • ✓ Validated OSS path generation for both stable and unstable builds

Backward Compatibility

The changes maintain backward compatibility by:

  1. Creating symlinks to versioned binaries
  2. Preserving git hash in binary names
  3. Keeping existing OSS path structure while adding subdirectories

Notes

  • Teams using git short hash for references can still find it in binary names
  • No sensitive data was exposed in the workflow configuration
  • All changes pass existing integration tests with no regressions

Link to Devin run: https://app.devin.ai/sessions/ca0593befafd4e6ca8e41d701c6d8c9b

devin-ai-integration bot and others added 4 commits January 13, 2025 04:23
- Add VERSION environment variable support (default: 1.0.0)
- Maintain git hash for backward compatibility
- Update binary naming to include version and hash
- Create symlink for backward compatibility
- Update version display in CLI help

Co-Authored-By: dwb319@gmail.com <dwb319@gmail.com>
- Merge main.yml and publish.yml into ci.yml
- Add conditional path handling for stable/unstable artifacts
- Preserve all existing triggers and test steps
- Update Go version to 1.19

Co-Authored-By: dwb319@gmail.com <dwb319@gmail.com>
- Add version subdirectories for stable releases
- Add date-based subdirectories for unstable builds
- Improve artifact organization and discoverability

Co-Authored-By: dwb319@gmail.com <dwb319@gmail.com>
- Add VERSION environment variable support
- Update Go dependencies
- Create versioned binary with symlink

Co-Authored-By: dwb319@gmail.com <dwb319@gmail.com>
@devin-ai-integration
Copy link
Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@devin-ai-integration
Copy link
Author

Closing due to inactivity.

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.

0 participants