Commit 310b3c5e authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Abandon du script update-satis qui nécessite un clé ssh)

parent f616aafd
Loading
Loading
Loading
Loading
+0 −4
Changes for Dockerfile: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -117,10 +117,6 @@ ADD configs/apache/security.conf ${APACHE_CONF_DIR}/conf-available/security-unic
RUN a2disconf security.conf && \
    a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Scripts maison
ADD scripts/update-satis.sh /usr/local/bin/update-satis
RUN chmod 755 /usr/local/bin/update-satis

# Composer
RUN curl -sS https://getcomposer.org/installer --proxy "${http_proxy}" | php -- --install-dir=/usr/local/bin --filename=composer && \
    composer global require hirak/prestissimo --no-plugins --no-scripts
+0 −4
Changes for Dockerfile.sh: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -124,10 +124,6 @@ cp configs/apache/security.conf ${APACHE_CONF_DIR}/conf-available/security-unica
a2disconf security.conf && \
a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Scripts maison
cp scripts/update-satis.sh /usr/local/bin/update-satis
chmod 755 /usr/local/bin/update-satis

# Composer
curl -sS https://getcomposer.org/installer --proxy "${http_proxy}" | php -- --install-dir=/usr/local/bin --filename=composer && \
composer global require hirak/prestissimo --no-plugins --no-scripts
+0 −4
Changes for Dockerfile7.3+: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -125,10 +125,6 @@ ADD configs/apache/security.conf ${APACHE_CONF_DIR}/conf-available/security-unic
RUN a2disconf security.conf && \
    a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Scripts maison
ADD scripts/update-satis.sh /usr/local/bin/update-satis
RUN chmod 755 /usr/local/bin/update-satis

# Composer
RUN curl -sS https://getcomposer.org/installer --proxy "${http_proxy}" | php -- --install-dir=/usr/local/bin --filename=composer && \
    composer global require hirak/prestissimo --no-plugins --no-scripts
+0 −4
Changes for Dockerfile7.3+.sh: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -125,10 +125,6 @@ cp configs/apache/security.conf ${APACHE_CONF_DIR}/conf-available/security-unica
a2disconf security.conf && \
a2enconf security-unicaen.conf php${PHP_VERSION}-fpm

# Scripts maison
cp scripts/update-satis.sh /usr/local/bin/update-satis
chmod 755 /usr/local/bin/update-satis

# Composer
curl -sS https://getcomposer.org/installer --proxy "${http_proxy}" | php -- --install-dir=/usr/local/bin --filename=composer && \
composer global require hirak/prestissimo --no-plugins --no-scripts

scripts/update-satis.sh

deleted100755 → 0
+0 −10
Changes for scripts/update-satis.sh: 0 added lines, 10 removed lines.
Original line number Diff line number Diff line
#!/usr/bin/env bash

SATIS_DIR="/var/www/html/packagist/satis"
BUILD_DIR="/var/www/html/packagist"
PACKAGES=$*

ssh \
    -o StrictHostKeychecking=no \
    root@lgest1 \
    "cd ${SATIS_DIR} && php bin/satis build --verbose unicaen.json ${BUILD_DIR} ${PACKAGES}"