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

Finish internal build workflow #735

Merged
merged 13 commits into from
Mar 26, 2024
6 changes: 6 additions & 0 deletions .changes/unreleased/Under the Hood-20240320-144007.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Under the Hood
body: Finalize the redshift internal release build workflow
time: 2024-03-20T14:40:07.659826-07:00
custom:
Author: versusfacit
Issue: "38"
23 changes: 18 additions & 5 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 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:
workflow_dispatch:
Expand All @@ -8,9 +20,10 @@ on:
type: string
required: true
sha:
description: "The sha to use (leave empty to use latest on main)"
VersusFacit marked this conversation as resolved.
Show resolved Hide resolved
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 @@ -22,13 +35,13 @@ defaults:
shell: "bash"

env:
PYTHON_TARGET_VERSION: 3.11
PYTHON_TARGET_VERSION: 3.8

VersusFacit marked this conversation as resolved.
Show resolved Hide resolved
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@mp/finish_internal_workflow"

Copy link
Contributor Author

@VersusFacit VersusFacit Mar 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to change this once main has all the changes needed to support all the other workflows. Since this PR's workflow can be invoked using the branch reference, I'll merge at the time I can revert to main (unless there is an alternate path desired)

with:
version_number: "${{ inputs.version_number }}"
Expand Down
Loading