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

Create a proof of concept for onboarding and detecting new releases #1539

Closed
5 tasks done
Tracked by #1234
peternied opened this issue Jan 24, 2022 · 3 comments
Closed
5 tasks done
Tracked by #1234

Create a proof of concept for onboarding and detecting new releases #1539

peternied opened this issue Jan 24, 2022 · 3 comments
Assignees
Labels
enhancement New Enhancement

Comments

@peternied
Copy link
Member

peternied commented Jan 24, 2022

Create a simple project* that would produce a release artifact. Make a 1.0.0 release, a 1.1.0 release, and a 1.1.1 release. Following the notions of what has been described in the overall release process. Afterward determine sharp edges that can be improved.

*: language of your choice

Acceptance Criteria:

@peternied
Copy link
Member Author

I've got a basic workflow, https://github.com/peternied/data-prepper/pull/new/uni-poc still need to make sure there is glue on the other side and confirm the jenkins connection.

I've created a fresh CI instance to make sure I'm not depending on our existing logic following https://github.com/opensearch-project/opensearch-ci dev deployment

@peternied
Copy link
Member Author

I have created a proof of concept workflow tested within a jenkins instance:

  • Implementation for sign, promote, maven, docker, ecr for Data Prepper, PR
  • Implementation for centrally managed pipeline in OpenSeach-Build, PR
  • Workflow output, console log

Break down of the work needed to productize this flow:

  • Create the standard release pipeline + test helpers to mock out functionality
  • Confirm the shared boiler plate code for the library import, parameters, workflow, and any additional pipeline configuration
  • Create publishToMaven function
  • Create publishToArtifactRepositry function
  • Work backwards on what the distribution manifest should include that is missing, or create additional parameters in the job
  • Create a DistManifest class
  • Update Dist manifest in python to follow the new schema

@peternied
Copy link
Member Author

Updated the recent associated PR to include the potential manifest changes, and reviewed with Data Prepper team.

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

No branches or pull requests

1 participant