From fc444172250af6a54868a51320eec3a615bd473d Mon Sep 17 00:00:00 2001 From: Aidan Oldershaw Date: Wed, 9 Dec 2020 21:15:37 -0500 Subject: [PATCH] use composer image Signed-off-by: Aidan Oldershaw --- pipelines/php-larvel-app-testing.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/pipelines/php-larvel-app-testing.yml b/pipelines/php-larvel-app-testing.yml index db11c94..e3e93c2 100644 --- a/pipelines/php-larvel-app-testing.yml +++ b/pipelines/php-larvel-app-testing.yml @@ -17,7 +17,7 @@ jobs: platform: linux image_resource: type: registry-image - source: { repository: php, tag: 7.2-cli } + source: { repository: composer } inputs: - name: larvel-websockets-git run: @@ -25,21 +25,6 @@ jobs: args: - -c - | - set -e - - apt-get update - apt-get install -y git unzip wget - - EXPECTED_CHECKSUM="$(wget -q -O - https://composer.github.io/installer.sig)" - php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" - ACTUAL_CHECKSUM="$(php -r "echo hash_file('sha384', 'composer-setup.php');")" - - if [ "$EXPECTED_CHECKSUM" != "$ACTUAL_CHECKSUM" ] - then - >&2 echo 'ERROR: Invalid installer checksum' - rm composer-setup.php - exit 1 - fi cd larvel-websockets-git composer install