Merge pull request 'ci(tag): release Gitea (commit list) avant le dispatch Renovate + corps JSON du dispatch corrigé' (#32) from chore/release-notes into master
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 53s
Renovate / renovate (push) Successful in 46s
Main Release / build (push) Successful in 27s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 12s
Tag Release / test (push) Successful in 22s
Tag Release / build-push (push) Successful in 1m23s
Gitea Release / release (push) Successful in 10s
Tag Release / release (push) Successful in 10s
Tag Release / trigger-renovate (push) Successful in 17s
Main Release / hadolint (push) Successful in 8s
Main Release / test (push) Successful in 53s
Renovate / renovate (push) Successful in 46s
Main Release / build (push) Successful in 27s
Main Release / tag (push) Successful in 13s
Tag Release / hadolint (push) Successful in 12s
Tag Release / test (push) Successful in 22s
Tag Release / build-push (push) Successful in 1m23s
Gitea Release / release (push) Successful in 10s
Tag Release / release (push) Successful in 10s
Tag Release / trigger-renovate (push) Successful in 17s
Reviewed-on: #32
This commit was merged in pull request #32.
This commit is contained in:
commit
156ccc362a
1 file changed
+13
-2
@@ -47,11 +47,22 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
pull: true
|
||||
|
||||
release:
|
||||
# Publishes the Gitea release for this tag (body = commits since the previous
|
||||
# tag). Renovate copies that body into the bump PR in
|
||||
# perso_private/tf-depl-kubernetes under "Release Notes"; without a release
|
||||
# that section stays empty (bare "Compare Source" link).
|
||||
needs: [build-push]
|
||||
uses: perso/gitea-pipelines/.gitea/workflows/gitea-release.yaml@main
|
||||
with:
|
||||
image: jcabillot/phpapache
|
||||
secrets: inherit
|
||||
|
||||
trigger-renovate:
|
||||
# The deployment repo perso_private/tf-depl-kubernetes pins this image; its
|
||||
# Renovate instance only scans hourly, so this dispatch opens the image bump
|
||||
# PR within minutes of the release instead of up to an hour later.
|
||||
needs: [build-push]
|
||||
needs: [build-push, release]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger Renovate on perso_private/tf-depl-kubernetes
|
||||
@@ -62,6 +73,6 @@ jobs:
|
||||
curl -sS -f -X POST \
|
||||
-u "renovate:${{ secrets.RENOVATE_TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{{"ref":"main"}}' \
|
||||
-d '{"ref":"main"}' \
|
||||
"https://scm.cabillot.eu/api/v1/repos/perso_private/tf-depl-kubernetes/actions/workflows/renovate.yaml/dispatches"
|
||||
echo "Renovate dispatched on perso_private/tf-depl-kubernetes"
|
||||
Reference in new issue
Block a user