Skip to content

Commit

Permalink
ci(release): automate release steps (#12234)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Dec 19, 2023
1 parent 9d8e17c commit b5547a5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/opentelemetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ name: OpenTelemetry Export Trace
on:
workflow_run:
workflows:
- benchmarks
- bump-elastic-stack-snapshot
- bump-golang
- ci
- microbenchmark
- system-test-reporter
- run-minor-release
- run-patch-release
- smoke-tests
- smoke-tests-os
- smoke-tests-ess
- system-test-reporter
- Terraform Format
- update-beats
types: [completed]
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/run-minor-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: run-minor-release

on:
workflow_dispatch:
inputs:
version:
description: 'The version (semver format: major.minor.patch)'
required: true
type: string

permissions:
contents: read

env:
SLACK_CHANNEL: "#apm-server-test-release"

jobs:
run-minor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
22 changes: 22 additions & 0 deletions .github/workflows/run-patch-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: run-patch-release

on:
workflow_dispatch:
inputs:
version:
description: 'The version (semver format: major.minor.patch)'
required: true
type: string

permissions:
contents: read

env:
SLACK_CHANNEL: "#apm-server-test-release"

jobs:
run-patch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

0 comments on commit b5547a5

Please sign in to comment.