From 303fd24690875a4ad46f547e7e720885bed0651f Mon Sep 17 00:00:00 2001 From: Mila Page Date: Wed, 20 Mar 2024 18:57:22 -0700 Subject: [PATCH] Add comments and make fit conventions. --- .github/workflows/release-internal.yml | 44 +++++++++++--------------- 1 file changed, 18 insertions(+), 26 deletions(-) diff --git a/.github/workflows/release-internal.yml b/.github/workflows/release-internal.yml index dc12e3781..6e4fbc285 100644 --- a/.github/workflows/release-internal.yml +++ b/.github/workflows/release-internal.yml @@ -1,3 +1,15 @@ +# What? +# +# Tag and release an arbitrary sha. Uploads to an internal archive for further processing. +# +# How? +# +# After checking out and testing the provided sha, the image is built and uploaded. +# +# When? +# +# Manual trigger. + name: Release internal patch on: @@ -21,26 +33,6 @@ on: type: string default: "snowflake" required: true - workflow_call: - inputs: - version_number: - description: "The release version number (i.e. 1.0.0b1)" - type: string - required: true - sha: - description: "The sha to use (leave empty to use latest on main)" - type: string - required: false - package_test_command: - description: "Package test command" - type: string - default: "python -c \"import dbt.adapters.snowflake\"" - required: true - dbms_name: - description: "The name of the warehouse the adapter connects to." - type: string - default: "snowflake" - required: true defaults: run: @@ -51,14 +43,14 @@ env: jobs: invoke-reusable-workflow: - name: Build and Release Internally + name: "Build and Release Internally" - uses: VersusFacit/dbt-release/.github/workflows/internal-archive-release.yml@main + uses: "dbt-labs/dbt-release/.github/workflows/internal-archive-release.yml@mp/finish_internal_workflow" with: - version_number: ${{ inputs.version_number }} - package_test_command: ${{ inputs.package_test_command }} - dbms_name: ${{ inputs.dbms_name }} - sha: ${{ inputs.sha }} + version_number: "${{ inputs.version_number }}" + package_test_command: "${{ inputs.package_test_command }}" + dbms_name: "${{ inputs.dbms_name }}" + sha: "${{ inputs.sha }}" secrets: inherit