mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
oblt: support github command for serverless (#158237)
This commit is contained in:
parent
34f21becf5
commit
d68317d95b
2 changed files with 14 additions and 1 deletions
14
.github/workflows/deploy-my-kibana.yml
vendored
14
.github/workflows/deploy-my-kibana.yml
vendored
|
@ -2,7 +2,7 @@
|
|||
##
|
||||
## This the automation to let Observability team members to deploy a Kibana instance
|
||||
## using the Observability test environments.
|
||||
## It will deploy a new instance for those who add a comment /oblt-deploy
|
||||
## It will deploy a new instance for those who add a comment /oblt-deploy or /oblt-deploy-serverless
|
||||
## only supported for Elasticians.
|
||||
##
|
||||
## Owner: @elastic/observablt-robots
|
||||
|
@ -28,3 +28,15 @@ jobs:
|
|||
vaultUrl: ${{ secrets.OBLT_VAULT_ADDR }}
|
||||
vaultRoleId: ${{ secrets.OBLT_VAULT_ROLE_ID }}
|
||||
vaultSecretId: ${{ secrets.OBLT_VAULT_SECRET_ID }}
|
||||
serverless: false
|
||||
|
||||
deploy-my-kibana-serverless:
|
||||
if: ${{ github.event.issue.pull_request && github.event.comment.body == '/oblt-deploy-serverless'}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: elastic/apm-pipeline-library/.github/actions/deploy-my-kibana@current
|
||||
with:
|
||||
vaultUrl: ${{ secrets.OBLT_VAULT_ADDR }}
|
||||
vaultRoleId: ${{ secrets.OBLT_VAULT_ROLE_ID }}
|
||||
vaultSecretId: ${{ secrets.OBLT_VAULT_SECRET_ID }}
|
||||
serverless: true
|
||||
|
|
1
.github/workflows/oblt-github-commands.yml
vendored
1
.github/workflows/oblt-github-commands.yml
vendored
|
@ -50,6 +50,7 @@ jobs:
|
|||
|
||||
Just comment with:
|
||||
- \`/oblt-deploy\` : Deploy a Kibana instance using the Observability test environments.
|
||||
- \`/oblt-deploy-serverless\` : Deploy a Kibana instance using the Observability `serverless` test environment [only for main].
|
||||
- \`run\` \`elasticsearch-ci/docs\` : Re-trigger the docs validation. (use unformatted text in the comment!)
|
||||
|
||||
</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue