Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Commit 0abb7c9

Browse files
authored
Add deprecation warning (#2639)
1 parent 44f33ee commit 0abb7c9

File tree

13 files changed

+67
-0
lines changed

13 files changed

+67
-0
lines changed

.github/actions/buildkite/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ outputs:
7070
runs:
7171
using: "composite"
7272
steps:
73+
- uses: actions/github-script@v7
74+
with:
75+
script: |
76+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/buildkite/run')
77+
7378
- uses: hashicorp/vault-action@v3.0.0
7479
with:
7580
url: ${{ inputs.vaultUrl }}

.github/actions/docker-login/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ outputs:
2323
runs:
2424
using: "composite"
2525
steps:
26+
- uses: actions/github-script@v7
27+
with:
28+
script: |
29+
core.warning('This action is deprecated. Use docker/login-action with GitHub secrets.')
2630
- uses: hashicorp/vault-action@v3.0.0
2731
with:
2832
url: ${{ inputs.url }}

.github/actions/notify-build-status/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ inputs:
2525
runs:
2626
using: composite
2727
steps:
28+
- uses: actions/github-script@v7
29+
with:
30+
script: |
31+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/slack/notify-result.')
32+
2833
- name: Prepare data
2934
id: prepare
3035
shell: bash

.github/actions/oblt-cli-cluster-credentials/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ inputs:
2525
runs:
2626
using: "composite"
2727
steps:
28+
29+
- uses: actions/github-script@v7
30+
with:
31+
script: |
32+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-credentials')
33+
2834
- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-name-validation@current
2935
id: validation
3036
with:

.github/actions/oblt-cli-cluster-name-validation/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ outputs:
1414
runs:
1515
using: "composite"
1616
steps:
17+
- uses: actions/github-script@v7
18+
with:
19+
script: |
20+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-name-validation.')
21+
1722
- name: Process inputs
1823
uses: actions/github-script@v7
1924
id: process

.github/actions/oblt-cli-create-ccs/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ inputs:
3535
runs:
3636
using: "composite"
3737
steps:
38+
- uses: actions/github-script@v7
39+
with:
40+
script: |
41+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-ccs')
3842
3943
- name: Configure oblt-cli flags
4044
run: |

.github/actions/oblt-cli-create-custom/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ inputs:
3939
runs:
4040
using: "composite"
4141
steps:
42+
43+
- uses: actions/github-script@v7
44+
with:
45+
script: |
46+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-custom')
47+
4248
- name: Configure oblt-cli flags for gitops - issues
4349
if: ${{ !github.event.issue.pull_request && contains(inputs.gitops, 'true') }}
4450
run: |

.github/actions/oblt-cli-create-serverless/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@ inputs:
3737
runs:
3838
using: "composite"
3939
steps:
40+
41+
- uses: actions/github-script@v7
42+
with:
43+
script: |
44+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-serverless')
4045
- name: Configure oblt-cli flags
4146
uses: actions/github-script@v7
4247
with:

.github/actions/oblt-cli-destroy-cluster/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ inputs:
1717
runs:
1818
using: "composite"
1919
steps:
20+
21+
- uses: actions/github-script@v7
22+
with:
23+
script: |
24+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-destroy')
25+
2026
- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-name-validation@current
2127
id: validation
2228
with:

.github/actions/oblt-cli/action.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ inputs:
1818
runs:
1919
using: "composite"
2020
steps:
21+
- uses: actions/github-script@v7
22+
with:
23+
script: |
24+
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/run')
25+
2126
- name: Setup oblt-cli
2227
uses: elastic/apm-pipeline-library/.github/actions/setup-oblt-cli@current
2328
with:

0 commit comments

Comments
 (0)