Skip to content

Commit

Permalink
Merge pull request #184 from devilbox/release-0.119
Browse files Browse the repository at this point in the history
Release 0.119
  • Loading branch information
cytopia authored Dec 1, 2020
2 parents 6616f33 + a002d3a commit e51d28f
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 22 deletions.
27 changes: 18 additions & 9 deletions .github/workflows/php-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -143,6 +143,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Base
run: |
Expand All @@ -153,7 +154,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -162,6 +163,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -176,7 +178,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -185,6 +187,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Mods
run: |
Expand All @@ -195,7 +198,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -204,6 +207,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -218,7 +222,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -227,6 +231,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Prod
run: |
Expand All @@ -237,7 +242,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -246,6 +251,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -260,7 +266,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -269,6 +275,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Work
run: |
Expand All @@ -279,7 +286,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -288,6 +295,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -314,7 +322,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand Down Expand Up @@ -349,6 +357,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10
# https://help.github.com/en/github/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions#functions
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
&& (
Expand Down
27 changes: 18 additions & 9 deletions .github/workflows/php-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -147,6 +147,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Base
run: |
Expand All @@ -157,7 +158,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -166,6 +167,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -180,7 +182,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -189,6 +191,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Mods
run: |
Expand All @@ -199,7 +202,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -208,6 +211,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -222,7 +226,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -231,6 +235,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Prod
run: |
Expand All @@ -241,7 +246,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -250,6 +255,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -264,7 +270,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -273,6 +279,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10

- name: Test Work
run: |
Expand All @@ -283,7 +290,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand All @@ -292,6 +299,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10


# ------------------------------------------------------------
Expand All @@ -318,7 +326,7 @@ jobs:
echo "[SUCC] ${n}/${RETRIES}";
return 0;
fi;
sleep 2;
sleep ${PAUSE};
echo "[FAIL] ${n}/${RETRIES}";
done;
return 1;
Expand Down Expand Up @@ -353,6 +361,7 @@ jobs:
env:
VERSION: ${{ matrix.version }}
RETRIES: 20
PAUSE: 10
# https://help.github.com/en/github/automating-your-workflow-with-github-actions/contexts-and-expression-syntax-for-github-actions#functions
if: github.event.pull_request.base.repo.id == github.event.pull_request.head.repo.id
&& (
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
## Unreleased


## Release 0.119

#### Fixed
- Fixed `drupal` (drupal console launcher) for PHP 5.5, 5.6, 7.0 and 7.1
- Fixed `zsh` install for PHP 5.6 and 7.0


## Release 0.118

#### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/work/Dockerfile-5.5
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ RUN set -eux \
\
\
# -------------------- drupalconsole --------------------
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
&& DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar" \
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
&& chmod +x /usr/local/bin/drupal \
\
Expand Down
3 changes: 2 additions & 1 deletion Dockerfiles/work/Dockerfile-5.6
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ RUN set -eux \
zip \
zlib1g-dev \
zsh \
zsh-common=5.3.1-4 \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
\
Expand Down Expand Up @@ -225,7 +226,7 @@ RUN set -eux \
\
\
# -------------------- drupalconsole --------------------
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
&& DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar" \
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
&& chmod +x /usr/local/bin/drupal \
\
Expand Down
3 changes: 2 additions & 1 deletion Dockerfiles/work/Dockerfile-7.0
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ RUN set -eux \
zip \
zlib1g-dev \
zsh \
zsh-common=5.3.1-4 \
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
\
Expand Down Expand Up @@ -225,7 +226,7 @@ RUN set -eux \
\
\
# -------------------- drupalconsole --------------------
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
&& DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar" \
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
&& chmod +x /usr/local/bin/drupal \
\
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/work/Dockerfile-7.1
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ RUN set -eux \
\
\
# -------------------- drupalconsole --------------------
&& DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')" \
&& DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar" \
&& curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal \
&& chmod +x /usr/local/bin/drupal \
\
Expand Down
3 changes: 3 additions & 0 deletions build/ansible/DOCKERFILES/Dockerfile-work.j2
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ RUN set -eux \
zip \
zlib1g-dev \
zsh \
{% if php_version in [5.6, 7.0] %}
zsh-common=5.3.1-4 \
{% endif %}
&& DEBIAN_FRONTEND=noninteractive apt-get purge -qq -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false apt-utils \
&& rm -rf /var/lib/apt/lists/* \
\
Expand Down
8 changes: 8 additions & 0 deletions build/ansible/group_vars/all/work.yml
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,14 @@ software_available:
drupalconsole:
disabled: [5.2, 5.3, 5.4, 8.0, 8.1] # TODO: re-enable for 8.0 (currently errors)
check: drupal --version | grep -E 'Drupal Console Launcher\s*[0-9][.0-9]'
5.5:
pre: DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar"
5.6:
pre: DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar"
7.0:
pre: DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar"
7.1:
pre: DURL="https://github.com/hechoendrupal/drupal-console-launcher/releases/download/1.9.4/drupal.phar"
all:
pre: DURL="https://github.com$(curl -sS 'https://github.com/hechoendrupal/drupal-console-launcher/releases' | grep -Eo 'href="/.+drupal.phar"' | head -1 | sed 's/^href="//g' | sed 's/"$//g')"
command: curl -sS -L --fail "${DURL}" -L -o /usr/local/bin/drupal
Expand Down

0 comments on commit e51d28f

Please sign in to comment.