I have a Drupal project on the Bit-bucket Repository.
So there is a piplines.yml in the directory and showed bellow
# This is a sample build configuration for PHP.
# Check our guides at https://confluence.atlassian.com/x/e8YWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment.
image: php:7.3.10
pipelines:
default:
- step:
caches:
- composer
script:
- apt-get update && apt-get install -y unzip libfreetype6-dev libjpeg62-turbo-dev git
- docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/
- docker-php-ext-install -j$(nproc) gd
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- cd docroot
- composer install
- vendor/bin/phpcs --config-set installed_paths vendor/drupal/coder/coder_sniffer
- vendor/bin/phpcs -i
- vendor/bin/phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor modules/custom
- vendor/bin/phpcs --standard=DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md --ignore=node_modules,bower_components,vendor modules/custom
The issue comes up on composer install section, that shows this error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.