Skip to content

Feature/epmrpp 98957 #78

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

Merged
merged 8 commits into from
Jan 31, 2025
Merged

Feature/epmrpp 98957 #78

merged 8 commits into from
Jan 31, 2025

Conversation

EricesNicolas
Copy link
Contributor

@EricesNicolas EricesNicolas commented Jan 29, 2025

This PR updates the release workflow for the service/index (Go) to align with the latest project requirements. Key updates include:

Dynamic service_name Support:

The workflow now accepts a dynamic service_name input, enabling compatibility with services using the service-* prefix.
In this case, it specifically targets service/index, ensuring consistent artifact naming and publishing.

Branch Validation and Checkout:

The workflow ensures that all processes are executed exclusively on the master branch.
Removed redundant branch validation as the checkout step is explicitly configured to always use master.
Artifact Generation and Upload Improvements:

Adjustments have been made to ensure artifacts are named using the correct release tag (release_version).
Enhanced error handling to prevent conflicts when an artifact with the same name already exists in the release.
Robust Tag and Release Management:

Ensures consistency between the release tag and the generated artifacts.
Artifacts are only uploaded when they match the active release tag.

How to Use
Create a release with a tag associated with the service/index.
Verify that the workflow builds the binary correctly and uploads it as an artifact to the release.
Confirm that the uploaded artifact follows the expected naming convention: service-index-<release_version>.release.
Important Notes
This PR introduces a more flexible and scalable process to support additional services in the future.
It ensures that the service/index is fully integrated with the dynamic release workflow.

@EricesNicolas
Copy link
Contributor Author

merged to develop

@EricesNicolas EricesNicolas reopened this Jan 31, 2025
@EricesNicolas EricesNicolas merged commit 330f034 into develop Jan 31, 2025
9 of 10 checks passed
@EricesNicolas EricesNicolas deleted the feature/EPMRPP-98957 branch January 31, 2025 14:18
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.

3 participants