mirror of
https://github.com/penpot/penpot.git
synced 2026-09-13 06:10:47 -04:00
Add a `force` input to Bundles Builder, Docker Images Builder and the admin-console dispatcher to bypass the existing S3/registry skip checks and overwrite artifacts unconditionally. Propagate it through _DEVELOP, _STAGING and _TAG (defaulting to false on non-dispatch triggers, since schedule/push events carry no inputs). Add a new _ADHOC workflow to build the full image set (bundle + all docker images + nitrate admin-console) from an arbitrary ref pair, for one-off builds of feature branches like test-bameda. Enrich the build/promote step summaries with the built version (`git describe --tags --always`), a link to the commit and the build timestamp. Add run-name to all `_`-prefixed workflows so the target ref (and, where reliable, the commit sha) is visible directly in the Actions run list. Signed-off-by: David Barragán Merino <david.barragan@kaleidos.net>
43 lines
922 B
YAML
43 lines
922 B
YAML
name: _DEVELOP
|
|
|
|
run-name: >-
|
|
_DEVELOP (develop @ ${{ github.sha }})
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
force:
|
|
description: 'Rebuild and overwrite even if already built/promoted'
|
|
type: boolean
|
|
required: false
|
|
default: false
|
|
schedule:
|
|
- cron: '16 5-20 * * 1-5'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-bundle:
|
|
uses: ./.github/workflows/build-bundle.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
force: ${{ inputs.force || false }}
|
|
|
|
build-docker:
|
|
needs: build-bundle
|
|
uses: ./.github/workflows/build-docker.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
force: ${{ inputs.force || false }}
|
|
|
|
build-docker-admin-console:
|
|
uses: ./.github/workflows/build-docker-admin-console.yml
|
|
secrets: inherit
|
|
with:
|
|
gh_ref: "develop"
|
|
force: ${{ inputs.force || false }}
|