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

Consolidate release information into single metadata file that's consumed by builds and test #32872

Closed
4 tasks
alpar-t opened this issue Aug 15, 2018 · 2 comments
Closed
4 tasks
Assignees
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team

Comments

@alpar-t
Copy link
Contributor

alpar-t commented Aug 15, 2018

We should create a single metadata file such as for each version:

features:
    - rolling-upgrade 
    - fips
versions:
    7.0.0:     
         released: false
         latest-qualifier: alpha1
         supports: [ 'rolling-upgrade', 'fips' ]
         minimumJavaVersion: 8
         maxJavaVersion: 11    
testing:
    rolling-upgrade:
         from: '5.6.0'  
         project: ':qa:rolling-upgrade'
         task: ''

The actual fields in the final metadata will vary, we will only model what is needed, the above snippet is just a sample of how this could end up. The key takeaway is that :

  • the information is factual, fine grained and complete. All information required for deciding on tests should be present here. It's expected that the implementation that reads this meta data will have methods like bwcVersions(feature) , javaVersion(feature, version) etc so the tests don't have to make that decision locally.
  • provides an (also) human readable summary of which features are supported where and how we test them
  • allows for some level of automatic validation

Steps:

  • consensus on the approach and format
  • start consuming these from tests and extending the metadata as we go
  • write a task to validate that all tasks were generated and the dependency chain is correct for bwcTests the task would check the task graph and error out if bwcTests is on it but not all testing tasks are (assume consistent task naming).
  • write a task to generate a .dot graph to visualize the testing that is done

References:

@alpar-t alpar-t added the :Delivery/Build Build or test infrastructure label Aug 15, 2018
@alpar-t alpar-t self-assigned this Aug 15, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-infra

@alpar-t
Copy link
Contributor Author

alpar-t commented Sep 25, 2018

Discussed with @rjernst, turns out we had a more descriptive approach before and did not like the maintenance of it. Iterating on the current approach instead see #34050 for more details.

@alpar-t alpar-t closed this as completed Sep 25, 2018
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team
Projects
None yet
Development

No branches or pull requests

3 participants