Skip to content
Snippets Groups Projects
Unverified Commit ba5b9820 authored by Ryan Laurie's avatar Ryan Laurie Committed by GitHub
Browse files

Automatically tag automatic releases as `nightly` (#48101)

* auto tag nightly releases

* update dependencies
parent c28f288d
No related merge requests found
......@@ -28,6 +28,30 @@ on:
description: Apply to OSS
type: boolean
default: true
workflow_call:
inputs:
version:
type: string
required: true
tag_name:
type: string
# options:
# - nightly
# - beta
# - latest
required: true
tag_rollout:
description: Rollout % (0-100)
type: number
default: 100
tag_ee:
description: Apply to EE
type: boolean
default: true
tag_oss:
description: Apply to OSS
type: boolean
default: true
jobs:
check-version:
......
......@@ -687,6 +687,17 @@ jobs:
--distribution-id ${{ vars.AWS_CLOUDFRONT_STATIC_ID }} \
--paths "/version-info.json" "/version-info-ee.json"
tag-nightly:
if: ${{ inputs.auto }}
needs: [push-tags, verify-docker-pull, verify-s3-download]
uses: ./.github/workflows/release-tag.yml
with:
version: ${{ inputs.version }}
tag_name: nightly
tag_rollout: 100
tag_ee: true
tag_oss: true
publish-complete-message:
if: ${{ !inputs.auto }}
runs-on: ubuntu-22.04
......@@ -719,7 +730,7 @@ jobs:
auto-publish-complete-message:
if: ${{ inputs.auto }}
runs-on: ubuntu-22.04
needs: [push-tags, verify-docker-pull, verify-s3-download]
needs: tag-nightly
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment