From 67814e01e90aac018927cbb4ac7b221fc68b73cc Mon Sep 17 00:00:00 2001 From: Byron Duvall Date: Thu, 20 Jan 2022 10:05:05 -0500 Subject: [PATCH] make deploy examples consistent with config.yml --- defaults/install/.circleci/deploy-acquia-example | 7 ++----- defaults/install/.circleci/deploy-pantheon.example | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/defaults/install/.circleci/deploy-acquia-example b/defaults/install/.circleci/deploy-acquia-example index be260ab6..2988e907 100644 --- a/defaults/install/.circleci/deploy-acquia-example +++ b/defaults/install/.circleci/deploy-acquia-example @@ -33,7 +33,7 @@ - add_ssh_keys - run: name: Install packages - command: sudo apt-get install -y libpng-dev + command: sudo apt-get update && sudo apt-get install -y libpng-dev - run: name: Install nvm @@ -43,13 +43,10 @@ touch $BASH_ENV echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV - - run: - name: Install PHP extensions - command: sudo docker-php-ext-install gd - run: name: Configure PHP command: | - echo "memory_limit=-1" | sudo tee -a "/usr/local/etc/php/php.ini" + echo "sendmail_path=/bin/true" | sudo tee -a "/etc/php.d/circleci.ini" - run: name: Configure Git command: | diff --git a/defaults/install/.circleci/deploy-pantheon.example b/defaults/install/.circleci/deploy-pantheon.example index 3feab4e3..15c2d583 100644 --- a/defaults/install/.circleci/deploy-pantheon.example +++ b/defaults/install/.circleci/deploy-pantheon.example @@ -35,7 +35,7 @@ - add_ssh_keys - run: name: Install packages - command: sudo apt-get install -y libpng-dev + command: sudo apt-get update && sudo apt-get install -y libpng-dev - run: name: Install nvm @@ -45,13 +45,10 @@ touch $BASH_ENV echo 'export NVM_DIR="$HOME/.nvm"' >> $BASH_ENV echo '[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"' >> $BASH_ENV - - run: - name: Install PHP extensions - command: sudo docker-php-ext-install gd - run: name: Configure PHP command: | - echo "memory_limit=-1" | sudo tee -a "/usr/local/etc/php/php.ini" + echo "sendmail_path=/bin/true" | sudo tee -a "/etc/php.d/circleci.ini" - run: name: Configure Git command: |