Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,9 @@ DRUPAL_TESTING_INSTALLATION_FORM_VALUES=${DRUPAL_TESTING_INSTALLATION_FORM_VALUE
# versions of dependencies are installed.
DRUPAL_TESTING_MIN_BUILD=${DRUPAL_TESTING_MIN_BUILD:-false}

# Use the lenient drupal packagist endpoint.
DRUPAL_TESTING_USE_LENIENT_ENDPOINT=${DRUPAL_TESTING_USE_LENIENT_ENDPOINT:-false}

# The symfony environment variable to ignore deprecations, for possible values see symfony documentation.
# The default value is "week" to ignore any deprecation notices.
export SYMFONY_DEPRECATIONS_HELPER=${SYMFONY_DEPRECATIONS_HELPER-weak}
Expand Down
3 changes: 3 additions & 0 deletions lib/stages/prepare_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ _stage_prepare_build() {
jq '.repositories[0].options.symlink = false' "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}""/composer.json" | awk 'BEGIN{RS="";getline<"-";print>ARGV[1]}' "${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}""/composer.json"

composer config repositories.1 composer https://asset-packagist.org --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
if [ "${DRUPAL_TESTING_USE_LENIENT_ENDPOINT}" = true ]; then
composer config repositories.lenient composer https://packages.drupal.org/lenient --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"
fi
composer config repositories.2 composer https://packages.drupal.org/8 --working-dir="${DRUPAL_TESTING_DRUPAL_INSTALLATION_DIRECTORY}"

# Enable patching
Expand Down