From 05d8edb2fef4a3a57e6f94c847b86927048c24ab Mon Sep 17 00:00:00 2001 From: cytopia Date: Sat, 19 Nov 2022 10:32:12 +0100 Subject: [PATCH] Fix Phalcon versions --- Dockerfiles/mods/Dockerfile-7.2 | 4 ++-- Dockerfiles/mods/Dockerfile-7.3 | 4 ++-- build/ansible/group_vars/all/mods.yml | 10 ++++++++++ 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/Dockerfiles/mods/Dockerfile-7.2 b/Dockerfiles/mods/Dockerfile-7.2 index 7907a8b..cc001d4 100644 --- a/Dockerfiles/mods/Dockerfile-7.2 +++ b/Dockerfiles/mods/Dockerfile-7.2 @@ -534,12 +534,12 @@ RUN set -eux \ # -------------------- Installing PHP Extension: phalcon -------------------- RUN set -eux \ - # Installation: Generic + # Installation: Version specific # Type: GIT extension && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ # Custom: Branch - && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep -E '^v[.0-9]+$' | tail -1) \ + && git checkout v4.1.1 \ # Custom: Install command && cd build && ./install \ # Enabling diff --git a/Dockerfiles/mods/Dockerfile-7.3 b/Dockerfiles/mods/Dockerfile-7.3 index 49050c5..d219fe3 100644 --- a/Dockerfiles/mods/Dockerfile-7.3 +++ b/Dockerfiles/mods/Dockerfile-7.3 @@ -524,12 +524,12 @@ RUN set -eux \ # -------------------- Installing PHP Extension: phalcon -------------------- RUN set -eux \ - # Installation: Generic + # Installation: Version specific # Type: GIT extension && git clone https://github.com/phalcon/cphalcon /tmp/phalcon \ && cd /tmp/phalcon \ # Custom: Branch - && git checkout $(git for-each-ref --format='%(*creatordate:raw)%(creatordate:raw) %(refname)' refs/tags | sort -n | sed 's/^.*tags\///g' | grep -E '^v[.0-9]+$' | tail -1) \ + && git checkout v4.1.2 \ # Custom: Install command && cd build && ./install \ # Enabling diff --git a/build/ansible/group_vars/all/mods.yml b/build/ansible/group_vars/all/mods.yml index 5186ac6..0b60304 100644 --- a/build/ansible/group_vars/all/mods.yml +++ b/build/ansible/group_vars/all/mods.yml @@ -946,6 +946,16 @@ extensions_available: git_url: https://github.com/phalcon/cphalcon git_ref: v3.4.4 command: cd build && ./install + 7.2: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v4.1.1 + command: cd build && ./install + 7.3: + type: git + git_url: https://github.com/phalcon/cphalcon + git_ref: v4.1.2 + command: cd build && ./install all: type: git git_url: https://github.com/phalcon/cphalcon