Skip to content

Commit

Permalink
Finish internal build workflow (#735)
Browse files Browse the repository at this point in the history
* Finish internal build.

* Add comments.

* Add different branch reference for testing with that unmerged workflow.

* Debug setup

* Revert setup.py

* Adjust comments

* Tweaks to input params.

* Change python version to match Cloud.

* Finalize workflow.

* Change branch reference of workflow to main.

---------

Co-authored-by: Mila Page <[email protected]>
  • Loading branch information
VersusFacit and VersusFacit authored Mar 26, 2024
1 parent c99c73b commit be1a252
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions .github/workflows/release-internal.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
name: Release internal patch
# What?
#
# Tag and release an arbitrary ref. Uploads to an internal archive for further processing.
#
# How?
#
# After checking out and testing the provided ref, the image is built and uploaded.
#
# When?
#
# Manual trigger.

name: "Release internal patch"

on:
workflow_dispatch:
Expand All @@ -7,10 +19,11 @@ on:
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)"
ref:
description: "The ref (sha or branch name) to use"
type: string
required: false
default: "main"
required: true
package_test_command:
description: "Package test command"
type: string
Expand All @@ -21,19 +34,16 @@ defaults:
run:
shell: "bash"

env:
PYTHON_TARGET_VERSION: 3.11

jobs:
invoke-reusable-workflow:
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@main"

with:
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "redshift"
sha: "${{ inputs.sha }}"
ref: "${{ inputs.ref }}"

secrets: "inherit"

0 comments on commit be1a252

Please sign in to comment.