Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github actions job for the creating/terminating databricks cluster #2043

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 18 additions & 17 deletions .github/workflows/ci-astro-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
---
name: "Astro Deploy"
on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:
inputs:
git_rev:
description: 'The git revision to deploy'
description: "The git revision to deploy"
required: false
default: ''
default: ""

environment_to_deploy:
description: 'astro cloud deployment to deploy to'
description: "astro cloud deployment to deploy to"
required: true
type: choice
options:
Expand All @@ -23,16 +24,16 @@ on:
(e.g. "example_mssql_transform, example_load_file")
required: false
type: string
default: ''
default: ""
workflow_call:
inputs:
git_rev:
description: 'The git revision to deploy'
description: "The git revision to deploy"
type: string
required: false
default: ''
default: ""
environment_to_deploy:
description: 'astro cloud deployment to deploy to'
description: "astro cloud deployment to deploy to"
required: true
type: string
default: both
Expand All @@ -42,7 +43,7 @@ on:
(e.g. "example_mssql_transform, example_load_file")
required: false
type: string
default: ''
default: ""

jobs:
deploy-to-astro-sdk-integration-tests:
Expand All @@ -52,11 +53,11 @@ jobs:
uses: ./.github/workflows/reuse-wf-deploy-to-astro-cloud.yaml
with:
git_rev: ${{ inputs.git_rev }}
environment_to_deploy: 'astro-sdk-integration-tests'
environment_to_deploy: "astro-sdk-integration-tests"
secrets:
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
astronomer_key_id: ${{ secrets.ASTRO_KEY_ID }}
astronomer_key_secret: ${{ secrets.ASTRO_KEY_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down Expand Up @@ -85,11 +86,11 @@ jobs:
uses: ./.github/workflows/reuse-wf-deploy-to-astro-cloud.yaml
with:
git_rev: ${{ inputs.git_rev }}
environment_to_deploy: 'astro-sdk-integration-tests-on-KE'
environment_to_deploy: "astro-sdk-integration-tests-on-KE"
secrets:
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID_KE }}
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID_KE }}
astronomer_key_id: ${{ secrets.ASTRO_KEY_ID_KE }}
astronomer_key_secret: ${{ secrets.ASTRO_KEY_SECRET_KE }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci-benchmark.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
name: Run benchmarks
on:
pull_request:
types:
- labeled
schedule:
- cron: '0 0 * * 1'
- cron: "0 0 * * 1"

# This allows a subsequently queued workflow run to interrupt and cancel previous runs
concurrency:
Expand Down
Loading
Loading