Skip to content

Commit

Permalink
update spark internal-release workflow (#1052)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Alfare <[email protected]>
  • Loading branch information
colin-rogers-dbt and mikealfare authored Jun 24, 2024
1 parent cd6efba commit 50634b9
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,12 @@
#
# Manual trigger.

name: "Release internal patch"
name: "Release to Cloud"
run-name: "Release to Cloud off of ${{ inputs.ref }}"

on:
workflow_dispatch:
inputs:
version_number:
description: "The release version number (i.e. 1.0.0b1)"
type: string
required: true
ref:
description: "The ref (sha or branch name) to use"
type: string
Expand All @@ -29,6 +26,11 @@ on:
type: string
default: "python -c \"import dbt.adapters.spark\""
required: true
skip_tests:
description: "Should the tests be skipped? (default to false)"
type: boolean
required: true
default: false

defaults:
run:
Expand Down Expand Up @@ -129,15 +131,14 @@ jobs:
run: python dagger/run_dbt_spark_tests.py --profile ${{ matrix.test }}

invoke-reusable-workflow:
name: "Build and Release Internally"
name: "Create cloud release"
needs: [run-integration-tests]

uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@main"

with:
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "spark"
ref: "${{ inputs.ref }}"
skip_tests: "${{ inputs.skip_tests }}"

secrets: "inherit"

0 comments on commit 50634b9

Please sign in to comment.