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

Commit

Permalink
Add deprecation warning (#2639)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Jun 25, 2024
1 parent 44f33ee commit 0abb7c9
Show file tree
Hide file tree
Showing 13 changed files with 67 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/buildkite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/buildkite/run')
- uses: hashicorp/[email protected]
with:
url: ${{ inputs.vaultUrl }}
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/docker-login/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use docker/login-action with GitHub secrets.')
- uses: hashicorp/[email protected]
with:
url: ${{ inputs.url }}
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/notify-build-status/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ inputs:
runs:
using: composite
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/slack/notify-result.')
- name: Prepare data
id: prepare
shell: bash
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/oblt-cli-cluster-credentials/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ inputs:
runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-credentials')
- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-name-validation@current
id: validation
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/oblt-cli-cluster-name-validation/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ outputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-name-validation.')
- name: Process inputs
uses: actions/github-script@v7
id: process
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/oblt-cli-create-ccs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-ccs')
- name: Configure oblt-cli flags
run: |
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/oblt-cli-create-custom/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ inputs:
runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-custom')
- name: Configure oblt-cli flags for gitops - issues
if: ${{ !github.event.issue.pull_request && contains(inputs.gitops, 'true') }}
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/oblt-cli-create-serverless/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ inputs:
runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-create-serverless')
- name: Configure oblt-cli flags
uses: actions/github-script@v7
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/oblt-cli-destroy-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ inputs:
runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/cluster-destroy')
- uses: elastic/apm-pipeline-library/.github/actions/oblt-cli-cluster-name-validation@current
id: validation
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/oblt-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ inputs:
runs:
using: "composite"
steps:
- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/run')
- name: Setup oblt-cli
uses: elastic/apm-pipeline-library/.github/actions/setup-oblt-cli@current
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/setup-git/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ inputs:
runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/git/setup.')
- if: ${{ inputs.token }}
shell: bash
run: echo 'GITHUB_TOKEN=${{ env.GITHUB_TOKEN }}' >> $GITHUB_ENV
Expand Down
6 changes: 6 additions & 0 deletions .github/actions/setup-oblt-cli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ inputs:
runs:
using: composite
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/oblt-cli/setup')
- name: Download oblt-cli and append to PATH
run: ${{ github.action_path }}/download.sh
env:
Expand Down
5 changes: 5 additions & 0 deletions .github/actions/updatecli/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ runs:
using: "composite"
steps:

- uses: actions/github-script@v7
with:
script: |
core.warning('This action is deprecated. Use https://github.com/elastic/oblt-actions/tree/main/updatecli/run.')
- name: Setup Git
uses: elastic/apm-pipeline-library/.github/actions/setup-git@current

Expand Down

0 comments on commit 0abb7c9

Please sign in to comment.