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 release internal workflow #36

Merged
merged 13 commits into from
Mar 26, 2024
23 changes: 9 additions & 14 deletions .github/workflows/release-internal.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
# What?
#
# Send a sha as a fully fledged relase to an internal archive for further processing.
# Tag and release an arbitrary ref. Uploads to an internal archive for further processing.
#
# How?
#
# Checkout the sha
# Test it
# Build it
# Upload it
# After checking out and testing the provided ref, the image is built and uploaded.
#
# When?
#
# Manual trigger
# Manual trigger.

name: Release internal patch
name: "Release internal patch"

on:
workflow_dispatch:
Expand All @@ -22,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 @@ -36,9 +34,6 @@ defaults:
run:
shell: "bash"

env:
PYTHON_TARGET_VERSION: 3.11

jobs:
invoke-reusable-workflow:
VersusFacit marked this conversation as resolved.
Show resolved Hide resolved
name: "Build and Release Internally"
Expand All @@ -49,6 +44,6 @@ jobs:
version_number: "${{ inputs.version_number }}"
package_test_command: "${{ inputs.package_test_command }}"
dbms_name: "postgres"
sha: "${{ inputs.sha }}"
ref: "${{ inputs.ref }}"

secrets: "inherit"
Loading