Speed up work builds

This commit is contained in:
cytopia
2022-04-01 16:16:27 +02:00
parent 8334b38869
commit b6883cf4be
15 changed files with 1 additions and 972 deletions

View File

@@ -1171,6 +1171,7 @@ extensions_available:
version: 4.4.26
all:
type: pecl
# Note: -D is only supported from PHP 7.2+
command: pecl install -D 'enable-sockets="no" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-swoole-json="no" enable-swoole-curl="yes" enable-cares="yes" with-postgres="yes"' swoole
build_dep: [libc-ares-dev, libnghttp2-dev, libssl-dev, libcurl4-openssl-dev]
run_dep: [libc-ares2, libnghttp2-14]

View File

@@ -126,8 +126,6 @@ software_enabled:
- symfony
- wkhtmltopdf
- wpcli
# Cleanup needs to be last
- cleanup
# -------------------------------------------------------------------------------------------------
@@ -585,13 +583,6 @@ software_available:
su -c '. {{ nvm_home }}/nvm.sh; nvm install {{ node_version }}' devilbox \
&& su -c '. {{ nvm_home }}/nvm.sh; nvm use {{ node_version }}' devilbox \
&& su -c '. {{ nvm_home }}/nvm.sh; corepack enable' devilbox \
{% for f in directory_to_clean %}
&& (rm -rf /home/devilbox/{{ f }} || true) \
{% endfor %}
\
{% for f in directory_to_clean %}
&& (rm -rf /root/{{ f }} || true) \
{% endfor %}
awesomeci:
check: regex-grep --version | grep -E '[0-9][.0-9]+'
all:
@@ -1093,17 +1084,3 @@ software_available:
all:
command: curl -sS -L --fail https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar -L -o /usr/local/bin/wp
post: chmod +x /usr/local/bin/wp
cleanup:
all:
command: |
true \
{% for f in directory_to_clean %}
&& (rm -rf /home/devilbox/{{ f }} || true) \
{% endfor %}
\
{% for f in directory_to_clean %}
&& (rm -rf /root/{{ f }} || true) \
{% endfor %}
\
&& rm -rf /tmp/* \
&& (rm -rf /tmp/.* || true) \