-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Friendica - Fix Upgrade behavior #11619
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Diff for 6c6c80e:diff --git a/_bashbrew-cat b/_bashbrew-cat
index 6d2dcd5..558e2fe 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -19,30 +19,30 @@ Directory: 2021.09/fpm-alpine
Tags: 2021.12-dev-apache, dev-apache, 2021.12-dev, dev
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-dev/apache
Tags: 2021.12-dev-fpm, dev-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-dev/fpm
Tags: 2021.12-dev-fpm-alpine, dev-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-dev/fpm-alpine
Tags: 2021.12-rc-apache, rc-apache, 2021.12-rc, rc
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-rc/apache
Tags: 2021.12-rc-fpm, rc-fpm
Architectures: amd64, arm32v5, arm32v7, arm64v8, i386, mips64le, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-rc/fpm
Tags: 2021.12-rc-fpm-alpine, rc-fpm-alpine
Architectures: amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le, s390x
-GitCommit: 9f8658cf5372dc4ac75a9d5d330d7f35a83ddbdf
+GitCommit: 933e3c5604ff01fe6a2a4d3a23b92effe5e152b0
Directory: 2021.12-rc/fpm-alpine
diff --git a/friendica_dev-fpm-alpine/entrypoint-dev.sh b/friendica_dev-fpm-alpine/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_dev-fpm-alpine/entrypoint-dev.sh
+++ b/friendica_dev-fpm-alpine/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"
diff --git a/friendica_dev-fpm/entrypoint-dev.sh b/friendica_dev-fpm/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_dev-fpm/entrypoint-dev.sh
+++ b/friendica_dev-fpm/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"
diff --git a/friendica_dev/entrypoint-dev.sh b/friendica_dev/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_dev/entrypoint-dev.sh
+++ b/friendica_dev/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"
diff --git a/friendica_rc-fpm-alpine/entrypoint-dev.sh b/friendica_rc-fpm-alpine/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_rc-fpm-alpine/entrypoint-dev.sh
+++ b/friendica_rc-fpm-alpine/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"
diff --git a/friendica_rc-fpm/entrypoint-dev.sh b/friendica_rc-fpm/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_rc-fpm/entrypoint-dev.sh
+++ b/friendica_rc-fpm/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256"
diff --git a/friendica_rc/entrypoint-dev.sh b/friendica_rc/entrypoint-dev.sh
index 2f2bd3e..8b34c21 100755
--- a/friendica_rc/entrypoint-dev.sh
+++ b/friendica_rc/entrypoint-dev.sh
@@ -2,7 +2,7 @@
set -eu
# just check if we execute apache or php-fpm
-if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_DISABLE_UPGRADE:-false}" = "false" ]; then
+if (expr "$1" : "apache" 1>/dev/null || [ "$1" = "php-fpm" ]) && [ "${FRIENDICA_UPGRADE:-false}" = "true" ]; then
curl -fsSL -o "/usr/src/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_VERSION}.tar.gz.sum256"
curl -fsSL -o "/usr/src/friendica-addons-${FRIENDICA_ADDONS}.tar.gz.sum256" "https://files.friendi.ca/friendica-full-${FRIENDICA_ADDONS}.tar.gz.sum256" Relevant Maintainers:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FollowUp #11610
Unfortunately I mixed two environment variables - see friendica/docker#182 for details