elastic / ecs-logging-php

Apache License 2.0
19 stars 35 forks source link

[CI] automate release process #19

Closed v1v closed 3 years ago

v1v commented 3 years ago

What

Update docs with the contributing guideline. Add release guideline. Enable release automation when a tag release is created with the format d+.\d+.\d+ Release automation:

Actions

How to run locally

$ GITHUB_TOKEN=${GREN_GITHUB_TOKEN} TAG_NAME=1.0.2 make -f .ci/Makefile release

Output

Getting gren config from local file /app/.ci/.grenrc.js

šŸ¤–  - Generate release notes:
===================================
āœ” Releases found: 3
āœ” Tags found: 1.0.2
āœ” Pull Requests found: 13
āœ” 1.0.2 has been successfully created!
See the results here: https://github.com/elastic/ecs-logging-php/releases/tag/1.0.2

Tests

image

apmmachine commented 3 years ago

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS Pipeline View Test View Changes Artifacts preview

Expand to view the summary

#### Build stats * Build Cause: `Branch indexing` * Start Time: 2021-02-09T19:43:13.958+0000 * Duration: 15 min 37 sec * Commit: a79d7b952ce20fc22f51e6c64356ed1a5106962f #### Test stats :test_tube: | Test | Results | | ------------ | :-----------------------------: | | Failed | 0 | | Passed | 80 | | Skipped | 4 | | Total | 84 | #### Trends :test_tube: ![Image of Build Times](https://apm-ci.elastic.co/job/apm-agent-php/job/ecs-logging-php-mbp/job/PR-19/buildTimeGraph/png) ![Image of Tests](https://apm-ci.elastic.co/job/apm-agent-php/job/ecs-logging-php-mbp/job/PR-19/8/testReport/history/countGraph/png?start=0&end=25)

v1v commented 3 years ago

Somehow the current implementation with the gren library seems to be a bit buggy, so I'll try something else then