forked from elastic/cloudbeat
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.14 KB
/
update-integration2.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Bump Cloudbeat version2
on:
workflow_dispatch:
inputs:
cloudbeat_version:
description: "The new cloudbeat version number to bump to"
required: true
integration_version:
description: "The new integration version number to bump to"
required: true
env:
GITHUB_CI_TOKEN: ${{ secrets.FORK_TOKEN }}
NEXT_CLOUDBEAT_VERSION: ${{ inputs.cloudbeat_version }}
NEXT_INTEGRATION_VERSION: ${{ inputs.integration_version }}
jobs:
cloudbeat:
runs-on: ubuntu-latest
steps:
- name: Checkout Cloudbeat repo
uses: actions/checkout@v4
- name: exract version
run: |
version=$(grep defaultBeatVersion version/version.go | cut -f2 -d "\"")
echo $version
echo "CURRENT_CLOUDBEAT_VERSION=$version" >> $GITHUB_ENV
echo "Bumping $version to $NEXT_CLOUDBEAT_VERSION"
- name: Bump cloudbeat
run: scripts/bump_cloudbeat.sh
# integration:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Integrations repo
# uses: actions/checkout@v4
# - name: Bump Integration
# run: scripts/bump_integration.sh