From b6a65d8aa3003ddac2b4ffddbaffca3dddb426d4 Mon Sep 17 00:00:00 2001 From: Janette Day Date: Thu, 5 Oct 2023 17:34:22 -0500 Subject: [PATCH] Add justinrainbow/json-schema to composer.json (#4034) * Add justinrainbow/json-schema to composer.json * COMPOSER_AUTH variable for ddev --------- Co-authored-by: Paul Mitchum --- .circleci/config.yml | 2 ++ composer.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index ec562e3358..613b1801e9 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -38,6 +38,7 @@ commands: type: string steps: - run: + # TODO: We might not need to do this. name: Set up composer config command: | mkdir ~/.composer @@ -50,6 +51,7 @@ commands: ddev --version ddev config --project-name test-$CIRCLE_WORKFLOW_JOB_ID --project-type drupal9 --docroot docroot --create-docroot ddev get https://github.com/GetDKAN/dkan-ddev-addon/archive/refs/heads/<< parameters.addon_branch >>.tar.gz + bash -c 'echo COMPOSER_AUTH=$COMPOSER_AUTH' > .ddev/.env # Modify config to use our PHP version. sed -i 's/^php_version.*$/php_version: "<< parameters.php_version >>"/' .ddev/config.dkan.yaml ddev restart diff --git a/composer.json b/composer.json index 6caa1fd085..11f6bca2bd 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "getdkan/rooted-json-data": "^0.1", "guzzlehttp/guzzle" : "^6.5.8 || ^7.4.5", "ilbee/csv-response": "^1.1.1", + "justinrainbow/json-schema": "^5.2", "m1x0n/opis-json-schema-error-presenter": "^0.5.3", "fylax/forceutf8": "~3.0", "npm-asset/select2": "^4.0",