penpot: add patch disallow. reg. with invite, if pass. login is disabled
All checks were successful
ci/woodpecker/push/penpot/2 Pipeline was successful
ci/woodpecker/push/penpot/3 Pipeline was successful
ci/woodpecker/push/penpot/1 Pipeline was successful
ci/woodpecker/cron/nextcloud/2 Pipeline was successful
ci/woodpecker/cron/keycloak Pipeline was successful
ci/woodpecker/cron/nextcloud/1 Pipeline was successful
ci/woodpecker/cron/penpot/2 Pipeline was successful
ci/woodpecker/cron/penpot/3 Pipeline was successful
ci/woodpecker/cron/penpot/1 Pipeline was successful

This commit is contained in:
June 2024-08-10 20:40:03 +02:00
parent a4a0af5d65
commit 98175014f9
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -44,6 +44,10 @@ steps:
# https://github.com/penpot/penpot/pull/4945 # https://github.com/penpot/penpot/pull/4945
# https://github.com/penpot/penpot/pull/4945/commits/752574bac789cc90cc218004bb9545cc6239895d # https://github.com/penpot/penpot/pull/4945/commits/752574bac789cc90cc218004bb9545cc6239895d
- curl https://github.com/penpot/penpot/commit/752574bac789cc90cc218004bb9545cc6239895d.patch > 0001-move-entire-image-build-process-into-Dockerfiles.patch - curl https://github.com/penpot/penpot/commit/752574bac789cc90cc218004bb9545cc6239895d.patch > 0001-move-entire-image-build-process-into-Dockerfiles.patch
# Get patch disallowing registration with invitation token, when disable-login-with-password flag is set.
# https://github.com/penpot/penpot/issues/4975
# https://github.com/june128/penpot/commit/f799da132bf5a51015859031f45154172fbf7cd0
- curl https://github.com/june128/penpot/commit/f799da132bf5a51015859031f45154172fbf7cd0.patch > 0002-hotfix-dont-allow-registration-with-invite-if-password-login-is-disabled.patch
- git config user.name "Woodpecker" - git config user.name "Woodpecker"
- git config user.email "woodpecker@woodpecker.invalid" - git config user.email "woodpecker@woodpecker.invalid"
- git am *.patch - git am *.patch